problem of high-frequency GPIO interrupt

Cannon Wang
Posts: 2
Joined: Thu Oct 12, 2017 10:42 am

problem of high-frequency GPIO interrupt

Postby Cannon Wang » Mon Jan 22, 2018 2:39 am

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。

ESP_Sprite
Posts: 9761
Joined: Thu Nov 26, 2015 4:08 am

Re: problem of high-frequency GPIO interrupt

Postby ESP_Sprite » Mon Jan 22, 2018 2:47 am

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.

Who is online

Users browsing this forum: No registered users and 108 guests