Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AIROC™ Bluetooth Forum Discussions

JiZh_4619191
Level 4
Level 4
25 replies posted 25 sign-ins 10 replies posted

Hi,

I configured a cyw20719b2 pin to falling edge interrupt, and found that the interrupt response time is 59 microseconds.

Is there and method to make the interrupt response time as short as possible?

 

Best regards,

Jian

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

The mcu uses event callback to handle the interrupt. It is normal for your test as the GPIO may also take some time. 

View solution in original post

0 Likes
3 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

How did you test the response time?

What do you use the interrupt for?

0 Likes

Hi,

1) At the beginning of Interrupt Service Routine(ISR), a wiced_hal_gpio_set_pin_output() set a GPIO high, at the end of ISR, a wiced_hal_gpio_set_pin_output() set the same GPIO low. And read the response time from a oscilloscope.

2)I would like to receive data from a peripheral chip.

0 Likes
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

The mcu uses event callback to handle the interrupt. It is normal for your test as the GPIO may also take some time. 

0 Likes