cancel
Showing results for 
Search instead for 
Did you mean: 

..

Jessy J
Associate II

..

11 REPLIES 11
Artur IWANICKI
ST Employee
Posted on June 08, 2018 at 10:32

May I ask you for a part of the code with TIM14 initialization (done by STM32CubeMX) and activation (should be done by you in your code), please?

Artur IWANICKI
ST Employee
Posted on June 08, 2018 at 10:50

Your times is not started. To start it in your configuration you should use HAL_TIM_OC_Start_IT(&htim14, TIM_CHANNEL_1). Good place for it is /* User Code Begin 2 */. Additionally I see you have configured 0 in the pulse field of TIM14 (the value to which the timer will compare its current counter value).