Other Parts Discussed in Thread: HALCOGEN
Hello Team,
As part of functional safety we want to implement self tests, diagnostics and test for diagnostic on the TMS570ls1224 Microcontroller.
In my opinion we can ahceive this by two ways: (correct me if i am wrong)
1) Safe TI diagnostic library api's can be mapped to Hercules Safety MCU diagnostic features, which can be used in our application to do the diagnostics or to provide the test of the diagnostic feature itself.
2) Configuring Safe_INIT tab in the Halcogen. Enable all the safety related settings in the Safe_INIT tab (like CPU self test , CCM self test, enable RAM ECC, FLASH ECC,PBIST....)
Now i have some basic question which i am unclear after reading safety manuals:
TMS570 architecture uses the Safe island approach.
."In the “safe island” approach, a core set of elements are allocated continuously operating hardware safety mechanisms. This core set of elements, including power and clock and reset, CPU, Flash memory, SRAM and associated interconnect to Flash and SRAM, is needed to assure any functionally correct execution of software. Once correct operation of these elements is confirmed, software can be executed on these elements in order to provide software-based diagnostics on other device elements, such as peripherals. "
That means if hardware is safed, we can run software and saftware based diagnostic for peripherals
1) why i have to use the Safe TI Diagnostic library API's?
2)if we enable all the safety settings in halcogen. Do we still need to use Safe ti diagnostic lib api's?
3) is Safe ti lib API's are used for fault insertion and test for diagnostic use only??
4) when i enable CPU self test in safe ti init tab of halcogen, function stcSelfCheck() ; is getting called in sys_startup.c file.
That means at boot time stcSelfCheck() ; is triggered. what & how about checking stcSelfCheck() ;on demand/ periodic ?? should i use safe ti lib api SL_Selftest_STC() or should i don't bother as safe island approch will continously monitor the STC ??
please provide your feedback.
Bharat