Search found 5 matches
- Fri May 05, 2023 11:02 am
- Forum: ESP32 Arduino
- Topic: esp32c3 timer registers
- Replies: 3
- Views: 2054
Re: esp32c3 timer registers
I think that after an interrupt occurs, the timer value is not reset to 0, but the alarm value will simply increase, and I really don't like this work logic. tried to manually reset the value to 0 through the registers, and then set the new value, but it did not work.
- Fri May 05, 2023 8:01 am
- Forum: ESP32 Arduino
- Topic: esp32c3 timer registers
- Replies: 3
- Views: 2054
esp32c3 timer registers
Hello! I want to create a project where I need to use timer 0 to count an unlimited number of bars (time) and vice versa to count down a certain amount of time with a interupt at the end. these regimes must change quite quickly and often.
tried to do it through the idf function, but it didn't work ...
tried to do it through the idf function, but it didn't work ...
- Sat Jul 17, 2021 12:07 pm
- Forum: ESP32 Arduino
- Topic: PCNT (Pulse Counter) example (arduino ide)
- Replies: 5
- Views: 16141
PCNT (Pulse Counter) example (arduino ide)
Hi. I need to count high frequency pulses. On the internet i found that the esp32 has such a thing as PCNT (Pulse Counter)
even found its description but nowhere can find an example that could ideally output the number of pulses per second in compor. Please help )
even found its description but nowhere can find an example that could ideally output the number of pulses per second in compor. Please help )
- Sat May 29, 2021 9:00 pm
- Forum: General Discussion
- Topic: fast pulse counter esp32
- Replies: 2
- Views: 3730
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 ...
- Fri May 28, 2021 9:30 am
- Forum: General Discussion
- Topic: fast pulse counter esp32
- Replies: 2
- Views: 3730
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 ?