3.6.4 System bus architecture
Table 27. BUS_SM_0
SM CODE BUS_SM_0
Description Periodical software test for interconnections
Ownership End user
Detailed implementation
The intra-chip connection resources (Bus Matrix, AHB or APB bridges) needs to be periodically
tested for permanent faults detection. Note that STM32F2 Series MCUs have no hardware safety
mechanism to protect these structures. The test executes a connectivity test of these shared
resources, including the testing of the arbitration mechanisms between peripherals.
According to IEC 61508:2 Table A.8, A.7.4 the method is considered able to achieve high levels of
coverage
Error reporting Depends on implementation
Fault detection time Depends on implementation
Addressed fault model Permanent
Dependency on MCU configuration None
Initialization Depends on implementation
Periodicity Periodic
Test for the diagnostic Not needed
Multiple faults protection CPU_SM_0: periodical core self-test software
Recommendations and known
limitations
Implementation can be considered in large part overlapping with the widely used “Periodical read-
back of configuration registers” required for several peripherals
Table 28. BUS_SM_1
SM CODE BUS_SM_1
Description Information redundancy in intra-chip data exchanges
Ownership End user
Detailed implementation
This method requires to add some kind of redundancy (e.g. a CRC checksum at packet level) to
each data message exchanged inside the MCU.
Message integrity is verified using the checksum by the application software, before consuming
data.
Error reporting Depends on implementation
Fault detection time Depends on implementation
Addressed fault model Permanent and Transient
Dependency on MCU configuration None
Initialization Depends on implementation
Periodicity On demand
Test for the diagnostic Not needed
Multiple faults protection CPU_SM_0: periodical core self-test software
Recommendations and known limitations
Implementation can be in large part overlapping with other safety mechanisms requiring information
redundancy on data messages for communication peripherals. Optimizations are therefore possible
UM1845
Description of hardware and software diagnostics
UM1845 - Rev 4
page 25/108