Encoder Counter be decreased in sometimes when is the motor running in one direction?
When I used Encoder Mode on TIM2, I have set the motor to runs in one direction, so data in the CNT register must be increase. but it seems to be decreased in sometimes.So anyone can explain to me about it?I'm using encoder mode TI1&TI2, Counter Mode...