STM32F401C TIM2 Interrupt
Hello,
I try to use a TIM2 Interrupt to toggle a LED. I use a STM32F401C controller.
If I toggle the LED inside the while loop with delay, it works fine.
while (1)
{
HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_15);
HAL_Delay(1000);
}
But there is no interrupt for TIM2.
I attached the CubeMX ioc file. Have I forgotten something to parmatrize?
