2009-08-17 05:30 PM
TIM2 with encoder interface
2011-05-17 04:20 AM
I configured TIM2 by using encoder interface mode. I want the counter to count the encoder signal of the quadrature encoder. After I finished initialize everything I tried to debug and found that it cannot count the signal more than 65535 in both of direction of motor rotation (because the clock of TIM is 16 bits) So I want to know how to modify the code if I want a counter to count more than 65535 in both direction of motor rotation. Who know explain step by step for me please... I'm a rookie ...Thank for all answers.