This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ISR Question

I am trying to generate an interrupt when Timer2 overflows. I cannot get the application to jump to my Timer2 ISR if I have serial interrupts enabled, though. I make sure to clear my RI and TI bits in my serial ISR.

Is there anything else I'm overlooking?

Thanks,

Paul

Parents
  • Erik,

    Thanks for the quick response.

    Everything works when ES1 = 0 and I'm using Timer1 for UART baud generation. My Timer2 ISR just sets a flag that is checked by the main thread which then starts the ADC to get my voltage reading. Nothing too complicated. No printf's in either ISR's.

    Paul

Reply
  • Erik,

    Thanks for the quick response.

    Everything works when ES1 = 0 and I'm using Timer1 for UART baud generation. My Timer2 ISR just sets a flag that is checked by the main thread which then starts the ADC to get my voltage reading. Nothing too complicated. No printf's in either ISR's.

    Paul

Children