AnsweredAssumed Answered

TIM3 problem in stm32 cube HAL library

Question asked by yafis.mohamed on Nov 30, 2015
Latest reply on Dec 1, 2015 by Clive One
Hello.
I am using STM32F0xx with stm32cube lib as the dev platform. 
My application requires TIM3 peripheral. I am using __HAL_TIM_SET_COUNTER to set the cnt value at runtime. I need the timer count value for some calculation and i re-set it using the above macro every fixed interval. What i am observing is when set the counter value, stop the timer and restart it. It doesnt report interrupts. 
What is the correct procedure to set the counter value while the timer is running??

Outcomes