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.
I am using SWI_post(&SWI_Interrupt1) inside HWI (Hardware Interrupt), The SWI_interrupt is being ignored whenever HWI is being processed. can anyone please suggest the region behind this?
Regards,
Prem
I'm not sure I follow you. You're in the HWI and you post a SWI. The SWI will not run until you exit the HWI because HWI's have higher priority than SWIs. Are you saying the SWI never runs?
Regards,
David
Hi David,
Thanks for your reply!, ya it's true.... SWI runs just in beginning execution for code, after couple of execution SWI does not run at all.
Even all the SWIs does not run at all after couple of execution.
Best Regards,
Prem
Prem,
No way for me to know for sure what is wrong from where I sit. Sounds like the DSP/BIOS kernel is crashing or something. Maybe you don't have the HWI setup properly for DSP/BIOS (you need remove the interrupt keyword from the ISR declaration and use the BIOS dispatcher if you are making BIOS calls from your HWI).
Suggest looking at the code in SPRA958:
There are basic DSP/BIOS code examples there that are all setup and work correctly.
Regards,
David