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
My Timer2 ISR ..... 2) is your serial ISR huge?
also, what happens if you set the T2 int to high priority? NOTE: this will NOT be "the cure" it is a diagnostic measure.
Erik
Sorry I miss read your reply. No my serial ISR is not huge. It just reads the SBUF1 into a char array buffer and clears the RI pin. My main loop then deals with the data.
Everything does work when T2 is set to high priority. Ideas?
with the information you have provided, the problem can not possibly exist. Thus something must be missing.
I guess you will have to post your code (no tabs and see above "place source ......")