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.

CCS/TMS570LS1227: Testing ESM pin on TMS570LS1227

Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hello everyone. I'm developing a test FW for a custom board with micro TMS570LS12. For now I have the TMS570LS12 Hercules development kit. I'm new with this processor, but I have already tested some peripherals, ADC, SPI, I2C, GPIO, etc.  Now I need a simple code to move the ESM pin, I know i need a fault condition but i don't know how to do that.. Could you provide a simple piece of code to generate an error with ESM pin signaling?

Hope you could help me

I use HALCoGen 04.06.00 and CCS 6.0.1

Maurizio

  • Hi Maurizio,

    You want to look at: www.ti.com/.../SAFETI_DIAG_LIB

    There is a .chm file with decent documentation in the installation directory docs folder, SafeTIDiagnosticLibrary-User'sGuide-v2.3.0.chm.

    In this file you can find a listing of tests supporting the ESM requirements called out in the safety manual.
    Most of these are fault injection APIs.

    Also look at the #define NERROR_HOLD_DELAY, and functions SL_Set_nERROR(), and SL_ESM_nERROR_Active ()

    Best Regards,
    Anthony