Skip to main content
NIvez
Visitor II
July 26, 2019
Question

HAL_TIM_PeriodElapsedCallBack Doesn't works.

  • July 26, 2019
  • 0 replies
  • 1209 views

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

This topic has been closed for replies.