Part Number: TMS320F28P650DK
Tool/software:
Hi Exerpts,
My customer is using F28P65 SCI-A with interrupt (group 9), when they do over-night tests, there are chances that the CPU does not enter the SCI-A interrupts any more. The chances of this issue is very low, it may took 2 days to reproduce.
When the device is in error state, we checked the relevant registers, we found that.
- Interrupt are enabled properly, including IER, PIEIER9, pheripheral interrupt enable.
- SCI-A Interrupt flag is set.
- PIEIFR9.1 is set (Let's focus on this interrupt only)
- IFR9 is not set
- PIEACK9 is set
- CPU (CPU2 is concerned) running in background.
This indicates that the signal propagation from PIEIFR9.1 to IFR9 is blocked due to PIEACK9 is set.

We then tried resetting SCI-A by software, but it SCI communication is not restored.
After that, we cleared the PIEACK9, and the communication has restored (the interrupt can be entered properly)
It seems that it;s PIEACK9 is set out of the interrupt unexpectedly that causes this issue.
We checked the ISR, it goes like:
ISR(){
EINT; // Yes they uses nesting
DoSomething();
Clear_SCIA_InterruptFlag();
Clear_ACK(Group9);
DINT;
}
Any idea in what circumstances that PIEACK9 would be set out of the interrupt?
Regards,
Hang

