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.

Compiler/TMS570LS0232: How to record the error output from ESM?

Part Number: TMS570LS0232


Tool/software: TI C/C++ Compiler

Hello, TI Engineers

We want to use TMS570LS0232 ESM for function safety. However, we could not find a way for separating ESM errors from software signals. And I hope we could record all ESM errors if TMS570 keep working.

Thanks!

Regards!

Xinyu 

  • Hello Xinyu,

    The ESM has up to 128 error channels, and divided into 3 different groups. For group 1 (64 channels), they can be configured to generate interrupt, and the group 2 (32 channels) is predefined to generate interrupt. Once an error occurs, the ESM module will set the corresponding error flags, and it can trigger an interrupt.

    The ESMSR1/SR4 are the status registers for group1, ESMSR2 is the status register for group2, and the ESMSR3 is fro group3. Those status registers provide status information on a pending error of 3 groups. The module also provides a status shadow register, ESMSSR2, which maintains the error flags of group2 until power-on reset (PORRST) is asserted.