STM32F103xx
Pin descriptions
21/67
D8
5
5
81
PD0
I/O
FT
OSC_IN
(7)
E8
6
6
82
PD1
I/O
FT
OSC_OUT
B7
54
83
PD2/TIM3_ETR I/O
FT
PD2
TIM3_ETR
C7
-
-
84
PD3
I/O
FT
PD3
D7
-
-
85
PD4
I/O
FT
PD4
B6
-
-
86
PD5
I/O
FT
PD5
C6
-
-
87
PD6
I/O
FT
PD6
D6
-
-
88
PD7
I/O
FT
PD7
A7
39
55
89
PB3/JTDO/TRACESWO
I/O
FT
JTDO
PB3/TRACESWO
A6
40
56
90
PB4/JNTRST I/O
FT
JNTRST
PB4
C5
41
57
91
PB5/I2C1_SMBAl I/O
PB5
I2C1_SMBAl
B5
42
58
92
PB6/I2C1_SCL/ TIM4_CH1
I/O
FT
PB6
I2C1_SCL
TIM4_CH1
(5)(6)
A5
43
59
93
PB7/I2C1_SDA/ TIM4_CH2
I/O
FT
PB7
I2C1_SDA
/
TIM4_CH2
(5)
D5
44
60
94
BOOT0
I
BOOT0
B4
45
61
95
PB8/TIM4_CH3
I/O
FT
PB8
TIM4_CH3
(5)
A4
46
62
96
PB9/TIM4_CH4
I/O
FT
PB9
TIM4_CH4
(5)
D4
-
-
97
PE0/TIM4_ETR
I/O
FT
PE0
TIM4_ETR
(5)
C4
-
-
98
PE1
I/O
FT
PE1
E5
47
63
99
V
SS_3
S
V
SS_3
F5
48
64
100
V
DD_3
S
V
DD_3
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
.
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.
Table 3.
Pin definitions (continued)
Pins
Pin name
Ty
p
e
(1
)
I /
O
Le
vel
(2)
Main function
(3)
(after reset)
Default alternate functions
BGA100
LQ
FP48
LQ
FP64
LQ
FP10
0