4 ms·
Many, many cheap MCUs have peripherals that can decode quadrature in hardware. E.g, PCNT on ESP32, timer modes on STM32 etc. Might as well use PIO to implement
by 05 2y ago
Many, many cheap MCUs have peripherals that can decode quadrature in hardware. E.g, PCNT on ESP32, timer modes on STM32 etc. Might as well use PIO to implement I2C or UART :)
- fest 2y ago> Might as well use PIO to implement I2C or UART :) PIO actually came in handy for me when interfacing with an x-ray sensor which had 12 or 14 bits long UART data frame- not many micros have such a flexibility in their UART peripherals.
- moffkalast 2y ago> PCNT on ESP32 Damn TIL, never heard of that. I'll have to try it, thanks!