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/TMS570LC4357: TMS570LC4357 CCMselftest

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN,

Tool/software: Code Composer Studio

I am trying to implement CCM self test using CCS and Halcogen.   It appears to be a function generated through Halcogen, but I cannot find any files in HCG that have the function ccmSelfCheck() as referenced here (understanding this post is for the RM4): https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/527858

Has anyone implemented a method of testing CCM on the TMS570LC4357?

  • Hello,

    HALCoGen does not have option to generate ccmSelfTest() for TMS570LC4357. It is recommended to use SafeTI Diagnostic Library where SL_SelfTest_CCMR5F function can be used. You can refer to the example that walks over steps to use Safety library with HALCoGen (it is under HALCoGen examples folder).

    SafeTI Diagnostic Library can be downloaded from here:

  • Thanks Miro.  I have the diagnostics library setup and functioning.  I wasn't able to utilize a function to check explicitly in main.c but I am content that each test in sys_startup is running.  Between this and watching the ESM I am good with verifying lockstep.