I am trying to use Timer Output Compare on STM32F746NG with the following code:void TIM1_CC_IRQHandler(void)
{
volatile uint32_t a = TIM1->CNT;
printf("DUMMY\r\n");
}
void timer_start(void)
{
TIM_HandleTypeDef htim1;
TIM_OC_InitTypeDef tim1...
Thank you jan for passing the reference. Probably a bad choice, but I used the printf as a sample instruction to hold as a breakpoint and to observe the value of the variable through the Debugger . This was a simplified code I wrote out to demonstr...
The timer over flows and runs continuously. This code that I have presented here was simplified to reproduce the problem. The original code has the required instructions to clear the interrupt flags. Still the problem repeats.