Question
STM32H743zit6 After the timing interrupt is enabled, the interrupt callback function is executed repeatedly, and other programs cannot be executed?

- CUBEMX Settings as above:
- The callback function is as follows:
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
{
if(htim->Instance == TIM2)
{
LL_GPIO_TogglePin(CLK_GPIO_Port,CLK_Pin);
}
}- The call code is as follows:
USB_printf("1");
HAL_TIM_Base_Start_IT(&htim2);
USB_printf("2");- The result is shown below:
After receiving 1, the serial assistant no longer receives it and has no reaction when stuck, the pin turns over normally, and the callback function executes normally.