On Sat, Feb 18, 2023 at 9:53 PM Alan C. Assis wrote: > Hi Tomek, > Please take a look: > https://github.com/apache/nuttx/blob/master/arch/xtensa/src/esp32/esp32_qencoder.c > > It was tested with common rotary encoders (i.e. those used on 3D > Printers to select items on UI menu). > > I didn't test it at high frequencies, but according with this thread > https://esp32.com/viewtopic.php?t=7011 it could work up to 40MHz (APB > Freq / 2) if you disable the input filter.
Thank you Alan!! Looks what I exactly need! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info