10
第2章 引脚信息
2.1 引脚排列
图2-1 CH32V103Cx(LQFP48/QFN48X7)引脚分布
图2-2 CH32V103Rx(LQFP64M)引脚分布
11
2.2 引脚描述
表2-1 CH32V103x8x6引脚定义
引脚编号 QFN48X7 LQFP64M LQFP48 引脚 名称 VBAT PC13- TAMPER-RTC PC14- OSC32_IN PC15- OSC32_OUT OSC_IN OSC_OUT NRST PC0 PC1 PC2 PC3 VSSA VDDA PA0-WKUP PA1 PA2 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1
引脚 类型 P I/O I/O/A I/O/A I/A O/A I/O I/O/A I/O/A I/O/A I/O/A P P I/O/A I/O/A I/O/A I/O/A P P I/O/A I/O/A I/O/A I/O/A I/O/A I/O/A I/O/A I/O/A
主功能 (复位后) VBAT PC13 PC14 PC15 OSC_IN OSC_OUT NRST PC0 PC1 PC2 PC3 VSSA VDDA PA0 PA1 PA2 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1
默认复用功能 重映射功能
1 2 3 4 5 6 7 - - - - 8 9 10 11 12 13 - - 14 15 16 17 - - 18 19
1 2 3 4 5 6 7 - - - - 8 9 10 11 12 13 - - 14 15 16 17 - - 18 19
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
TAMPER-RTC OSC32_IN OSC32_OUT
ADC_IN10 ADC_IN11 ADC_IN12 ADC_IN13
WKUP/USART2_CTS/ADC_IN0 /TIM2_CH1/TIM2_ETR USART2_RTS/ADC_IN1
/TIM2_CH2 USART2_TX/ADC_IN2
/TIM2_CH3 USART2_RX/ADC_IN3
/TIM2_CH4
SPI1_NSS/USART2_CK
/ADC_IN4 SPI1_SCK/ADC_IN5 SPI1_MISO/ADC_IN6
/TIM3_CH1 SPI1_MOSI/ADC_IN7
/TIM3_CH2
ADC_IN14 ADC_IN15 ADC_IN8/TIM3_CH3 ADC_IN9/TIM3_CH4
PD0 PD1 TIM1_BKIN TIM1_CH1N
TIM1_CH2N TIM1_CH3N
12
20 21 22 23 24 25 26 27 28 - - - - 29 30 31 32 33 34 35 36 37 38 - - - - 39 40 41 42 43 44 45 46 47 48
20 21 22 23 24 25 26 27 28 - - - - 29 30 31 32 33 34 35 36 37 38 - - - - 39 40 41 42 43 44 45 46 47 48
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
PB2 PB10 PB11 VSS_1 VDD_1 PB12 PB13 PB14 PB15 PC6 PC7 PC8 PC9 PA8 PA9 PA10 PA11 PA12 PA13 VSS_2 VDD_2 PA14 PA15 PC10 PC11 PC12 PD2 PB3 PB4 PB5 PB6 PB7 BOOT0 PB8 PB9 VSS_3 VDD_3
I/O I/O I/O P P I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O/A I/O/A I/O P P I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O/A I/O/A I I/O/A I/O/A P P
PB2 /BOOT1 PB10 PB11 VSS_1 VDD_1 PB12 PB13 PB14 PB15 PC6 PC7 PC8 PC9 PA8 PA9 PA10 PA11 PA12 SWDIO VSS_2 VDD_2 SWCLK PA15 PC10 PC11 PC12 PD2 PB3 PB4 PB5 PB6 PB7 BOOT0 PB8 PB9 VSS_3 VDD_3
I2C2_SCL/USART3_TX I2C2_SDA/USART3_RX
SPI2_NSS/I2C2_SMBAI /USART3_CK/TIM1_BKIN SPI2_SCK/USART3_CTS
/TIM1_CH1N SPI2_MISO/USART3_RTS
/TIM1_CH2N SPI2_MOSI/TIM1_CH3N
USART1_CK/TIM1_CH1/MCO USART1_TX/TIM1_CH2 USART1_RX/TIM1_CH3 USART1_CTS/USBHDM/TIM1_CH4 USART1_RTS/USBHDP/TIM1_ETR
TIM3_ETR
I2C1_SMBAI I2C1_SCL/TIM4_CH1 I2C1_SDA/TIM4_CH2
TIM4_CH3 TIM4_CH4
TIM2_CH3 TIM2_CH4
TIM3_CH1 TIM3_CH2 TIM3_CH3 TIM3_CH4
PA13 PA14
TIM2_CH1/TIM2_ETR
/SPI1_NSS
UASRT3_TX USART3_RX USART3_CK
TRACESWO/TIM2_CH2
/SPI1_SCK TIM3_CH1/SPI1_MISO TIM3_CH2/SPI1_MOSI
USART1_TX USART1_RX
I2C1_SCL I2C1_SDA
13
表2-2 CH32V103x6x6引脚定义
引脚编号
LQFP64M LQFP48 引脚 名称 VBAT PC13- TAMPER-RTC PC14- OSC32_IN
引脚 主功能 类型 (复位后) P I/O I/O/A
VBAT PC13 PC14 PC15 OSC8M_IN OSC8M_OUT NRST PC0 PC1 PC2 PC3 VSSA VDDA PA0 PA1 PA2 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2/BOOT1 PB10 PB11 VSS_1 VDD_1
默认复用功能
重映射功能
1 2 3 4 5 6 7 - - - - 8 9 10 11 12 13 - - 14 15 16 17 - - 18 19 20 21 22 23 24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
TAMPER-RTC OSC32_IN OSC32_OUT
ADC_IN10 ADC_IN11 ADC_IN12 ADC_IN13
WKUP/USART2_CTS/ADC_IN0
/TIM2_CH1/TIM2_ETR USART2_RTS/ADC_IN1
/TIM2_CH2 USART2_TX/ADC_IN2/TIM2_CH3 USART2_RX/ADC_IN3/TIM2_CH4
SPI1_NSS/USART2_CK/ADC_IN4
SPI1_SCK/ADC_IN5 SPI1_MISO/ADC_IN6/TIM3_CH1 SPI1_MOSI/ADC_IN7/TIM3_CH2
ADC_IN14 ADC_IN15 ADC_IN8/TIM3_CH3 ADC_IN9/TIM3_CH4
PD0 PD1 TIM1_BKIN TIM1_CH1N
TIM1_CH2N TIM1_CH3N
TIM2_CH3 TIM2_CH4
PC15-
I/O/A
OSC32_OUT OSC8M_IN OSC8M_OUT NRST PC0 PC1 PC2 PC3 VSSA VDDA PA0-WKUP PA1 PA2 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PB10 PB11 VSS_1 VDD_1
I/A O/A I/O I/O/A I/O/A I/O/A I/O/A P P I/O/A I/O/A I/O/A I/O/A P P I/O/A I/O/A I/O/A I/O/A I/O/A I/O/A I/O/A I/O/A I/O I/O I/O P P
14
25 26 27 28 - - - - 29 30 31 32 33 34 35 36 37 38 - - - - 39 40 41 42 43 44 45 46 47 48
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
PB12 PB13 PB14 PB15 PC6 PC7 PC8 PC9 PA8 PA9 PA10 PA11 PA12 PA13 VSS_2 VDD_2 PA14 PA15 PC10 PC11 PC12 PD2 PB3 PB4 PB5 PB6 PB7 BOOT0 PB8 PB9 VSS_3 VDD_3
I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O/A I/O/A I/O P P I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O/A I/O/A I I/O/A I/O/A P P
PB12 PB13 PB14 PB15 PC6 PC7 PC8 PC9 PA8 PA9 PA10 PA11 PA12 SWDIO VSS_2 VDD_2 SWCLK PA15 PC10 PC11 PC12 PD2 PB3 PB4 PB5 PB6 PB7 BOOT0 PB8 PB9 VSS_3 VDD_3
TIM1_BKIN TIM1_CH1N TIM1_CH2N TIM1_CH3N
USART1_CK/TIM1_CH1/MCO USART1_TX/TIM1_CH2 USART1_RX/TIM1_CH3 USART1_CTS/USBHDM/TIM1_CH4 USART1_RTS/USBHDP/TIM1_ETR
TIM3_ETR
I2C1_SMBAI I2C1_SCL I2C1_SDA
TIM3_CH1 TIM3_CH2 TIM3_CH3 TIM3_CH4
PA13 PA14
TIM2_CH1/TIM2_ETR/SPI1_NSS
TRACESWO/TIM2_CH2/SPI1_SCK
TIM3_CH1/SPI1_MISO TIM3_CH2/SPI1_MOSI
USART1_TX USART1_RX
I2C1_SCL I2C1_SDA
注:引脚类型: I = TTL/CMOS 电平斯密特输入; O = CMOS 电平三态输出; A = 模拟信号输入或输出; P = 电源;