Pin descriptions
Pins
Pin name
A7
90 56
PB4
C5
91 57
PB5
B5
92 58
PB6
B4
93 59
PB7
A4
94 60
BOOT0
A3
95 61
PB8
B3
96 62
PB9
C3
97
-
PE0
A2
98
-
PE1
D3
99 63
V
SS_3
C4 100 64
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
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.
40/123
Table 9. STM32L162xC pin definitions (continued)
Main
(3)
function
(after reset)
I/O FT
NJTRST
I/O FT
PB5
I/O FT
PB6
I/O FT
PB7
I
-
BOOT0
I/O FT
PB8
I/O FT
PB9
I/O FT
PE0
I/O FT
PE1
S
-
V
SS_3
S
-
V
DD_3
DocID022881 Rev 10
STM32L162VC, STM32L162RC
Pin functions
Alternate functions
TIM3_CH1/SPI1_MISO/
SPI3_MISO/LCD_SEG8/
NJTRST
TIM3_CH2/I2C1_SMBA/
SPI1_MOSI/SPI3_MOSI/
I2S3_SD/LCD_SEG9
TIM4_CH1/I2C1_SCL/
USART1_TX
TIM4_CH2/I2C1_SDA/
USART1_RX
-
TIM4_CH3/TIM10_CH1/
I2C1_SCL/LCD_SEG16
TIM4_CH4/ TIM11_CH1/
I2C1_SDA/LCD_COM3
TIM4_ETR/TIM10_CH1/
LCD_SEG36
TIM11_CH1/LCD_SEG37
-
-
Additional functions
COMP2_INP
COMP2_INP
COMP2_INP
COMP2_INP/PVD_IN
-
-
-
-
-
-
-
.
DD
Need help?
Do you have a question about the STM32L162RC and is the answer not in the manual?