ESP32 counter divider 10
Posted: Fri Jan 17, 2025 7:34 pm
I need to divide the input frequency by 10. I don't want to use multiple SN74LS93 enclosures.
I set the input frequency to pin 0. The measured frequency is 50 MHz. To increase the input frequency measurement, I need to make a divider by 10. The output frequency to pin 1 - output frequency = (50/10) = 5 MHz. How can I make a divider by 10 using the timer of the ESP32 chip?
Please provide an example of the code for setting the timer for the Arduino Ide.
https://docs.espressif.com/projects/esp ... _get_timev
I set the input frequency to pin 0. The measured frequency is 50 MHz. To increase the input frequency measurement, I need to make a divider by 10. The output frequency to pin 1 - output frequency = (50/10) = 5 MHz. How can I make a divider by 10 using the timer of the ESP32 chip?
Please provide an example of the code for setting the timer for the Arduino Ide.
https://docs.espressif.com/projects/esp ... _get_timev