DocID13902 Rev 15 168/1128
RM0008 General-purpose and alternate-function I/Os (GPIOs and AFIOs)
195
Table 26. I2S
I2S pinout Configuration GPIO configuration
I2Sx_ WS
Master Alternate function push-pull
Slave Input floating
I2Sx_CK
Master Alternate function push-pull
Slave Input floating
I2Sx_SD
Transmitter Alternate function push-pull
Receiver Input floating/ Input pull-up/ Input pull-down
I2Sx_MCK
Master Alternate function push-pull
Slave Not used. Can be used as a GPIO
Table 27. I2C
I2C pinout Configuration GPIO configuration
I2Cx_SCL I2C clock Alternate function open drain
I2Cx_SDA I2C Data I/O Alternate function open drain
Table 28. BxCAN
BxCAN pinout GPIO configuration
CAN_TX (Transmit data line) Alternate function push-pull
CAN_RX (Receive data line) Input floating / Input pull-up
Table 29. USB
(1)
1. This table applies to low-, medium-, high and XL-density devices only.
USB pinout GPIO configuration
USB_DM / USB_DP
As soon as the USB is enabled, these pins are connected to the USB
internal transceiver automatically.
Table 30. OTG_FS pin configuration
(1)
OTG_FS pinout Configuration GPIO configuration
OTG_FS_SOF
Host AF push-pull, if used
Device AF push-pull, if used
OTG AF push-pull, if used
OTG_FS_VBUS
(2)
Host Input floating
Device Input floating
OTG Input floating