AnsweredAssumed Answered

TIM2 Upcounting Count Restart Issue

Question asked by jones.jim.002 on May 2, 2018
Latest reply on May 4, 2018 by jones.jim.002

The TIM2 timer on an STM32F0 seems to not be resetting to 0 once the counter reaches the ARR value on occasion. I am periodically changing the ARR value, but the values are all in a small range. After a random amount of cycles, the counter will increment beyond that range without triggering an update event, resetting the counter back to 0. I have tried this with and without TIM_CR1_URS set. TIM_CR1_UDIS bit is in the reset state. Anyone else run into this problem?

Outcomes