cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_TIM_PeriodElapsedCallBack Doesn't works.

NIvez
Associate

Hello,

I upgraded cube on version 1.5.3 and function HAL_TIM_PeriodElapsedCallBack stopped working.

I found out that program never goes trough function HAL_TIM_PeriodElapsedCallBack .

I think that the problem is in initialization , because you need to enable timer interrupt:

__HAL_TIM_ENABLE_IT(&htim4, TIM_IT_UPDATE);

HAL_TIM_IC_Start_IT(&htim4, TIM_CHANNEL_1);

Best regards, Niko

0690X000009Z8GoQAK.png0690X000009Z8GjQAK.png0690X000009Z8GZQA0.png

0690X000009Z8GeQAK.png

0 REPLIES 0