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。
problem of high-frequency GPIO interrupt
-
- Posts: 9761
- Joined: Thu Nov 26, 2015 4:08 am
Re: problem of high-frequency GPIO interrupt
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: Bing [Bot], Google [Bot] and 105 guests