I am modifing the ILVL of PSW within an ISR (level 15) to reduce the CPU priority (level 10) in order to allow other ISRs to interrupt the current function after the most time-critical part is over.
The ISR is using a separate RegisterBank (declared with the "using" attribute). It seems that due to the seperate RegisterBank no other ISR is able to interrupt the function after PSW is modified accordingly.
I did not expect this behaviour (not an expert). Is it correct or do I have to take care for additional things to make this mechanism work?
This sounds like an odd thing to do.
You're right. Triggering the lower-priority interrupt at the end of the higher-priority ISR is the better solution and it is the one I am using now. All the problems I had seem to be gone now.
Thanks a lot for your support!