Question
TIMER INTERRUPT ISSUE
Posted on September 28, 2013 at 12:45
Hello,
I am trying to make a timer interrupt routine, which executes every 0.25us. The problem I am facing that the code length in the routine changes the duration for example running an instruction at 72MHz, the next time the routine execute is 0.35us. It seems the the timer starts counting after returning from the IRQ routine, instead of running just after overflow. I am using Auto-Reload register with value 18. Tell me what I am missing.Regards. #timer2 #keil #stm32f303