Yes, the PWM peripheral can act as a pulse counter, which can be used with DMA to get very accurate frequency measurement, in pulse-counting or pulse-timing (reciprocal) mode.
See https://iosoft.blog/picofreq_python/ for details and MicroPython code.
See https://iosoft.blog/picofreq_python/ for details and MicroPython code.
Statistics: Posted by jayben — Sun Feb 25, 2024 11:06 am