Resolved! unexpected register change TIM1->DIER / interrupt enable flag
Controller: STM32G431VBT6Compiler: arm-none-eabi-gcc version 12.2.1Libraries: CMSISI use STM32G431VBT6 for a sensorless BLDC motor control with zero-cross detection.TIM1 is used for PWM outputs. See below part of the code. RCC->APB2ENR |= RCC_APB2ENR...