Dear SafeAssure Team,
I've got a few questions around the use of the S32K142 in an ASIL-B application, most of them related to assumptions in the safety manual.
Best regards
Matthias
Hello Matthias,
Please find the answers to above queries:
1. Each reset source has an associated field in the Reset Control Module (RCM) System Reset Status (RCM_SRS) register. This register includes read-only status flags to indicate the source of the most recent reset. Multiple flags can be set if multiple reset events occur at the same time. The reset value of this register depends on the reset source:
POR (including LVD) — 0x82
LVD (without POR) — 0x02
Other reset — a bit is set if its corresponding reset source caused the reset
Refer to section “26.4.3 System Reset Status Register (RCM_SRS)” of “S32K1xx_RM_Rev13.pdf” for more details.
The status in the RCM_SRS register could be transmitted via LIN to a counter present in ECU that maintains the information about various reset sources. The SW can then take decision to shutdown in case of continuous reset condition.
SRAM retention feature could to be used to monitor some of the reset sources. Refer to section “31.3.4 SRAM retention: power modes and resets” of “S32K1xx_RM_Rev13.pdf” for more details.
2. When the ADC is used as a Safety Mechanism, the calibration function should be used once per L-FTTI. This is done to ensure the correct functionality of the ADC. This calibration should be done once after every reset. Please refer to section ‘44.5.6 Calibration function’ in ‘S32K1xx_RM_Rev13.pdf’ for more details.
3. According to ISO26262:2018, FTTI is defined as:
"minimum time-span from the occurrence of a fault in an item to a possible occurrence of a hazardous event, if the safety mechanisms are not activated."
Hence, we need to run SCST on the core once per FTTI (as it is the safety mechanism of core) to ensure that a single point fault in core doesn’t lead to a hazard.
4. Please contact your NXP representative to understand the settings of FMEDAs and to have the dynamic FMEDA configured according to your application. The Safety Manual assumption(s) being fulfilled for a safety mechanism is specified under that Safety Mechanism name in the “Select Safety Measures” tab in the Customer FMEDA. The assumption gets fulfilled if that safety measure is enabled. According to the Safety Measures that are enabled in that tab, the failure rates (and the metrics) get computed and the these values are present in the “Module FMEDA” tab.
In section 5.7.2, it says that “Functional safety-relevant peripherals are assumed to be used redundantly in some way.” I am unable to find reference in this section that implies “sufficient integrity might be achieved also with simplex inputs.” The failure rate for this can be found as the entry “Pin example” in the Peripheral FMEDA.
Hope this helps.
Kind Regards,
Avni
Thanks a lot Avni for clarifying and explaining these things. I'll pass the answers on to our SW guys for consideration.
When it comes to point 4.1, I think I interpreted the implementation hint in section 5.7.2.1.1 ("Functional safety digital inputs may need to be acquired redundantly") such that one might also get away when they're not acquired redundantly, i.e. simplex. The "pin example" in the peripheral FMEDA shows a failure rate of 9E-10. Ist that number only valid for redundant acquisition or is it for a single pin, such that for redundant acquisition it becomes 8.1E-19?
Hi Matthias
Yes, if you have system level measures (eg: plausability checks), that enable you to achieve the required safety integrity then you do not need the redundant communication.
The failure rate of pin example for FMEDA is for a single Pin. Please note that this is based on a certain mission profile and package. The number can change for different package/mission profile and that is why it is recommended to contact your NXP representative to understand the settings of FMEDAs and to have the dynamic FMEDA configured according to your application.
Regards
-Aarul