STM32
F
04
2x
4 STM32
F
04
2x
6
P
ino
u
ts
a
nd pin des
c
ript
io
ns
DocID025
832 Re
v 5
37/1
Table 14. Alternate functions selected through GPIOA_AFR registers for port A
Pin name
AF0
AF1
AF2
AF3
AF4
AF5
AF6
AF7
PA0
-
USART2_CTS
TIM2_CH1_ETR
TSC_G1_IO1
-
-
-
-
PA1
EVENTOUT
USART2_RTS
TIM2_CH2
TSC_G1_IO2
-
-
-
-
PA2
-
USART2_TX
TIM2_CH3
TSC_G1_IO3
-
-
-
-
PA3
-
USART2_RX
TIM2_CH4
TSC_G1_IO4
-
-
-
-
PA4
SPI1_NSS, I2S1_WS
USART2_CK
USB_NOE
TSC_G2_IO1
TIM14_CH1
-
-
-
PA5
SPI1_SCK, I2S1_CK
CEC
TIM2_CH1_ETR
TSC_G2_IO2
-
-
-
-
PA6
SPI1_MISO, I2S1_MCK
TIM3_CH1
TIM1_BKIN
TSC_G2_IO3
-
TIM16_CH1
EVENTOUT
-
PA7
SPI1_MOSI, I2S1_SD
TIM3_CH2
TIM1_CH1N
TSC_G2_IO4
TIM14_CH1
TIM17_CH1
EVENTOUT
-
PA8
MCO
USART1_CK
TIM1_CH1
EVENTOUT
CRS_SYNC
-
-
-
PA9
-
USART1_TX
TIM1_CH2
TSC_G4_IO1
I2C1_SCL
MCO
-
-
PA10
TIM17_BKIN
USART1_RX
TIM1_CH3
TSC_G4_IO2
I2C1_SDA
-
-
-
PA11
EVENTOUT
USART1_CTS
TIM1_CH4
TSC_G4_IO3
CAN_RX
I2C1_SCL
-
-
PA12
EVENTOUT
USART1_RTS
TIM1_ETR
TSC_G4_IO4
CAN_TX
I2C1_SDA
-
-
PA13
SWDIO
IR_OUT
USB_NOE
-
-
-
-
-
PA14
SWCLK
USART2_TX
-
-
-
-
-
-
PA15
SPI1_NSS, I2S1_WS
USART2_RX
TIM2_CH1_ETR
EVENTOUT
-
USB_NOE
-
-