Associate III
August 5, 2019
Question
Timer IT fires directly after initialization
- August 5, 2019
- 5 replies
- 2309 views
STM32F030, CubeIDE generated skeleton, TIM14 is at LL.
After running MX_TIM14_Init() , TIM14_IRQHandler immediately invoked. I put a breakpoint into TIM14 IT routine, start debug, then F6 step from the beginning of main(). Please see attached video. I inserted two lines to disable timer update interrupt and clear the UPDATE flag into "USER CODE BEGIN SysInit" block while strugling...still IT fired.
And it is before reaching "LL_TIM_EnableCounter(TIM14);"