STM32F103xC,xD,xE引脚定义

STM32F103xC,xD,xE引脚定义

由于在使用STM32系列芯片过程中发现互联网没有整理好的引脚定义,因此自己整理一份,方便以后查阅。

GPIOA

Pin 重新上电时的功能 默认功能 重映射
PA0 PA0 WKUP/USART2_CTS/ADC123_IN0/TIM2_CH1_ETR/TIM5_CH1/TIM8_ETR
PA1 PA1 USART2_RTS/ADC123_IN1/TIM5_CH2/TIM2/CH2
PA2 PA2 USART2_TX/TIM5_CH3/ADC123_IN2/TIM2_CH3
PA3 PA3 USART2_RX/TIM5_CH4/ADC123_IN3/TIM2_CH4
PA4 PA4 SPI1_NSS/USART2_CK/DAC_OUT1/ADC12_IN4
PA5 PA5 SPI1_SCK/DAC_OUT2/ADC12_IN5
PA6 PA6 SPI1_MISO/TIM8_BKIN/ADC12_IN6/TIM3_CH1 TIM1_BKIN
PA7 PA7 SPI1_MOSI/TIM8_CH1N/ADC12_IN7/TIM3_CH2 TIM1_CH1N
PA8 PA8 USART1_CK/TIM1_CH1/MCO
PA9 PA9 USART1_TX/TIM1_CH2
PA10 PA10 USART1_RX/TIM1_CH3
PA11 PA11 USART1_CTS/USBDM/CAN_RX/TIM1_CH4
PA12 PA12 USART1_RTS/USBDM/CAN_TX/TIM1_ETR
PA13 JTMS-SWDIO PA13
PA14 JTCK_SWCLK PA14
PA15 JTDI SPI3_NSS/I2S3_WS TIM2_CH1_ETR/PA15/SPI1_NSS

GPIOB

Pin 重新上电时的功能 默认功能 重映射
PB0 PB0 ADC12_IN8/TIM3_CH3/TIM8_CH2N TIM1_CH2N
PB1 PB1 ADC12_IN9/TIM3_CH4/TIM8_CH3N TIM1_CH3N
PB2 BOOT1
PB3 JTDO SPI3_SCK/I2S3_CK PB3/TRACESWO/TIM2_CH2/SPI1_SCK
PB4 NJTRST SPI3_MISO PB4/TIM3_CH1/SPI1_MISO
PB5 PB5 I2C_SMBA/SPI3_MOSI/I2S_SD TIM3_CH2/SPI1_MOSI
PB6 PB6 I2C1_SCL/TIM4_CH1 USART1_TX
PB7 PB7 I2C1_SDA/FSMC_NADV/TIM4_CH2 USART1_RX
PB8 PB8 TIM4_CH3/SDIO_D4 I2C_SCL/CAN_RX
PB9 PB9 TIM4_CH4/SDIO_D5 I2C_SDA/CAN_TX
PB10 PB10 I2C_SCL/USART3_TX TIM2_CH3
PB11 PB11 I2C_SDA/USART3_RX TIM2_CH4
PB12 PB12 SPI2_NSS/I2S2_WS/I2C2_SMBA/USART3_CK/TIM1_BKIN
PB13 PB13 SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N
PB14 PB14 SPI2_MISO/TIM1_CH2N/USART3_RTS
PB15 PB15 SPI2_MOSI/I2S2_SD/TIM1_CH3N

GPIOC

Pin 重新上电时的功能 默认功能 重映射
PC0 PC0 ADC123_IN10
PC1 PC1 ADC123_IN11
PC2 PC2 ADC123_IN12
PC3 PC3 ADC123_IN13
PC4 PC4 ADC12_IN14
PC5 PC5 ADC12_IN15
PC6 PC6 I2S2_MCK/TIM2_CH1/SDIO_D6 TIM3_CH1
PC7 PC7 I2S3_MCK/TIM8_CH2/SDIO_D7 TIM3_CH2
PC8 PC8 TIM8_CH3/SDIO_D0 TIM3_CH3
PC9 PC9 TIM8_CH4/SDIO_D1 TIM3_CH4
PC10 PC10 USART4_TX/SDIO_D2 USART3_TX
PC11 PC11 USART4_RX/SDIO_D3 USART3_RX
PC12 PC12 USART5_TX/SDIO_CK USART3_CK
PC13 PC13 TAMPER-RTC
PC14 PC14 OSC32_IN
PC15 PC15 OSC32_OUT

GPIOD

Pin 重新上电时的功能 默认功能 重映射
PD0 OSC_IN FSMC_D2 CAN_RX
PD1 OSC_OUT FSMC_D3 CAN_TX
PD2 PD2 TIM3_ETR/USART5_RX/SDIO_CMD
PD3 PD3 FSMC_CLK USART2_CTS
PD4 PD4 FSMC_NOE USART2_RTS
PD5 PD5 FSMC_NWE USART2_TX
PD6 PD6 FSMC_NWAIT USART2_RX
PD7 PD7 FSMC_NE1/FSMC_NCE2 USART2_CK
PD8 PD8 FSMC_D13 USART3_TX
PD9 PD9 FSMC_D14 USART3_RX
PD10 PD10 FSMC_D15 USART3_CK
PD11 PD11 FSMC_A16 USART3_CTS
PD12 PD12 FSMC_A17 TIM4_CH1/USART3_RTS
PD13 PD13 FSMC_A18 TIM4_CH2
PD14 PD14 FSMC_D0 TIM4_CH3
PD15 PD15 FSMC_D1 TIM4_CH4

GPIOE

Pin 重新上电时的功能 默认功能 重映射
PE0 PE0 TIM4_ETR/FSMC_NBL0
PE1 PE1 FSMC_NBL1
PE2 PE2 TRACECK/FSMC_A23
PE3 PE3 TRACED0/FSMC_A19
PE4 PE4 TRACED1/FSMC_A20
PE5 PE5 TRACED2/FSMC_A21
PE6 PE6 TRACED3/FSMC_A22
PE7 PE7 FSMC_D4 TIM1_ETR
PE8 PE8 FSMC_D5 TIM1_CH1N
PE9 PE9 FSMC_D6 TIM1_CH1
PE10 PE10 FSMC_D7 TIM1_CH2N
PE11 PE11 FSMC_D8 TIM1_CH2
PE12 PE12 FSMC_D9 TIM1_CH3N
PE13 PE13 FSMC_D10 TIM1_CH3
PE14 PE14 FSMC_D11 TIM1_CH4
PE15 PE15 FSMC_D12 TIM1_BKIN

GPIOF

Pin 重新上电时的功能 默认功能 重映射
PF0 PF0 FSMC_A0
PF1 PF1 FSMC_A1
PF2 PF2 FSMC_A2
PF3 PF3 FSMC_A3
PF4 PF4 FSMC_A4
PF5 PF5 FSMC_A5
PF6 PF6 ADC3_IN4/FSMC_NIORD
PF7 PF7 ADC3_IN5/FSMC_NREG
PF8 PF8 ADC3_IN6/FSMC_NIOWR
PF9 PF9 ADC3_IN7/FSMC_CD
PF10 PF10 ADC3_IN8/FSMC_INTR
PF11 PF11 FSMC_NIOS16
PF12 PF12 FSMC_A6
PF13 PF13 FSMC_A7
PF14 PF14 FSMC_A8
PF15 PF15 FSMC_A9

GPIOG

Pin 重新上电时的功能 默认功能 重映射
PG0 PG0 FSMC_A10
PG1 PG1 FSMC_A11
PG2 PG2 FSMC_A12
PG3 PG3 FSMC_A13
PG4 PG4 FSMC_A14
PG5 PG5 FSMC_A15
PG6 PG6 FSMC_INT2
PG7 PG7 FSMC_INT3
PG8 PG8
PG9 PG9 FSMC_NE2/FSMC_NCE3
PG10 PG10 FSMC_NCE4_1/FSMC_NE3
PG11 PG11 FSMC_NCE4_2
PG12 PG12 FSMC_NCE4
PG13 PG13 FSMC_A24
PG14 PG14 FSMC_A25
PG15 PG15

总引脚

Pin 重新上电时的功能 默认功能 重映射
PE2 PE2 TRACECK/FSMC_A23
PE3 PE3 TRACED0/FSMC_A19
PE4 PE4 TRACED1/FSMC_A20
PE5 PE5 TRACED2/FSMC_A21
PE6 PE6 TRACED3/FSMC_A22
PC13 PC13 TAMPER-RTC
PC14 PC14 OSC32_IN
PC15 PC15 OSC32_OUT
PF0 PF0 FSMC_A0
PF1 PF1 FSMC_A1
PF2 PF2 FSMC_A2
PF3 PF3 FSMC_A3
PF4 PF4 FSMC_A4
PF5 PF5 FSMC_A5
PF6 PF6 ADC3_IN4/FSMC_NIORD
PF7 PF7 ADC3_IN5/FSMC_NREG
PF8 PF8 ADC3_IN6/FSMC_NIOWR
PF9 PF9 ADC3_IN7/FSMC_CD
PF10 PF10 ADC3_IN8/FSMC_INTR
PC0 PC0 ADC123_IN10
PC1 PC1 ADC123_IN11
PC2 PC2 ADC123_IN12
PC3 PC3 ADC123_IN13
PA0 PA0 WKUP/USART2_CTS/ADC123_IN0/TIM2_CH1_ETR/TIM5_CH1/TIM8_ETR
PA1 PA1 USART2_RTS/ADC123_IN1/TIM5_CH2/TIM2/CH2
PA2 PA2 USART2_TX/TIM5_CH3/ADC123_IN2/TIM2_CH3
PA3 PA3 USART2_RX/TIM5_CH4/ADC123_IN3/TIM2_CH4
PA4 PA4 SPI1_NSS/USART2_CK/DAC_OUT1/ADC12_IN4
PA5 PA5 SPI1_SCK/DAC_OUT2/ADC12_IN5
PA6 PA6 SPI1_MISO/TIM8_BKIN/ADC12_IN6/TIM3_CH1 TIM1_BKIN
PA7 PA7 SPI1_MOSI/TIM8_CH1N/ADC12_IN7/TIM3_CH2 TIM1_CH1N
PC4 PC4 ADC12_IN14
PC5 PC5 ADC12_IN15
PB0 PB0 ADC12_IN8/TIM3_CH3/TIM8_CH2N TIM1_CH2N
PB1 PB1 ADC12_IN9/TIM3_CH4/TIM8_CH3N TIM1_CH3N
PF11 PF11 FSMC_NIOS16
PF12 PF12 FSMC_A6
PF13 PF13 FSMC_A7
PF14 PF14 FSMC_A8
PF15 PF15 FSMC_A9
PG0 PG0 FSMC_A10
PG1 PG1 FSMC_A11
PE7 PE7 FSMC_D4 TIM1_ETR
PE8 PE8 FSMC_D5 TIM1_CH1N
PE9 PE9 FSMC_D6 TIM1_CH1
PE10 PE10 FSMC_D7 TIM1_CH2N
PE11 PE11 FSMC_D8 TIM1_CH2
PE12 PE12 FSMC_D9 TIM1_CH3N
PE13 PE13 FSMC_D10 TIM1_CH3
PE14 PE14 FSMC_D11 TIM1_CH4
PE15 PE15 FSMC_D12 TIM1_BKIN
PB10 PB10 I2C_SCL/USART3_TX TIM2_CH3
PB11 PB11 I2C_SDA/USART3_RX TIM2_CH4
PB12 PB12 SPI2_NSS/I2S2_WS/I2C2_SMBA/USART3_CK/TIM1_BKIN
PB13 PB13 SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N
PB14 PB14 SPI2_MISO/TIM1_CH2N/USART3_RTS
PB15 PB15 SPI2_MOSI/I2S2_SD/TIM1_CH3N
PD8 PD8 FSMC_D13 USART3_TX
PD9 PD9 FSMC_D14 USART3_RX
PD10 PD10 FSMC_D15 USART3_CK
PD11 PD11 FSMC_A16 USART3_CTS
PD12 PD12 FSMC_A17 TIM4_CH1/USART3_RTS
PD13 PD13 FSMC_A18 TIM4_CH2
PD14 PD14 FSMC_D0 TIM4_CH3
PD15 PD15 FSMC_D1 TIM4_CH4
PG2 PG2 FSMC_A12
PG3 PG3 FSMC_A13
PG4 PG4 FSMC_A14
PG5 PG5 FSMC_A15
PG6 PG6 FSMC_INT2
PG7 PG7 FSMC_INT3
PG8 PG8
PC6 PC6 I2S2_MCK/TIM2_CH1/SDIO_D6 TIM3_CH1
PC7 PC7 I2S3_MCK/TIM8_CH2/SDIO_D7 TIM3_CH2
PC8 PC8 TIM8_CH3/SDIO_D0 TIM3_CH3
PC9 PC9 TIM8_CH4/SDIO_D1 TIM3_CH4
PA8 PA8 USART1_CK/TIM1_CH1/MCO
PA9 PA9 USART1_TX/TIM1_CH2
PA10 PA10 USART1_RX/TIM1_CH3
PA11 PA11 USART1_CTS/USBDM/CAN_RX/TIM1_CH4
PA12 PA12 USART1_RTS/USBDM/CAN_TX/TIM1_ETR
PB2 BOOT1
PA13 JTMS-SWDIO PA13
PA14 JTCK_SWCLK PA14
PA15 JTDI SPI3_NSS/I2S3_WS TIM2_CH1_ETR/PA15/SPI1_NSS
PC10 PC10 USART4_TX/SDIO_D2 USART3_TX
PC11 PC11 USART4_RX/SDIO_D3 USART3_RX
PC12 PC12 USART5_TX/SDIO_CK USART3_CK
PD0 OSC_IN FSMC_D2 CAN_RX
PD1 OSC_OUT FSMC_D3 CAN_TX
PD2 PD2 TIM3_ETR/USART5_RX/SDIO_CMD
PD3 PD3 FSMC_CLK USART2_CTS
PD4 PD4 FSMC_NOE USART2_RTS
PD5 PD5 FSMC_NWE USART2_TX
PD6 PD6 FSMC_NWAIT USART2_RX
PD7 PD7 FSMC_NE1/FSMC_NCE2 USART2_CK
PG9 PG9 FSMC_NE2/FSMC_NCE3
PG10 PG10 FSMC_NCE4_1/FSMC_NE3
PG11 PG11 FSMC_NCE4_2
PG12 PG12 FSMC_NCE4
PG13 PG13 FSMC_A24
PG14 PG14 FSMC_A25
PG15 PG15
PB3 JTDO SPI3_SCK/I2S3_CK PB3/TRACESWO/TIM2_CH2/SPI1_SCK
PB4 NJTRST SPI3_MISO PB4/TIM3_CH1/SPI1_MISO
PB5 PB5 I2C_SMBA/SPI3_MOSI/I2S_SD TIM3_CH2/SPI1_MOSI
PB6 PB6 I2C1_SCL/TIM4_CH1 USART1_TX
PB7 PB7 I2C1_SDA/FSMC_NADV/TIM4_CH2 USART1_RX
PB8 PB8 TIM4_CH3/SDIO_D4 I2C_SCL/CAN_RX
PB9 PB9 TIM4_CH4/SDIO_D5 I2C_SDA/CAN_TX
PE0 PE0 TIM4_ETR/FSMC_NBL0
PE1 PE1 FSMC_NBL1

热门相关:花都保镖   走私大明   虎狼之师   走私大明   佣兵之王都市行