Relative Content

Tag Archive for stm32stm32f4discoverystm32cubeide

STM32 TIM1 Update Event in Center-Aligned Mode 3 Triggering at Both ARR and Zero Values

I’m facing an issue with the update event triggering in STM32 TIM1. I’ve configured TIM1 to generate PWM signals and set the update event to Center-Aligned Mode 3. However, I’ve noticed that the update event is occurring both when the timer’s counter reaches the auto-reload value (ARR) and when it reaches zero. This is causing a problem because I specifically need the update event to occur only at ARR to trigger the ADC for sampling.