cancel
Showing results for 
Search instead for 
Did you mean: 

TIM2 with encoder interface

acuransx_pj1
Associate II
Posted on August 18, 2009 at 02:30

TIM2 with encoder interface

1 REPLY 1
acuransx_pj1
Associate II
Posted on May 17, 2011 at 13:20

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.