SFFS889 July 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
Information redundancy techniques can be applied through software as an additional runtime diagnostic. To provide diagnostic coverage for network elements outside the TMS320F280013x MCU (wiring harness, connectors, transceiver) end-to-end safety mechanisms are applied. These mechanisms can also provide diagnostic coverage inside the TMS320F280013x MCU.
In the case of processing elements (CPU), this refers to multiple executions of the code and software based cross checking to verify correctness. The multiple execution and result comparison can be based on either the same code executed multiple times or the implementation of diversified software code. For details regarding the implementation, see the ISO 26262-5:2018, D.2.3.4.
Typical control applications involve measuring three-phase voltage and current. These values are either sampled directly using the on chip ADC or sent to the TMS320F280013x MCU by external sensors, which are captured using eCAP, and so forth. In such scenarios, the correlation between input signals can be used to check the integrity (for example, if the three phase voltage, V1, V2, V3 is being measured, the function V1 + V2 + V3 = 0 can be used to provide diagnostic coverage for input signal integrity).
In the case of SRAM and flash memory, critical data, program, variables, and so forth can be stored redundantly and compared before use. Care must be taken to avoid compiler optimizing code containing redundant data and programs. Safety programs in flash can be copied to SRAM and executed after performing a CRC check against a pre-calculated golden CRC value.