SM CODE
COMP_SM_2
Multiple-fault protection
CPU_SM_0: Periodic core self-test software
Recommendations and known limitations
None
Table 84.
COMP_SM_3
SM CODE
COMP_SM_3
Description
Multiple acquisition by
Application software
Ownership
End user
Detailed implementation
This method requires that
Application software
takes a decision not on the basis of a
comparator single-shot transition, but after multiple events or after the permanence of
comparator trigger conditions for a certain amount of time.
Error reporting
Depends on implementation
Fault detection time
Depends on implementation
Addressed fault model
Transient
Dependency on
Device
configuration
None
Initialization
Depends on implementation
Periodicity
On demand
Test for the diagnostic
Not applicable
Multiple-fault protection
CPU_SM_0: Periodic core self-test software
Recommendations and known limitations
It is highly probable that this recommendation is satisfied by design on
End user
application
- multiple acquisition is a common technique in industrial applications facing electromagnetic
interference on sensor lines.
Table 85.
COMP_SM_4
SM CODE
COMP_SM_4
Description
Comparator lock mechanism
Ownership
ST
Detailed implementation
This safety mechanism prevents configuration changes for comparator control and status
registers; it addresses therefore systematic faults in the software application.
Error reporting
Not applicable
Fault detection time
Not applicable
Addressed fault model
None (Fault avoidance)
Dependency on
Device
configuration
None
Initialization
Lock protection must be enabled through the COMPxLOCK bits of the COMP_CSR register.
Periodicity
Continuous
Test for the diagnostic
Not applicable
Multiple-fault protection
Not applicable
Recommendations and known limitations
This method does not addresses comparator configuration changes due to soft errors.
UM2305
Hardware and software diagnostics
UM2305
-
Rev 10
page 51/110