Pin descriptions
STM32L151x6/8/B, STM32L152x6/8/B
40/129
DocID17659 Rev 10
91 57 C4
C5
41
PB5
I/O
FT
PB5
I2C1_SMBA/TIM3_CH2/SPI1_MOSI/
COMP2_INP/LCD_SEG9
92 58 D3
B5
42
PB6
I/O
FT
PB6
I2C1_SCL/TIM4_CH1/USART1_TX
93 59 C3
B4
43
PB7
I/O
FT
PB7
I2C1_SDA/TIM4_CH2/USART1_RX/PVD_IN
94 60 B4
A4
44
BOOT0
I
B
BOOT0
-
95 61 B3
A3
45
PB8
I/O
FT
PB8
TIM4_CH3/I2C1_SCL/LCD_SEG16/
TIM10_CH1
96 62 A3
B3
46
PB9
I/O
FT
PB9
TIM4_CH4/I2C1_SDA/LCD_COM3/
TIM11_CH1
97
-
-
C3
-
PE0
I/O
FT
PE0
TIM4_ETR/LCD_SEG36/TIM10_CH1
98
-
-
A2
-
PE1
I/O
FT
PE1
LCD_SEG37/TIM11_CH1
99 63 D4
D3
47
V
SS_3
S
-
V
SS_3
-
100 64 E4
C4
48
V
DD_3
S
-
V
DD_3
-
1. I = input, O = output, S = supply.
2. Function availability depends on the chosen device. For devices having reduced peripheral counts, it is always the lower
number of peripheral that is included. For example, if a device has only one SPI and two USARTs, they will be called SPI1
and USART1 & USART2, respectively. Refer to
.
3. Applicable to STM32L152xx devices only. In STM32L151xx devices, this pin should be connected to V
DD
.
4. The PC14 and PC15 I/Os are only configured as OSC32_IN/OSC32_OUT when the LSE oscillator is on (by setting the
LSEON bit in the RCC_CSR register). The LSE oscillator pins OSC32_IN/OSC32_OUT can be used as general-purpose
PC14/PC15 I/Os, respectively, when the LSE oscillator is off (after reset, the LSE oscillator is off). The LSE has priority over
the GPIO function. For more details, refer to Using the OSC32_IN/OSC32_OUT pins as GPIO PC14/PC15 port pins
section in the STM32L1xxxx reference manual (RM0038).
5. The PH0 and PH1 I/Os are only configured as OSC_IN/OSC_OUT when the HSE oscillator is on (by setting the HSEON bit
in the RCC_CR register). The HSE oscillator pins OSC_IN/OSC_OUT can be used as general-purpose PH0/PH1 I/Os,
respectively, when the HSE oscillator is off (after reset, the HSE oscillator is off). The HSE has priority over the GPIO
function.
6. Unlike in the LQFP64 package, there is no PC3 in the TFBGA64 package. The V
REF+
functionality is provided instead.
Table 8. STM32L15xx6/8/B pin definitions (continued)
Pins
Pin name
P
in ty
pe
(1)
I/O str
u
ctu
re
Main
function
(2)
(after reset)
Alternate functions
LQ
FP1
00
LQ
FP6
4
TFBGA64
UFBGA1
00
LQ
FP4
8 or
UF
QF
PN48