Hi,
I wonder what is the best solution to judge if the motor is at zero speed? There are two aspects of it: 1, when the motor stops; 2, when the motor starts. I am using the capture unit in the timer for low speed calculation (clock*scaler/latched period) on a polling base. can i get better result by using any interrupt? given the fact that the encoder I have only has two lines A and B, there is no index bit.
Thanks
Leong