Why TIMER takes time to start up?
Hi,
I have a F439ZI where i have set a simple timer (TIM10) to raise the the HAL_TIM_PeriodElapsedCallback every 1 millisecond.
The Bus APB2 for timers runs at 168 MHz so i set in the configuration 168 in the prescaler (result is 1Mhz) and the i set 1000 in the counter period.
In fact he callback is fired every millisecond as expected. Problem is that it takes around 6 seconds to fire for the first time.
Any idea why?
Thanks a in advance,
Filo
