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.

TMS570LC4357: Clearing ESM Group 2 Error and nERROR after Test

Part Number: TMS570LC4357

Hello Hercules Support-Team,

According to the documentation there are tests, that trigger the ESM and consequently the nERROR Pin. As fas as I understand it is possible to clear the detected Error by SW, by clearing the bit in the ESM Status Register 1,2 and 3 corresponding to the fault generated. After the bit is cleared the nERROR can be reset by writing 5h to the ESM Error Key Register (ESMEKR).

(Q1) Is my understanding correct?

Thank you and best regards,

Max

  • Hello Max,

    Yes, your understand is correct. 

    One exception: The nERROR occurs and is not cleared before the system reset. After system reset, writing 0x5 to ESMEKR can not clear the nERROR to restore the ESM back to normal state.

    Please read the DEVICE#60 in Errata: spnz232b

  • Workaround for DEVICE#60:

    Workaround(s) If there is a system reset, the ESM state machine is also reset. It lost the fact that an error event had just happened. So if you now try to reset the nERROR pin by writing 0x5 it will not work. The way to clear the nERROR pin is either through a power on reset or by putting the nERROR pin in diagnostic mode by writing 0xA to the ESMEKR register followed by any non 0xA values to reset the nERROR pin.