The RP2040 PWM peripheral can count high-speed positive-going or negative-going edges, so long as the signal is on a 'B' channel, i.e. an odd I/O pin number.
See this project https://iosoft.blog/picofreq for C code, or https://iosoft.blog/picofreq_python for Python code.
See this project https://iosoft.blog/picofreq for C code, or https://iosoft.blog/picofreq_python for Python code.
Statistics: Posted by jayben — Tue Jul 02, 2024 11:57 am