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.
Dear,
This file TMS320F2833x and TMS320F2823x DSC Silicon Errata has the following description:
Revision(s) Affected 0, A
Details
The XINTF module may not get reset properly upon power up. When this happens,
accesses to XINTF addresses may cause the CPU to hang. This issue occurs only upon
power up. It does not happen for other resets such as a reset initiated by the watchdog
or an external (warm) reset using the XRS pin.
Workaround(s)
After coming out of reset, software should force a watchdog (WD) reset if WDFLAG = 0
in the WDCR register. WDFLAG = 0 implies that an external reset occurred, for example,
a power-on reset. After exiting the WD reset, WDFLAG will be 1. In this case, software
should clear the WDFLAG bit before continuing normal code execution. This issue
affects only the XINTF module
I encountered this problem, what should I add the code to avoid this problem.
Can you give me a specific code?
Hi,
You can insert this code in your application before using the XINTF.
If ((SysCtrlRegs.WDCR & 0x80) != 0x80)
{
EALLOW;
SysCtrlRegs.WDCR = 0x0028; // Enable WD
SysCtrlRegs.WDCR = 0x0000; // Issue WD Reset.
EDIS;
}
Regards,
Vivek Singh