SM CODE CPU_SM_1
Fault detection time Depends on implementation. Higher value is fixed by watchdog timeout interval.
Addressed fault model Permanent and Transient
Dependency on MCU
configuration
None
Initialization Depends on implementation
Periodicity Continuous
Test for the diagnostic NA
Multiple faults protection CPU_SM_0: periodical core self-test software
Recommendations and known
limitations
-
Table 7. CPU_SM_2
SM CODE CPU_SM_2
Description Double computation in application software
Ownership End user
Detailed implementation
A timing redundancy for safety-related computation is considered to detect transient faults affecting the
Arm
®
Cortex
®
-M3 CPU subparts devoted to mathematical computations and data access.
The guidelines for the implementation of the method are the following:
• The requirement needs be applied only to safety-relevant computation, which in case of wrong
result could interfere with the system safety functions. Such computation must be therefore carefully
identified in the original application software source code
• Both mathematical operation and comparison are intended as computation.
• The redundant computation for mathematical computation is implemented by using copies of the
original data for second computation, and by using an equivalent formula if possible
Error reporting Depends on implementation
Fault detection time Depends on implementation
Addressed fault model Transient
Dependency on MCU
configuration
None
Initialization Depends on implementation
Periodicity Continuous
Test for the diagnostic Not needed
Multiple faults protection CPU_SM_0: periodical core self-test software
Recommendations and known
limitations
End user is responsible to carefully avoid that the intervention of optimization features of the used
compiler removes timing redundancies introduced according to this condition of use
Table 8. CPU_SM_3
SM CODE CPU_SM_3
Description
Arm
®
Cortex
®
-M3 HardFault exceptions
Ownership ST
Detailed implementation
HardFault exception raise is an intrinsic safety mechanism implemented in Arm
®
Cortex
®
-M3 core,
mainly devoted to intercept systematic faults due to software limitations or error in software design
(causing for example execution of undefined operations, unaligned address access). This safety
mechanism is also able to detect hardware random faults inside the CPU bringing to such described
abnormal operations
UM1845
Description of hardware and software diagnostics
UM1845 - Rev 4
page 14/108