Posted on March 06, 2015 at 17:13Hello Marco At the end of the timer initialization procedure, an update event is sent. So an Update IT is pending. I would suggest you to clear the Timer status register before calling HAL_TIM_Base_Start_IT (...) ho...
Posted on February 25, 2015 at 16:06
Hello Andrei
just a comment,
Did you enable the UPDATE IT by using either :
__HAL_TIM_ENABLE_IT(&htim1, TIM_IT_UPDATE);
or HAL_TIM_Base_Start_IT(&htim1);
on top of the input ca...
Posted on September 17, 2014 at 10:17Hi the ''HAL_TIM_PWM_start(..) '' command I see in your main.c is only dedicated to the ''positive channel''. To use the complementary channel , and consequently to set the CCxNE bit of CCER register , another ...
Posted on March 13, 2014 at 11:36hello, In your specific case , as the encoder uses CH1 and CH2 inputs ,you should let both TIM5 Channel 1 and Channel 2 as ''Disabled'' and use another channel for the input capture fonction you would need. regards