Pin descriptions
STM32L162VC, STM32L162RC
40/123
DocID022881 Rev 10
A7
90 56
PB4
I/O FT
NJTRST
TIM3_CH1/SPI1_MISO/
SPI3_MISO/LCD_SEG8/
NJTRST
COMP2_INP
C5
91 57
PB5
I/O FT
PB5
TIM3_CH2/I2C1_SMBA/
SPI1_MOSI/SPI3_MOSI/
I2S3_SD/LCD_SEG9
COMP2_INP
B5
92 58
PB6
I/O FT
PB6
TIM4_CH1/I2C1_SCL/
USART1_TX
COMP2_INP
B4
93 59
PB7
I/O FT
PB7
TIM4_CH2/I2C1_SDA/
USART1_RX
COMP2_INP/PVD_IN
A4
94 60
BOOT0
I
-
BOOT0
-
-
A3
95 61
PB8
I/O FT
PB8
TIM4_CH3/TIM10_CH1/
I2C1_SCL/LCD_SEG16
-
B3
96 62
PB9
I/O FT
PB9
TIM4_CH4/ TIM11_CH1/
I2C1_SDA/LCD_COM3
-
C3
97
-
PE0
I/O FT
PE0
TIM4_ETR/TIM10_CH1/
LCD_SEG36
-
A2
98
-
PE1
I/O FT
PE1
TIM11_CH1/LCD_SEG37
-
D3
99 63
V
SS_3
S
-
V
SS_3
-
-
C4 100 64
V
DD_3
S
-
V
DD_3
-
-
1. I = input, O = output, S = supply.
2. FT = 5 V tolerant.
3. Function availability depends on the chosen device.
4. Applicable to STM32L152xC devices only. In STM32L151xC devices, this pin should be connected to V
DD
.
5. 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
PH0/PH1 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 STM32L151xx, STM32L152xx and STM32L162xx reference manual (RM0038).
6. 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.
Table 9. STM32L162xC pin definitions (continued)
Pins
Pin name
Ty
p
e
(1)
I / O
L
e
vel
(2
)
Main
function
(3)
(after reset)
Pin functions
UFBGA
100
LQ
FP10
0
LQ
FP6
4
Alternate functions
Additional functions