Prescaler Value for the Timer in Encoder mode
Posted on September 29, 2016 at 16:42I am using TIM4 of STM32F767 in Encoder mode. The period is set to 1000. The CNT value changes as follows: 0->1000->1->1000->0 and so on. On monitoring the DIR bit, I found that it keeps oscillating between 0 and...