2008-12-05 07:07 PM
Encoder modes
2011-05-17 03:55 AM
Hi,
I am starting a new motor control design that needs to read an encoder in full quadrature mode (4X mode, where count changes on both transitions of channel A and B). I would like to know if this is possible and if there is example code (preferably in C) that shows how to configure the timer and read the count. It would be great to have more encoder related functions added to future version of firmware library. Sam2011-05-17 03:55 AM
Hi,
There is info you are looking for http://www.st.com/mcu/forums-cat-7460-23.html2011-05-17 03:55 AM
Hi,
Thanks for the reply. However, discussion in that thread is hard to follow. I would like to see a simple example of how to set up advanced timer for quadrature encoder mode and then use it to keep track of a 32 bit counter. Sam