fast pulse counter esp32
fast pulse counter esp32
Hello everybody.) need count the pulses. The pulse itself lasts about 0.1 - 0.01 uS, and their number can reach 10,000,000,000 in 1 second (usually no more 100) . attachInterrupt not suitable because the entrance to the Interrupt takes 1.6 uS. Сan recommend what can be used for this ?
-
- Posts: 20
- Joined: Thu Nov 02, 2017 12:40 am
Re: fast pulse counter esp32
Did you mean the maximum number of pulses/sec is 10,000,000 (10 million) because that would be the max based on the 0.01uS pulse you stated. I have read in this forum that the maximum frequency of the pulse counter function is 40 Mhz. You can than configure the pulse counter to generate an interrupt after so many counts (2^16 max) so then you would have time to service the interrupt if that would work for your application.
Re: fast pulse counter esp32
yes, sorry i was wrong ). can you drop the link his topic ?mgsecord62 wrote: ↑Fri May 28, 2021 7:01 pmDid you mean the maximum number of pulses/sec is 10,000,000 (10 million) because that would be the max based on the 0.01uS pulse you stated. I have read in this forum that the maximum frequency of the pulse counter function is 40 Mhz. You can than configure the pulse counter to generate an interrupt after so many counts (2^16 max) so then you would have time to service the interrupt if that would work for your application.
Who is online
Users browsing this forum: Baidu [Spider] and 161 guests