Page 1 of 1

problem of high-frequency GPIO interrupt

Posted: Mon Jan 22, 2018 2:39 am
by Cannon Wang
hi,
I am using an external ADC for data acquisition, the sample rate is 1000 sps. I need to handle the external interrupt events every 1ms, while the FreeRTOS can not respond promptly(actually every 7 ms a time)。I am trying to use the other core(app core) to handle these interrupts ,but it still not work (every 4 ms a time). i would be greatly appreciated if you give me some advice.
Thanks for your attention to my question。

Re: problem of high-frequency GPIO interrupt

Posted: Mon Jan 22, 2018 2:47 am
by ESP_Sprite
How did you set this up in your code, and how did you measure these times? Interrupts on the ESP32 can be somewhat slow in comparison to bare-bones systems, but 4 or 7 milliseconds is way more than I'd expect; normally response is in the order of a few microseconds.