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: Errors from SafeTI Diagnostic Library

Part Number: TMS570LC4357

Hello,

To test the good operation of the TMS570LC43 lockstep comparator, I would like to launch successively SL_SelfTest_CCMR5F with different parameters (function from SafeTI Diagnostic Library 2.4.0).

For example, launch SL_SelfTest_CCMR5F() with parameter CCMR5F_CPUCOMP_SELF_TEST_ERROR_FORCING, check results, then launch a new time SL_SelfTest_CCMR5F() with parameter CCMR5F_CPUCOMP_SELF_TEST, check results, and so on with different parameters…

In this case, SL_SelfTest_CCMR5F() with parameter CCMR5F_CPUCOMP_SELF_TEST returns an error, probably because of the previous selftest ? What are conditions to perform several time SL_SelfTest_CCMR5F() functions ?

Best Regards,

  • Hello Adama,

    In error forcing mode, a test pattern is applied to the inputs of the CCM-R5F compare logic to force an error in the compare error output signal of the compare unit. The ESM error flag “CCM-R5F - CPU compare” is expected after the error forcing mode completes. As a side effect, the “CCM-R5F self-test error” flag is also asserted whenever the CPU compare error is asserted.

    If no error is detected by the ESM, then a hardware fault is present.

    After checking the result (ESM registers and CCMSRx register), please clear the error flags manually by writing 1 to the error bit.