Alternate Function; Table 5. Alternate Function - ST STM32F4 Series Application Note

Getting started with mcu hardware development
Hide thumbs Also See for STM32F4 Series:
Table of Contents

Advertisement

4.3

Alternate Function

Each pin of the MCU can be configured to multiple functions. These functions are selected by software.
The full description of I/O alternate functions is described in the datasheet of the selected device and the register, which allow the
pin configuration, are described in the reference manual.
AF0
AF1
AF2
Port
TIM3/4
SYS
TIM1/2
/5
TIM1_
TIM3_
PB0
-
CH2N
CH3
TIM2_
PB11
-
CH4
TIM1_
PB12
-
BKIN
Port B
TIM1_
PB13
-
CH1N
TIM1_
PB14
-
CH2N
RTC_
TIM1_
PB15
REFIN
CH3N
In order to easily explore Peripheral Alternate Functions mapping to pins, it is recommended to use the STM32CubeMX tool
available on www.st.com.

Table 5. Alternate function

AF3
AF4
AF5
TIM8/9
I2C1/2/
SPI1/2/
SPI2/3/
/10/11
3
3/4/5/6
TIM8_
-
-
CH2N
I2C2_
-
-
SDA
SPI2_
I2C2_SM
-
-
NSS/
BA
I2S2_WS
SPI2_
-
-
-
SCK/
I2S2_CK
TIM8_
SPI2_MIS
-
-
CH2N
O
SPI2_
TIM8_
-
-
MOSI/
CH3N
I2S2_SD
AF6
AF7
AF8
AF9
USA
CAN1/2
SPI2/3/
RT6/
/TIM12/
USAR
UAR
13/14/
SAI1
T1/2/3
T4/5/
QUAD
-
-
-
LCD_R3
USART3
-
-
_RX
USART3
-
-
CAN2_RX
_CK
USART3
-
-
CAN2_TX
_CTS
I2S2ext_
USART3
TIM12_C
-
SD
_RTS
H1
TIM12_C
-
-
-
H2
AF10
AF11
AF12
AF13
QUADS
FMC/
DCMI/
PI/OTG
SDIO/
ETH
DSI
2_HS/O
OTG2
HOST
TG1_F
_
OTG_HS_
ETH_MII_
-
-
ULPI_D1
RXD2
ETH_MII_
DSI
OTG_HS
TX_EN/
-
HOST
_ULPI_D4
ETH_RMII_
_TE
TX_EN
ETH_MII_
OTG_HS_
TXD0/
OTG_
-
ULPI_D5
ETH_RMII_
HS_ID
TXD0
ETH_MII_
OTG_HS_
TXD1/ETH_
-
-
ULPI_D6
RMII_TXD1
OTG_
-
-
-
HS_DM
OTG_H
-
-
-
S_DP
AF14
AF15
LCD
SYS
LCD_
EVENT
G1
OUT
LCD_
EVENT
G5
OUT
EVENT
-
OUT
EVENT
-
OUT
EVENT
-
OUT
EVENT
-
'OUT

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F4 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF