Hi,
I need to measure the delay between two repeating signals with a +-100us accuracy. The frequency is 60Hz, 50% duty cycle and the delay between the two signals can be between 0 - 5ms. The signal amplitude is 3.3V.
Is it possible to do this using the MCPWM, RMT or any other HW function in the ESP32?
Measure delay between two signals
Re: Measure delay between two signals
One idea could be to XOR the two signals to get one signal with twice the frequency where the pulse width will correspond to the delay.
If it would be simpler to measure the pulse width using some functionality in the ESP32.
If it would be simpler to measure the pulse width using some functionality in the ESP32.
Who is online
Users browsing this forum: JimNickerson and 33 guests