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.

CCS/TMS570LS1224: SVC and IRQ Interrupts

Part Number: TMS570LS1224

Tool/software: Code Composer Studio

One last question for today...

Is there any way to prevent the Cortex-R4 from executing a Supervisor Call (SVC) exception if the processor is already executing an IRQ interrupt? What I'd like to happen is to let an IRQ handler execute an SVC instruction, but prevent the SVC handler from running until the IRQ handler finishes. Like the way PendSV works on a Cortex-M...

Thanks

  • Hello Jerry,

    SVC is a SW interrupt and is triggered from executing instructions by user. When your code enters an IRQ interrupt routine, the IRQ interrupt is disabled automatically. If the SVC routine is not called in your FIQ routines (which has higher priority than IRQ), your code will not jump into the SVC routine from the running IRQ routine. This is my understanding.