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.

TMS570 with HalCoGen + Safety function

Other Parts Discussed in Thread: HALCOGEN, TMS570LS1227, SAFETI-HALCOGEN-CSP

Hi,

I'm using TMS570LS1227 MCU,  HALCoGen 4.4.0.

I following MCU Safety Manual SPNU550A,  in Appendix A there are the Safety Features or Diagnostics to implement in software. In almost all modules, there is the 'Software Read back of written configuration' safety feature, how can I integrate and co-exist this function with HALCoGen framework?

Tank you

Enrico

  • Hi Enrico.

    You can use the xxxGetConfigValue functions; xxx is the prefix that refers to a certain group of register. For example, you can use systemGetConfigValue() for software readback of clock registers (CLK7 unique ID).

    The "HALCoGen Software Safety Manual for Hercules Family of Microcontrollers" (SPNU593A) has a table (Table 1 or 2) that indicates which HALCoGen API function can you use for each Safety Feature listed in the Safety Manuals; this has been very useful to me. By the way, I found this interesting document after installing the SafeTI-HALCoGen-CSP Demo Version, I wasn't aware of it before.

    Best regards.

    Javier

  • Hi Javier,

    thank you for your hints.

    I have already used xxxGetConfigValue API function for the followig safety feature: "Periodic software read back of static configuration registers". And I did not think and I was not sure to use it also for "Software read back of written configuration" safety feture.  Now, after your suggestion, it is clearer, "HALCOGen Safety Manual" says to use xxxGetConfigValue API function. But this function has a issue, see this post https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/407806 

    Regards

    Enrico