STM32F103xx
Pin descriptions
Table 3. Pin definitions (continued)
Pins
Pin name
Main function(3)
(after reset)
Default alternate functions
D8 5
E8 6
5 81
6 82
PD0
PD1
I/O FT
I/O FT
OSC_IN(7)
OSC_OUT(7)
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
B5 42 58 92 PB6/I2C1_SCL/ TIM4_CH1 I/O FT
PB6
A5 43 59 93 PB7/I2C1_SDA/ TIM4_CH2 I/O FT
PB7
I2C1_SMBAl
I2C1_SCL(6)/
TIM4_CH1(5)(6)
I2C1_SDA(6)/
TIM4_CH2(5) (6)
D5 44 60 94
B4 45 61 95
A4 46 62 96
D4 - - 97
BOOT0
PB8/TIM4_CH3
PB9/TIM4_CH4
PE0/TIM4_ETR
I
I/O FT
I/O FT
I/O FT
BOOT0
PB8
PB9
PE0
TIM4_CH3(5) (6)
TIM4_CH4(5) (6)
TIM4_ETR(5)
C4 - - 98
PE1
I/O FT
PE1
E5 47 63 99
VSS_3
S
VSS_3
F5 48 64 100
VDD_3
S
VDD_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 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