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
  • if I have serial interrupts enabled
    I assume this means that it works when you do not enable the UART ints.

    1) you do not happen to use T2 for the UART
    2) is your serial ISR huge?
    3) if you have printf's in an ISR get rid of them

    Erik

Reply
  • if I have serial interrupts enabled
    I assume this means that it works when you do not enable the UART ints.

    1) you do not happen to use T2 for the UART
    2) is your serial ISR huge?
    3) if you have printf's in an ISR get rid of them

    Erik

Children