Pinouts and pin description 45/135 Table 9. Alternate function mapping AF00 AF01 AF02 AF03 AF04 AF05 AF06 AF07 AF08 AF09 AF10 AF11 AF12 AF13 AF14 AF15 Port TIM9/ SPI1/SPI2/ SPI3/I2S3/ TIM3/ I2C1/I2C2/ SPI2/I2S2/ I2C2/ SYS_AF TIM1/TIM2 TIM10/ I2S2/SPI3/ USART1/ USART6 OTG1_FS SDIO TIM4/ TIM5 I2C3 SPI3/ I2S3 I2C3 TIM11 I2S3/SPI4 USART2 TIM2_CH1/ USART2_ EVENT PA0 - TIM5_CH1 - - - - - - - - - - - TIM2_ETR CTS OUT USART2_ EVENT PA1 - TIM2_CH2 TIM5_CH2 - - - - - - - - - - - RTS OUT USART2_ EVENT PA2 - TIM2_CH3 TIM5_CH3 TIM9_CH1 - - - - - - - - - - TX OUT USART2_ EVENT PA3 - TIM2_CH4 TIM5_CH4 TIM9_CH2 - - - - - - - - - RX OUT SPI3_NSS/ USART2_ EVENT DocID025644 Rev 3 PA4 - - - - - SPI1_NSS - - - - - - - I2S3_WS CK OUT TIM2_CH1/ EVENT PA5 - - - - SPI1_SCK - - - - - - - - - TIM2_ETR OUT SPI1_ EVENT PA6 - TIM1_BKIN TIM3_CH1 - - - - - - - - - - - MISO OUT SPI1_ - - - EVENT PA7 - TIM1_CH1N TIM3_CH2 - - - - - - - - MOSI OUT Port A USART1_ OTG_FS_ - - - EVENT PA8 MCO_1 TIM1_CH1 - - I2C3_SCL - - - - - CK SOF OUT I2C3_ USART1_ OTG_FS_ EVENT PA9 - TIM1_CH2 - - - - - - - - -- - SMBA TX VBUS OUT STM32F401xD STM32F401xE USART1_ OTG_FS_I EVENT PA10 - TIM1_CH3 - - - - - - - - - - - RX D OUT USART1_ USART6_ OTG_FS_ EVENT PA11 - TIM1_CH4 - - - - - - - - - - CTS TX DM OUT USART1_ USART6_ OTG_FS_ EVENT PA12 - TIM1_ETR - - - - - - - - - - RTS RX DP OUT JTMS_ EVENT PA13 - - - - - - - - - - - - - - SWDIO OUT JTCK_ EVENT PA14 - - - - - - - - - - - - - - SWCLK OUT TIM2_CH1/ SPI3_NSS/ EVENT PA15 JTDI - - - SPI1_NSS - - - - - - - - TIM2_ETR I2S3_WS OUT
Table 9. Alternate function mapping (continued) STM32F401xD STM32F401xE AF00 AF01 AF02 AF03 AF04 AF05 AF06 AF07 AF08 AF09 AF10 AF11 AF12 AF13 AF14 AF15 Port TIM9/ SPI1/SPI2/ SPI3/I2S3/ TIM3/ I2C1/I2C2/ SPI2/I2S2/ I2C2/ SYS_AF TIM1/TIM2 TIM10/ I2S2/SPI3/ USART1/ USART6 OTG1_FS SDIO TIM4/ TIM5 I2C3 SPI3/ I2S3 I2C3 TIM11 I2S3/SPI4 USART2 EVENT PB0 - TIM1_CH2N TIM3_CH3 - - - - - - - - - - - - OUT EVENT PB1 - TIM1_CH3N TIM3_CH4 - - - - - - - - - - - - OUT EVENT PB2 - - - - - - - - - - - - - - - OUT JTDO- SPI3_SCK/ EVENT PB3 TIM2_CH2 - - - SPI1_SCK - - I2C2_SDA - - - - - SWO I2S3_CK OUT SPI1_ I2S3ext_S EVENT PB4 JTRST - TIM3_CH1 - - SPI3_MISO - I2C3_SDA - - - - - MISO D OUT DocID025644 Rev 3 I2C1_ SPI1 SPI3_MOSI/ EVENT PB5 - - TIM3_CH2 - - - - - - - - - SMBA _MOSI I2S3_SD OUT USART1_ EVENT PB6 - - TIM4_CH1 - I2C1_SCL - - - - - - - - - TX OUT Port B USART1_ EVENT PB7 - - TIM4_CH2 - I2C1_SDA - - - - - - - - - RX OUT SDIO_ EVENT PB8 - - TIM4_CH3 TIM10_CH1 I2C1_SCL - - - - - - - - - D4 OUT SPI2_NSS/I SDIO_ EVENT PB9 - - TIM4_CH4 TIM11_CH1 I2C1_SDA - - - - - - - - 2S2_WS D5 OUT SPI2_SCK/I EVENT PB10 - TIM2_CH3 - - I2C2_SCL - - - - - - - - - 2S2_CK OUT Pinouts and pin description I2C2_ SPI2_NSS/I EVENT PB12 - TIM1_BKIN - - - - - - - - - - - SMBA 2S2_WS OUT SPI2_SCK/I EVENT PB13 - TIM1_CH1N - - - - - - - - - - - - 2S2_CK OUT EVENT PB14 - TIM1_CH2N - - - SPI2_MISO I2S2ext_SD - - - - - - - - OUT RTC_ SPI2_MOSI EVENT PB15 TIM1_CH3N - - - - - - - - - - - - REFN /I2S2_SD OUT 46/135
Table 9. Alternate function mapping (continued) Pinouts and pin description 47/135 AF00 AF01 AF02 AF03 AF04 AF05 AF06 AF07 AF08 AF09 AF10 AF11 AF12 AF13 AF14 AF15 Port TIM9/ SPI1/SPI2/ SPI3/I2S3/ TIM3/ I2C1/I2C2/ SPI2/I2S2/ I2C2/ SYS_AF TIM1/TIM2 TIM10/ I2S2/SPI3/ USART1/ USART6 OTG1_FS SDIO TIM4/ TIM5 I2C3 SPI3/ I2S3 I2C3 TIM11 I2S3/SPI4 USART2 EVENT PC0 - - - - - - - - - - - - - - - OUT EVENT PC1 - - - - - - - - - - - - - - - OUT SPI2_ EVENT PC2 - - - - - I2S2ext_SD - - - - - - - - MISO OUT SPI2_MOSI EVENT PC3 - - - - - - - - - - - - - - /I2S2_SD OUT EVENT PC4 - - - - - - - - - - - - - - - OUT DocID025644 Rev 3 EVENT PC5 - - - - - - - - - - - - - - - OUT USART6_ SDIO_ EVENT PC6 - -- TIM3_CH1 - - I2S2_MCK - - - - - - - TX D6 OUT USART6_ SDIO_ EVENT PC7 - TIM3_CH2 - - - I2S3_MCK - - - - - - Port C RX D7 OUT USART6_ SDIO_ EVENT PC8 - - TIM3_CH3 - - - - - - - - - - CK D0 OUT SDIO_ EVENT PC9 MCO_2 - TIM3_CH4 - I2C3_SDA I2S_CKIN - - - - - - - - D1 OUT SPI3_SCK/ SDIO_ EVENT PC10 - - - - - - - - - - - - - STM32F401xD STM32F401xE I2S3_CK D2 OUT I2S3ext_ SDIO_ EVENT PC11 - - - - - SPI3_MISO - - - - - - - SD D3 OUT SPI3_MOSI/ SDIO_ EVENT PC12 - - - - - - - - - - - - - I2S3_SD CK OUT EVENT PC13 - - - - - - - - - - - - - - - OUT EVENT PC14 - - - - - - - - - - - - - - - OUT EVENT PC15 - - - - - - - - - - - - - - - OUT
Table 9. Alternate function mapping (continued) STM32F401xD STM32F401xE AF00 AF01 AF02 AF03 AF04 AF05 AF06 AF07 AF08 AF09 AF10 AF11 AF12 AF13 AF14 AF15 Port TIM9/ SPI1/SPI2/ SPI3/I2S3/ TIM3/ I2C1/I2C2/ SPI2/I2S2/ I2C2/ SYS_AF TIM1/TIM2 TIM10/ I2S2/SPI3/ USART1/ USART6 OTG1_FS SDIO TIM4/ TIM5 I2C3 SPI3/ I2S3 I2C3 TIM11 I2S3/SPI4 USART2 EVENT PD0 - - - - - - - - - - - - - - - OUT EVENT PD1 - - - - - - - - - - - - - - - OUT SDIO_ EVENT PD2 - - TIM3_ETR - - - - - - - - - - - CMD OUT SPI2_SCK/ USART2_ EVENT PD3 - - - - - - -- - - - - - - I2S2_CK CTS OUT USART2_ EVENT PD4 - - - - - - - - - - - - - RTS OUT DocID025644 Rev 3 USART2_ EVENT PD5 - - - - - - - - - - - - - - TX OUT SPI3_MOSI USART2_ EVENT PD6 - - - - - - - - - - - - - /I2S3_SD RX OUT USART2_ EVENT PD7 - - - - - - - - - - - - - - CK OUT Port D EVENT PD8 - - - - - - - - - - - - - - - OUT EVENT PD9 - - - - - - - - - - - - - - - OUT EVENT PD10 - - - - - - - - - - - - - - - OUT Pinouts and pin description EVENT PD11 - - - - - - - - - - - - - - - OUT EVENT PD12 - - TIM4_CH1 - - - - - - - - - - - - OUT EVENT PD13 - - TIM4_CH2 - - - - - - - - - - - - OUT EVENT PD14 - - TIM4_CH3 - - - - - - - - - - - - OUT EVENT 48/135 PD15 - - TIM4_CH4 - - - - - - - - - - - - OUT
Table 9. Alternate function mapping (continued) Pinouts and pin description 49/135 AF00 AF01 AF02 AF03 AF04 AF05 AF06 AF07 AF08 AF09 AF10 AF11 AF12 AF13 AF14 AF15 Port TIM9/ SPI1/SPI2/ SPI3/I2S3/ TIM3/ I2C1/I2C2/ SPI2/I2S2/ I2C2/ SYS_AF TIM1/TIM2 TIM10/ I2S2/SPI3/ USART1/ USART6 OTG1_FS SDIO TIM4/ TIM5 I2C3 SPI3/ I2S3 I2C3 TIM11 I2S3/SPI4 USART2 EVENT PE0 - - TIM4_ETR - - - - - - - - - - - - OUT EVENT PE1 - TIM1_CH2N - - - - - - - - - - - - - OUT TRACECL EVENT PE2 - - - - SPI4_SCK - - - - - - - - - K OUT EVENT PE3 TRACED0 - - - - - - - - - - - - - - OUT EVENT PE4 TRACED1 - - - - SPI4_NSS - - - - - - - - - OUT DocID025644 Rev 3 EVENT PE5 TRACED2 - - TIM9_CH1 - SPI4_MISO - - - - - - - - - OUT EVENT PE6 TRACED3 - - TIM9_CH2 - SPI4_MOSI - - - - - - - - - OUT EVENT PE7 - TIM1_ETR - - - - - - - - - - - - - OUT Port E EVENT PE8 - TIM1_CH1N - - - - - - - - - - - - - OUT EVENT PE9 - TIM1_CH1 - - - - - - - - - - - - - OUT EVENT PE10 - TIM1_CH2N - - - - - - - - - - - - - STM32F401xD STM32F401xE OUT EVENT PE11 - TIM1_CH2 - - - SPI4_NSS - - - - - - - - - OUT EVENT PE12 - TIM1_CH3N - - - SPI4_SCK - - - - - - - - - OUT EVENT PE13 - TIM1_CH3 - - - SPI4_MISO - - - - - - - - - OUT EVENT PE14 - TIM1_CH4 - - - SPI4_MOSI - - - - - - - - - OUT EVENT PE15 - TIM1_BKIN - - - - - - - - - - - - - OUT
Table 9. Alternate function mapping (continued) STM32F401xD STM32F401xE AF00 AF01 AF02 AF03 AF04 AF05 AF06 AF07 AF08 AF09 AF10 AF11 AF12 AF13 AF14 AF15 Port TIM9/ SPI1/SPI2/ SPI3/I2S3/ TIM3/ I2C1/I2C2/ SPI2/I2S2/ I2C2/ SYS_AF TIM1/TIM2 TIM10/ I2S2/SPI3/ USART1/ USART6 OTG1_FS SDIO TIM4/ TIM5 I2C3 SPI3/ I2S3 I2C3 TIM11 I2S3/SPI4 USART2 EVENT PH0 - - - - - - - - - - - - - - - OUT Port H EVENT PH1 - - - - - - - - - - - - - - - OUT DocID025644 Rev 3 Pinouts and pin description 50/135
Recommend
More recommend