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

Interrupt switching during Late Arrival- CortexM3

In Cortex-M3 manual, it is mentioned that during Late Arrival, when low-priority interrupt (LP) has already pushed 8 registers to Stack and high-priority interrupt (HP)occurs then, for (HP), we don't need to do any state saving. What does it mean by "no additional state saving"? 

Does it mean that the Stack saved for LP is going to work for HP as well? If yes, how the HP will get to know that where it has to return after servicing the interrupt because Link Register that is stored for LP will cause the switching from Handler Mode to Thread mode but we actually want the switching from Handler mode to Handler mode and for this, we need to have new LR specifically saved when HP is about to get executed.

Thanks

Vartika