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.

TMS320F28388D: Delay in responding to NMI Interrupt

Part Number: TMS320F28388D


Hi Team,

I am working on NMI Interrupts. In my program the NMI Interrupt is enabled 'NmiIntruptRegs.NMICFG.bit.NMIE = 1;'. When an NMI occurs, I see the corresponding flag and NMIINT flag is set in NmiIntruptRegs.NMIFLG register. When these flags are set the 'NmiIntruptRegs.NMIWDCNT' is 0 but by the time we service these ISR i.e. the ISR function is called, NmiIntruptRegs.NMIWDCNT is some number greater than 15 but less than NmiIntruptRegs.NMIWDPRD.

Basically, I am observing some delay between the flags being set and then ISR called. Couple of statements in the main function are executed before the ISR is invoked.

Is this delay expected? NMI has priority '3' which is more than any other PIE Interrupt group.

Kind regards,

Irene