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.

use the safety functions of the TMS570LS3137

Other Parts Discussed in Thread: HALCOGEN

Hi,

I found that the safety related functions in the sys_selftest.c file are called in the _c_int00, can I call the functions in the main() function? For example, can I call the cpuSelfTest() function in the main() of the application file? And the fail that detected by those functions like cpuSelfTest() will have a signature change in the ESM module, then the developer can design what to do next if the fail happens, am I correct?

Besides, what's the relation of the STC module and the PBIST module?

At last, can you give me the file SPNU523 if it's not restricted to users? I cannot find it in TI's homepage. 

Regards,

yong

  • Hello Yong,

    The self tests called in the sys_selftest.c file have been possitioned in _c_int00 since they can be destructive tests so it is best to handle them prior to the startup/initialization of the rest of the device. If you would like to push these into main(), you are welcome to do so but keep in mind that you would then have to put them in the user code sections in order to keep them from being corrupted/lost if you use Halcogen to regenerate your code again. Also, if there are updates with new versions of Halcogen, your custom implementation would possibly not be updated. In the end, however, it is up to the application owner to decide what works best for their own applications.

    The STC module and the PBIST module are different in that the STC module manages the execution of the cpu self test or LBIST while the PBIST is the RAM self test used to test SRAM, DCAN RAM, ADC RAM, MibSPI RAM, NHET RAM, etc.

    In regard to SPNU523, I don't see where this literature number is assigned to a Hercules product. If you could let me know where it is referenced and/or which device you are using, I can point you to the correct TRM for the device you are using.