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.

TMS320F28377D: Differentiating between POR and XRSn reset

Part Number: TMS320F28377D


Hi,

I'm trying to determine the cause of the processor reset on boot up, the obvious place to start is the RESC register - it has bits indicating the cause of the reset.  However, the documentation (TRM) states:

2.3.2. External Reset

The XRSn bit in the RESC register will be set whenever XRS is driven low for any reason. This bit is then
cleared by the boot ROM.

2.3.3. Power-On Reset

After a POR, the POR and XRSn bits in RESC are set. These bits are then cleared by the boot ROM.

So at boot up, POR and XRSn are always 0.  Therefore, how can I differentiate between a POR and a XRS driven reset?

Thanks,

Richard.