Resolved! STM32G4 Interrupt not working. The program always run default handler.
The code is generated by CubeMX. And every time program run into HAL_TIM_Base_Start_IT() like the figure below, the system will block in Default Handler. However, the TIM2_IRQHandler is defined in stm32g4xx_it.c. Does anyone have idea why it doesn't ...