diff options
Diffstat (limited to 'chip/g/sps.c')
-rw-r--r-- | chip/g/sps.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chip/g/sps.c b/chip/g/sps.c index 5fd6735dd8..7f8b81de9b 100644 --- a/chip/g/sps.c +++ b/chip/g/sps.c @@ -344,6 +344,16 @@ static void sps_rx_interrupt(uint32_t port, int cs_deasserted) * completed. */ gpio_set_level(GPIO_INT_AP_L, 0); + + /* + * This is to meet the AP requirement of minimum 4 usec + * duration of INT_AP_L assertion. + * + * TODO(b/130515803): Ideally, this should be improved + * to support any duration requirement in future. + */ + tick_delay(2); + gpio_set_level(GPIO_INT_AP_L, 1); seen_data = 0; } |