Resolved! STM32G4 TIM1 CC (Capture/Compare) Interrupt happened immediately when it is enabled. How to prevent this from happening?
Hi,I am using STM32G474 Nucleo board and try to use TIM1_CC_IRQHandler. I am using TIM1_UP_TIM16_IRQHandler to check certain conditions and then I'll enable the CC1IE bit in TIM1->DIER register.I configured TIM1 as Center-aligned PWM mode.However, I ...