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.

[TDA4]question about C7x Streaming Engine and TI-rtos.

hi,

   Does the C7x SE support interrupt reentrant?

   I means, a INTERRUPT or higher TASK ready happens while TASK1 running, does RTOS will save the status of SE before switch to the INTERRUPT or TASK? 

   We want create mult-TASKs, and support dynamic switch, so we want to confirm RTOS can support restore the SE status after task switch.

thanks

  • Yes this feature is supported. When a high priority interrupt occurs and there is a task switch, the default interrupt handler saves a number of registers including saving of SE context registers. Once the interrupt is serviced the handler restores the state as-is. But the SE will incur a refill penalty as the SE FIFO will have to be replenished. This penalty could be 16-18 cycles everytime there is a save/restore of SE.


    Regards,
    Shyam