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.

TMS320F28376S: Switch Interrupt Source within ISR

Part Number: TMS320F28376S


Dear Sir ,

1. We are developing controller based on 28376S

2. The Software has two components   , main loop  and ISR  based on XINT2

3. in some case  we need to replace the source of interrupt (instead  of XINT2  to be EPWM_INT)

    the Switch itself should happen inside the ISR  , but issue as i understand that the C28X  does  context save and restore  (when entering and exiting the ISR)

    so if i would like to Update IER  inside ISR  it will be overwrite once exiting ISR  (context restore)  , is there work around it ?