I did that a long time ago.  So have several others.  See

   $ find . -name "*qencoder*"
   boards/arm/stm32/common/include/board_qencoder.h
   boards/arm/stm32/common/src/stm32_qencoder.c
   boards/arm/stm32l4/nucleo-l432kc/src/stm32_qencoder.c
   boards/arm/stm32l4/nucleo-l476rg/src/stm32_qencoder.c

I don't see any defconfigs with the quadrature encoded enabled, however.

See also apps/examples/qencoder


On 2/20/2021 1:59 PM, disruptivesolution...@gmail.com wrote:
Hi all,

I have a Honywell Quadrature Encoder: 
http://www.farnell.com/datasheets/2329419.pdf

The LM7366R seems tob e an option, but this chip is hard to obtain and is old 
(so it seems).

Would it be possible to get this encoder to work with say an STM32? (32-bit 
timer I think)?

I want to read the speed (rpm) and direction (phase shift).

Did anyone did such a thing?

Thank you in advance and with kind regards,
Ben

Reply via email to