3.6.16
General-purpose input/output (GPIO) - port A/B/C/D/E/F/G/H/I
SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
Addressed fault model
Dependency on MCU configuration
Initialization
Periodicity
Test for the diagnostic
Multiple faults protection
Recommendations and known limitations
SM CODE
Description
Ownership
Detailed implementation
Error reporting
Fault detection time
Addressed fault model
Dependency on MCU configuration
Initialization
Periodicity
Test for the diagnostic
Multiple faults protection
Recommendations and known
limitations
SM CODE
Description
UM1845 - Rev 4
Table 72.
GPIO_SM_0
Periodical read-back of configuration registers
End user
This method must be applied to GPIO configuration registers.
Detailed information on the implementation of this method can be found in
Refer to NVIC_SM_0
Refer to NVIC_SM_0
Refer to NVIC_SM_0
GPIO availability can differ according to part number
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 73.
GPIO_SM_1
1oo2 for input GPIO lines
End user
This method addresses GPIO lines used as inputs. Implementation is done by connecting the
external safety-related signal to two independent GPIO lines. Comparison between the two GPIO
values is executed by application software each time the signal is used to affect application software
behavior
Depends on implementation
Depends on implementation
Permanent and Transient
None
Depends on implementation
On demand
Not needed
CPU_SM_0: periodical core self-test software
To reduce the potential impact of common cause failure, it is recommended to use GPIO lines:
•
Belonging to different i/o ports (for instance PORT A and B)
•
With different bit port number (for instance PORTA.1 and PORTB.5)
•
Mapped to non-adjacent pins on the device package
Table 74.
GPIO_SM_2
Loopback scheme for output GPIO lines
Description of hardware and software diagnostics
GPIO_SM_0
GPIO_SM_1
GPIO_SM_2
UM1845
Section 3.6.5
page 52/108
Need help?
Do you have a question about the STM32F2 Series and is the answer not in the manual?
Questions and answers