AnsweredAssumed Answered

TIM3 timer period

Question asked by asecen on May 21, 2014
Latest reply on May 23, 2014 by asecen
Hi,

I use STM32F427 chip. In my application, I am generating a 25.6 kHz signal using an external signal with 9.984 MHz. In order to do so, the calculation for timer period should be as follows; (9.984MHz / 25.6kHz) - 1 = 389. However, in the application the microcontroller generates the 25.6 kHz when I set the timer period to 390. I am confused by that, shouldn't I subtract 1 by 390 to obtain the timer period? 

Thanks

Outcomes