main
History Download
Ray Initial commit: component/stm32l152ret6 fdfb775

STM32L152RET6

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · LQFP-64(10x10)

STM32L152RET6 from STMicroelectronics, in a LQFP-64(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model, then checked against ST open pin data); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 VLCD power_in LCD voltage supply pin for STM32L152xE devices; connect to VDD for STM32L151xE devices without LCD.
2 PC13-WKUP2 bidirectional Port C pin 13, 5V tolerant I/O, wakeup pin 2 and RTC tamper/timestamp functionality.
3 PC14-OSC32_IN bidirectional Port C pin 14, 3.3V I/O, 32 kHz oscillator input when LSE oscillator enabled, usable as GPIO when LSE off.
4 PC15-OSC32_OUT bidirectional Port C pin 15, 3.3V I/O, 32 kHz oscillator output when LSE oscillator enabled, usable as GPIO when LSE off.
5 PH0-OSC_IN bidirectional Port H pin 0, 3.3V I/O, HSE oscillator input when HSE enabled, usable as GPIO when HSE off.
6 PH1-OSC_OUT bidirectional Port H pin 1, 3.3V I/O, HSE oscillator output when HSE enabled, usable as GPIO when HSE off.
7 NRST bidirectional Bidirectional reset pin with embedded weak pull-up resistor and debouncing logic.
8 PC0 bidirectional Port C pin 0, 5V tolerant I/O, supports LCD segment output and ADC input channel 10.
9 PC1 bidirectional Port C pin 1, 5V tolerant I/O, supports LCD segment output and ADC input channel 11.
10 PC2 bidirectional Port C pin 2, 5V tolerant I/O, supports LCD segment output and ADC input channel 12.
11 PC3 bidirectional Port C pin 3, 3.3V I/O, supports LCD segment output and ADC input channel 13.
12 VSSA power_in Analog ground supply return pin.
13 VDDA power_in Analog power supply pin, 1.8V to 3.6V range.
14 PA0-WKUP1 bidirectional Port A pin 0, 5V tolerant I/O, wakeup pin 1, supports timer and USART alternate functions, ADC channel 0.
15 PA1 bidirectional Port A pin 1, 5V tolerant I/O, supports timer and USART functions, LCD segment output, ADC channel 1.
16 PA2 bidirectional Port A pin 2, 5V tolerant I/O, supports timer and USART functions, LCD segment output, ADC channel 2.
17 PA3 bidirectional Port A pin 3, 3.3V I/O, supports timer and USART functions, LCD segment output, OPAMP1 output, ADC channel 3.
18 VSS_4 power_in Ground supply return pin.
19 VDD_4 power_in Power supply pin, 1.65V to 3.6V range.
20 PA4 bidirectional Port A pin 4, 3.3V I/O, supports SPI and I2S alternate functions, DAC output 1, ADC channel 4.
21 PA5 bidirectional Port A pin 5, 3.3V I/O, supports SPI clock and timer functions, DAC output 2, ADC channel 5.
22 PA6 bidirectional Port A pin 6, 5V tolerant I/O, supports timer and SPI functions, LCD segment output, OPAMP2 input, ADC channel 6.
23 PA7 bidirectional Port A pin 7, 5V tolerant I/O, supports timer and SPI functions, LCD segment output, OPAMP2 input, ADC channel 7.
24 PC4 bidirectional Port C pin 4, 5V tolerant I/O, supports LCD segment output, ADC input channel 14.
25 PC5 bidirectional Port C pin 5, 5V tolerant I/O, supports LCD segment output, ADC input channel 15.
26 PB0 bidirectional Port B pin 0, 3.3V I/O, supports timer function, LCD segment output, VREF output, OPAMP2 output, ADC channel 8.
27 PB1 bidirectional Port B pin 1, 5V tolerant I/O, supports timer function, LCD segment output, VREF output, ADC channel 9.
28 PB2/BOOT1 bidirectional Port B pin 2, 5V tolerant I/O, BOOT1 configuration pin for boot mode selection, ADC input 0b.
29 PB10 bidirectional Port B pin 10, 5V tolerant I/O, supports timer and I2C2 functions, USART3 TX, LCD segment output.
30 PB11 bidirectional Port B pin 11, 5V tolerant I/O, supports timer and I2C2 functions, USART3 RX, LCD segment output.
31 VSS_1 power_in Ground supply return pin.
32 VDD_1 power_in Power supply pin, 1.65V to 3.6V range.
33 PB12 bidirectional Port B pin 12, 5V tolerant I/O, supports timer, I2C2 SMBus, SPI2, and USART3 functions, ADC channel 18.
34 PB13 bidirectional Port B pin 13, 5V tolerant I/O, supports timer, SPI2, and USART3 functions, ADC channel 19.
35 PB14 bidirectional Port B pin 14, 5V tolerant I/O, supports timer, SPI2, and USART3 functions, ADC channel 20.
36 PB15 bidirectional Port B pin 15, 5V tolerant I/O, supports timer and SPI2 functions, RTC reference input, ADC channel 21.
37 PC6 bidirectional Port C pin 6, 5V tolerant I/O, supports timer and I2S MCK alternate functions, LCD segment output.
38 PC7 bidirectional Port C pin 7, 5V tolerant I/O, supports timer and I2S MCK alternate functions, LCD segment output.
39 PC8 bidirectional Port C pin 8, 5V tolerant I/O, supports timer function, LCD segment output.
40 PC9 bidirectional Port C pin 9, 5V tolerant I/O, supports timer function, LCD segment output.
41 PA8 bidirectional Port A pin 8, 5V tolerant I/O, supports USART1 clock, MCO output, LCD common output 0.
42 PA9 bidirectional Port A pin 9, 5V tolerant I/O, supports USART1 transmit and LCD common output 1.
43 PA10 bidirectional Port A pin 10, 5V tolerant I/O, supports USART1 receive and LCD common output 2.
44 PA11 bidirectional Port A pin 11, 5V tolerant I/O, supports USART1 CTS and SPI1 functions, USB DM line.
45 PA12 bidirectional Port A pin 12, 5V tolerant I/O, supports USART1 RTS and SPI1 functions, USB DP line.
46 PA13 bidirectional Port A pin 13, 5V tolerant I/O, JTAG/SWD debug pin (JTMS-SWDIO), shared with GPIO functionality.
47 VSS_2 power_in Ground supply return pin.
48 VDD_2 power_in Power supply pin, 1.65V to 3.6V range.
49 PA14 bidirectional Port A pin 14, 5V tolerant I/O, JTAG/SWD debug pin (JTCK-SWCLK), shared with GPIO functionality.
50 PA15 bidirectional Port A pin 15, 5V tolerant I/O, JTAG debug pin (JTDI), supports timer and SPI functions, LCD segment output.
51 PC10 bidirectional Port C pin 10, 5V tolerant I/O, supports SPI3 and I2S3 functions, UART4 TX, LCD common/segment output.
52 PC11 bidirectional Port C pin 11, 5V tolerant I/O, supports SPI3 and UART functions, LCD common/segment output.
53 PC12 bidirectional Port C pin 12, 5V tolerant I/O, supports SPI3, I2S3, and UART functions, LCD common/segment output.
54 PD2 bidirectional Port D pin 2, 5V tolerant I/O, supports timer and UART5 functions, LCD common/segment output.
55 PB3 bidirectional Port B pin 3, 5V tolerant I/O, JTAG debug pin (JTDO), supports timer and SPI functions, LCD segment output.
56 PB4 bidirectional Port B pin 4, 5V tolerant I/O, JTAG reset pin (NJTRST), supports timer and SPI functions, LCD segment output.
57 PB5 bidirectional Port B pin 5, 5V tolerant I/O, supports timer, I2C1 SMBus, SPI, and I2S functions, LCD segment output.
58 PB6 bidirectional Port B pin 6, 5V tolerant I/O, supports timer, I2C1 clock, and USART1 TX functions.
59 PB7 bidirectional Port B pin 7, 5V tolerant I/O, supports timer, I2C1 data, and USART1 RX functions, PVD input.
60 BOOT0 input Dedicated BOOT0 pin, input only, configures device boot mode selection at power-up or reset.
61 PB8 bidirectional Port B pin 8, 5V tolerant I/O, supports timer and I2C1 functions, LCD segment output.
62 PB9 bidirectional Port B pin 9, 5V tolerant I/O, supports timer and I2C1 functions, LCD common output 3.
63 VSS_3 power_in Ground supply return pin.
64 VDD_3 power_in Power supply pin, 1.65V to 3.6V range.

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package LQFP-64(10x10)
Category Embedded Processors & Controllers
Pins 64

CAD (KiCad official)

  • Symbol: STM32L152RET6
  • Footprint: Package_QFP:LQFP-64_10x10mm_P0.5mm
  • 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
  • 3D model files: stm32l152ret6-etched.step / stm32l152ret6-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm32l152ret6.step / stm32l152ret6.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: STMicroelectronics datasheet (136 pp, sha256 0d2f673e0c6974fa, retrieved 2026-10-01, tier: lcsc)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-4-5-20251001 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF