ESP32 pulse counter speed (max frequency)
Posted: Sun Sep 02, 2018 6:48 pm
Hello,
one of my project-dreams is a GPS‑disciplined oscillator using a si5351 chip. GPS-disciplined means that the output frequency from the oscillator is measured by a frequency counter using the high precise 1Hz output from a GPS-receiver while the microcontroller is doing the correction. The idea is already implemented on an ATmega328 microcontroller by qrp-labs (see circuit diagram, the SI5351-clk2 is connected to the AVR-PD5 for counting). In contrast to this I want to use an esp32, more precisely an esp-wroom-32, an ublox gps-module and a si5321 breakout board.
The question is, is this generally possible regarding the esp32 pulse counter capabilities? The ATmega328 has a pcnt with a max input frequency of 8 MHz and the used oscillator frequency is nearby. In the esp32-wroom-32_datasheet I can only find the information that there is a counter (I searched for 'counter'). In the esp32 pcnt-example only a 1Hz Signal is handled. That is why I suspect that the esp32 possibly cant`t handle 'high' frequencies.
Does anybody knows the max input frequency of the esp32 pulse counter feature ?
Thank you for information
friendly regards
one of my project-dreams is a GPS‑disciplined oscillator using a si5351 chip. GPS-disciplined means that the output frequency from the oscillator is measured by a frequency counter using the high precise 1Hz output from a GPS-receiver while the microcontroller is doing the correction. The idea is already implemented on an ATmega328 microcontroller by qrp-labs (see circuit diagram, the SI5351-clk2 is connected to the AVR-PD5 for counting). In contrast to this I want to use an esp32, more precisely an esp-wroom-32, an ublox gps-module and a si5321 breakout board.
The question is, is this generally possible regarding the esp32 pulse counter capabilities? The ATmega328 has a pcnt with a max input frequency of 8 MHz and the used oscillator frequency is nearby. In the esp32-wroom-32_datasheet I can only find the information that there is a counter (I searched for 'counter'). In the esp32 pcnt-example only a 1Hz Signal is handled. That is why I suspect that the esp32 possibly cant`t handle 'high' frequencies.
Does anybody knows the max input frequency of the esp32 pulse counter feature ?
Thank you for information
friendly regards