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.
Hi champs,
When illegal instruction(ITRAP) happens, can C28x continue executing the code in other ISRs?
For example, enable nesting interrupt so that C28x continue uses Timer and SCI interrupts reporting error status to external host device?
Regards,
Luke
Hi Luke,
Thanks for your question. Please refer to the "TMS320C28x CPU and Instruction Set" guide, which provides details on how the ITRAP can be handled.
Essentially, it's treated like a TRAP #19 instruction, so you can create an ISR for it to do as you wish (for example, return to the original code).
Regards,
Vince
Hi Luke,
Also, for nesting, see here:
https://software-dl.ti.com/C2000/docs/c28x_interrupt_nesting/html/index.html
Regards,
Vince