We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am facing a problem that while executing a serial receive interrupt my program needs to service a timer0 interrupt. The program is not jumping to the timer0 isr till the uart isr is fully complete even an overflow is generated and interrupt has been enabled ??
are you aware of the possible implications of allowing nested interrupts?
I'm sure OP is going to ask about them when (not if) problems arise. But first things first. :)
Another solution to the original problem could be, of course, to make the serial receive ISR short enough that is does not cause the timer0 ISR to starve. Keep ISRs short and simple, as Erik would say.
.... not realizing that the 'priority' associated with "interrupt number" ONLY apply if the interrupts happen in the same cycle. the ONLY way to interrupt an interrupt is to have different IP priorities.
Erik