STM32F103xx
Pin descriptions
Table 3.
Pins
Pin definitions (continued)
Main function(3)
(after reset)
Pin name
Default alternate functions
D8
E8
B7
C7
D7
B6
C6
D6
5
5
6
81
82
PD0
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
FT
FT
FT
FT
FT
FT
FT
FT
FT
FT
OSC_IN(7)
OSC_OUT(7)
PD2
6
PD1
PD2/TIM3_ETR
PD3
54 83
TIM3_ETR
-
-
-
-
-
-
-
-
-
-
84
85
86
87
88
PD3
PD4
PD4
PD5
PD5
PD6
PD6
PD7
PD7
A7 39 55 89
A6 40 56 90
C5 41 57 91
PB3/JTDO/TRACESWO
PB4/JNTRST
PB5/I2C1_SMBAl
JTDO
JNTRST
PB5
PB3/TRACESWO
PB4
I2C1_SMBAl
I2C1_SCL(6)
TIM4_CH1(5)(6)
/
B5 42 58 92 PB6/I2C1_SCL/ TIM4_CH1 I/O
A5 43 59 93 PB7/I2C1_SDA/ TIM4_CH2 I/O
FT
FT
PB6
PB7
I2C1_SDA(6)
/
TIM4_CH2(5) (6)
D5 44 60 94
B4 45 61 95
A4 46 62 96
BOOT0
PB8/TIM4_CH3
PB9/TIM4_CH4
PE0/TIM4_ETR
PE1
I
BOOT0
PB8
I/O
I/O
I/O
I/O
S
FT
FT
FT
FT
TIM4_CH3(5) (6)
TIM4_CH4(5) (6)
TIM4_ETR(5)
PB9
D4
C4
-
-
-
-
97
98
PE0
PE1
E5 47 63 99
F5 48 64 100
VSS_3
VSS_3
VDD_3
VDD_3
S
1. I = input, O = output, S = supply, HiZ = high impedance.
2. FT= 5 V tolerant.
3. Function availability depends on the chosen device. Refer to Table 2 on page 7.
4. PC13, PC14 and PC15 are supplied through the power switch, and so their use in ouptut mode is limited: they can be used
only in output 2 MHz mode with a maximum load of 30 pF and only one pin can be put in output mode at a time.
5. Available only on devices with a Flash memory density equal or higher than 64 Kbytes.
6. This alternate function can be remapped by software to some other port pins (if available on the used package). For more
details, refer to the Alternate function I/O and debug configuration section in the STM32F10xxx reference manual,
UM0306, available from the STMicroelectronics website: www.st.com.
7. For the LQFP48 and LQFP64 packages, the pins number 5 and 6 are configured as OSC_IN/OSC_OUT after reset,
however the functionality of PD0 and PD1 can be remapped by software on these pins.
21/67