This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SWI activated from HWI in DSP BIOS

Hello,

I want to activate some code in HWI, but it is a little big for an interrupt, so I am posting a software interrupt instead, and run the code in software interrupt.

The problem is that I thought that SWI will be activated at the completion of HWI, since HWI have a higher priority, instead the interrupt is preempted, and the code runs in SWI, then returns to HWI, and only then exits the HWI interrupt.

Is it ok to do it like this? I mean, can other hardware interrupts pop, while one HWI are being preempted by SWI? If not, how can I cause SWI to be activated at the exit from HWI?

 

Regards

Arye