SM CODE
Addressed fault model
Dependency on Device configuration
Initialization
Periodicity
Test for the diagnostic
Multiple-fault protection
Recommendations and known limitations
SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
Addressed fault model
Dependency on Device configuration
Initialization
Periodicity
Test for the diagnostic
Multiple-fault protection
Recommendations and known limitations
SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
Addressed fault model
Dependency on Device configuration
Initialization
UM2305 - Rev 10
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Table 136.
SWPMI_SM_1
Protocol error signals and information redundancy including hardware CRC
ST
SWPMI communication is based on a frame handling concept, composed by a combination
of hardware synchronization signals, frame structure composition, hardware-computed CRC
filed. This mechanism, mainly implemented to manage on-field communication disturbance, is
able to achieve a relevant diagnostic coverage on several SWMPI module failure modes.
Error conditions are reported by flag bits in related registers.
Depends on implementation
Permanent/transient
None
Depends on implementation
Continuous
Direct test procedure for CRC efficiency is not available. CRC run-time hardware failures
leading to disabling such protection fall into multiple-fault scenario, from IEC61508
perspective. Related failures are adequately mitigated by the combination of safety
mechanisms reported in this table, field Multiple-fault protection.
SWPMI_SM_0: Periodic read-back of configuration registers
SWPMI_SM_2: SWMPI loopback test
This method is unable to address all IEC 61508 failure modes related to time handshake
between parties (e.g. resequencing, repetition), leading to the introduction of SWPMI_SM_3.
Enabling related interrupt generation on the detection of errors is highly recommended.
Table 137.
SWPMI_SM_2
SWMPI loopback test
End user
By using the SWPMI module loopback function, it is possible to emulate the sending of SWPI
frames and cross-checking the expected result in reception.
Error conditions are reported by flag bits in related registers
Depends on implementation
Permanent
None
Loopback mode must be enabled.
Hardware and software diagnostics
SWPMI_SM_0
SWPMI_SM_1
SWPMI_SM_2
UM2305
page 76/110
Need help?
Do you have a question about the STM32L4 Series and is the answer not in the manual?