STM32L152RC-A

STM32L15xQC STM32L15xRC-A STM32L15xVC-A STM32L15xZC

Overview

Part: STM32L15x family (Arm®-based Cortex®-M3 MCU)

Type: Ultra-low-power 32-bit MCU Arm®-based Cortex®-M3

Key Specs:

  • Power Supply: 1.65 V to 3.6 V
  • Temperature Range: -40°C to 105°C
  • Flash Memory: 256 Kbytes
  • SRAM: 32 Kbytes
  • EEPROM: 8 Kbytes
  • CPU Frequency: Up to 32 MHz
  • ADC Resolution: 12-bit, 1 Msps
  • DAC Channels: 2 channels, 12-bit
  • I/O Count: Up to 116 fast I/Os

Features:

  • Ultra-low-power platform
  • 305 nA standby mode (3 wakeup pins)
  • 0.475 μA stop mode (16 wakeup lines)
  • 230 μA/MHz run mode
  • Arm® Cortex®-M3 32-bit CPU with Memory protection unit
  • Up to 23 capacitive sensing channels
  • CRC calculation unit, 96-bit unique ID
  • Low-power, ultrasafe BOR (brownout reset) with 5 selectable thresholds
  • Pre-programmed bootloader (USB and USART supported)
  • Serial wire debug, JTAG and trace
  • 102 I/Os 5V tolerant
  • LCD driver (except STM32L151xC/C-A devices) up to 8x40 segments
  • 2x operational amplifiers
  • 2x ultra-low-power-comparators
  • DMA controller 12x channels
  • 1x USB 2.0
  • 3x USARTs
  • Up to 8x SPIs (2x I2S)
  • 2x I2Cs (SMBus/PMBus)
  • 11x timers (1x 32-bit, 6x 16-bit, 2x 16-bit basic, 2x watchdog)

Applications:

  • null

Package:

  • LQFP64
  • WLCSP64
  • LQFP100
  • UFBGA132
  • LQFP144

Features

  • Ultra-low-power platform
    • 1.65 V to 3.6 V power supply
    • -40°C to 105°C temperature range
    • 305 nA standby mode (3 wakeup pins)
    • 1.15 μA standby mode + RTC
    • 0.475 μA stop mode (16 wakeup lines)
    • 1.35 μA stop mode + RTC
    • 11 μA Low-power run mode
    • 230 μA/MHz run mode
    • 10 nA ultra-low I/O leakage
    • 8 μs wakeup time
  • Core: Arm® Cortex®-M3 32-bit CPU
    • From 32 kHz up to 32 MHz max
    • 1.25 DMIPS/MHz (Dhrystone 2.1)
    • Memory protection unit
  • Up to 23 capacitive sensing channels
  • CRC calculation unit, 96-bit unique ID
  • Reset and supply management
    • Low-power, ultrasafe BOR (brownout reset) with 5 selectable thresholds
    • Ultra-low-power POR/PDR
    • Programmable voltage detector (PVD)
  • Clock sources
    • 1 to 24 MHz crystal oscillator
    • 32 kHz oscillator for RTC with calibration
    • High Speed Internal 16 MHz factorytrimmed RC (+/- 1%)
    • Internal low-power 37 kHz RC
    • Internal multispeed low-power 65 kHz to 4.2 MHz
    • PLL for CPU clock and USB (48 MHz)
  • Pre-programmed bootloader
    • USB and USART supported
  • Serial wire debug, JTAG and trace

  • Up to 116 fast I/Os (102 I/Os 5V tolerant), all mappable on 16 external interrupt vectors
  • Memories
    • 256 Kbytes of Flash memory with ECC
    • 32 Kbytes of RAM
    • 8 Kbytes of true EEPROM with ECC
    • 128-byte backup register
  • LCD driver (except STM32L151xC/C-A devices) up to 8x40 segments, contrast adjustment, blinking mode, step-up converter
  • Rich analog peripherals (down to 1.8V)
    • 2x operational amplifiers
    • 12-bit ADC 1 Msps up to 40 channels
    • 12-bit DAC 2 ch with output buffers
    • 2x ultra-low-power-comparators (window mode and wake up capability)
  • DMA controller 12x channels
  • 9x peripheral communication interfaces
    • 1x USB 2.0 (internal 48 MHz PLL)
    • 3x USARTs
    • Up to 8x SPIs (2x I2S, 3x 16 Mbit/s)
    • 2x I2Cs (SMBus/PMBus)
  • 11x timers: 1x 32-bit, 6x 16-bit with up to 4 IC/OC/PWM channels, 2x 16-bit basic timers, 2x watchdog timers (independent and window)

Table 1. Device summary

ReferencePart numbers
STM32L151QCSTM32L151QCH6
STM32L151RC-ASTM32L151RCT6A, STM32L151RCY6
STM32L151VC-ASTM32L151VCT6A
STM32L151ZCSTM32L151ZCT6
STM32L152QCSTM32L152QCH6
STM32L152RC-ASTM32L152RCT6A
STM32L152VC-ASTM32L152VCT6A
STM32L152ZCSTM32L152ZCT6

Pin Configuration

Figure 3. STM32L15xRC-A LQFP64 pinout

  1. This figure shows the package top view.

Figure 4. STM32L15xRC WLCSP64 ballout

12345678
AVDD_2PC10PD2PB3PB5BOOT0VSS_3VDD_3
BVSS_2PA14PC11PB4PB6PB9PC15-
OSC32_OUT
PC14-
OSC32_IN
CPA11PA12PA15PC12PB7VLCDNRSTPC13-
WKUP2
DPC9PA9PA10PA13PB8PC2PH1-
OSC_OUT
PH0-
OSC_IN
EPC6PC7PC8PA8PA5PA1VSSAPC0
FPB15PB14PB11PB1VSS_4PA0-
WKUP1
PC3PC1
GPB13PB12PB10PA7PA6VDD_4PA3VDDA
HVDD_1VSS_1PB2PB0PC5PC4PA4PA2
MS31070V1
  1. This figure shows the package top view.

Figure 5. STM32L15xVC-A LQFP100 pinout

  1. This figure shows the package top view.

47/

Figure 6. STM32L15xQC UFBGA132 ballout

123456789101112
Α(PE3)(PE1)(PB8)BOOTO(PD7)PD5(PB4)(PB3)PA15PA14(PA13)PA12
B(PE4)PE2(PB9)(PB7)(PB6)PD6PD4PD3(PD1)C12PC10PA11)
CPC13
WKUP2
PE5(PEO)(VDD)3(PB5)G14(G13)PD2PDOPC11)PH2(PA10)
DPC14-
OSC32
VKUP3(VSS)3(PF2)(PF1)(PF0)G12(G10)PG9PA9PA8PC9
EPC16-
OSC32
OUT
(LCD(VSS)6(PF3)PG5PC8PC7PC6
FPHO
OSC IN
VSS)5PF4(PF5)(SS)VSS_0PG3PG4(SS_)2(SS)1
GPH1
(OSC)
OUT
VDD_5PF6(PF7)VDD_9VDD_10(PG1)PG2(DD)2(DD)1
H(PC0)(IRST)(VDD)6PF8PG0D15PD14PD13
J(SSA)PC1PC2PA4(PA7)PF9PF12(PF14)(PF15)PD12PD11PD10
KOPAMP3
VINM
PC3(PA2)PA5PC4(PF11)PF13(PD9)PD8PB15PB14PB13
L(REF)+PAO-
WKUP1
(PA3)PA6PC5(PB2)PE8PE10PE12PB10(PB11)PB12
M(DDA)(PA1)OPAMP1
VINM
OPAMP2
VINM
(PB0)(PB1)PE7PE9(PE11)PE13PE14PE15
  1. This figure shows the package top view.

V V V V V V V V V V V V V V V V V V V _____________________________________ {c} 44474747474747474747474747474747474747 108 VDD_2 107 VSS_2 PE2 □ PE3 □ PE4 D 106 PH2 105 PA13 3 104 PA12 103 PA11 PE6-WKUP3 VLCD 🗖 PC13-WKUP2 DPC14-OSC32_IN D 102 PA10 101 PA9 100 PA8 99 PC9 PC15-OSC32_OUT PF0 10 PF1 | 11 PF2 | 12 98 E PC8 97 🗖 PC7 96 | PC6 95 | VDD_9 94 | VSS_9 PF3 13 PF4 PF4 🗖 14 93 ( \begin{array}{c} \text{PG8} \ \text{PG8} \end{array} LQFP144 92 | PG7 91 | PG6 90 | PG5 89 F PG4 88 85 E PD14 84 | VDD_8 84 D VDD_8 83 D VSS_8 82 D PD13 81 D PD12 80 D PD11 79 D PD10 78 D PD9 77 D PD8 PC3 🗖 29 VSSA VDDA D 76 PB15 75 PB14 33 34 PA1 D 74 PB13 73 PB12 35 36 {c} 33.8 2.8 2.8 2.8 2.8 2.8 2.8 2.8 2 PA3 (SS.4 PA4 PA5 PA6 PA7 PA7 PA7 PA7 PB11 PF11 PF12 PE13 PE14 PE14 PE14 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 PE17 P MS18581V2

Figure 7. STM32L15xZC LQFP144 pinout

  1. This figure shows the package top view.

47/

Table 7. Legend/abbreviations used in the pinout table

NameAbbreviationDefinition
Pin rnamee specified in brackets below the pin name, the pin function reset is the same as the actual pin name
SSupply pin
PintypeIInput only pin
I/OInput / output pin
FT5 V tolerant I/O
I/O etructureTCStandard 3.3 V I/O
1/0 511uctureBDedicated BOOT0 pin
RSTBidirectional reset pin with embedded weak pull-up resistor
NotesUnless otherwis and after resete specified by a note, all I/Os are set as floating inputs during
Alternate functionsFunctions selectted through GPIOx_AFR registers
Pin
functions
Additional functionsFunctions directly selected/enabled through peripheral registers

FPinsPin functionıs
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type (1)I / O structureMain
function (2)
(after reset)
Alternate functionsAdditional
functions
1B21--PE2I/OFTPE2TIM3_ETR/LCD_SEG38/
TRACECLK
-
2A12--PE3I/OFTPE3TIM3_CH1/LCD_SEG39/
TRACED0
-
3B13--PE4I/OFTPE4TIM3_CH2/TRACED1-
4C24--PE5I/OFTPE5TIM9_CH1/TRACED2-
5D25ııPE6-
WKUP3
I/OFTPE6TIM9_CH2/TRACED3WKUP3/
RTC_TAMP3
6E261C6V LCD (3)S-VLCD--

Table 8. STM32L151xC/C-A and STM32L152xC/C-A pin definitions (continued)

PinsPin functions
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type(1)I / O structureMain
function(2)
(after reset)
Alternate functions
7C172C8PC13-
WKUP2
I/OFTPC13-
8D183B8PC14-
OSC32_IN(4)
I/OTCPC14-
9E194B7PC15-
OSC32_OUT
I/OTCPC15-
10D6---PF0I/OFTPF0-
11D5---PF1I/OFTPF1-
12D4---PF2I/OFTPF2-
13E4---PF3I/OFTPF3-
14F3---PF4I/OFTPF4-
15F4---PF5I/OFTPF5-
16F210--VSS_5S-VSS_5-
17G211--VDD_5S-VDD_5-
18G3---PF6I/OFTPF6TIM5_CH1/TIM5_ETR
19G4---PF7I/OFTPF7TIM5_CH2
20H4---PF8I/OFTPF8TIM5_CH3
21J6---PF9I/OFTPF9TIM5_CH4
22----PF10I/OFTPF10-
23F1125D8PH0-
OSC_IN(5)
I/OTCPH0-
24G1136D7PH1-
OSC_OUT(5)
I/OTCPH1-
25H2147C7NRSTI/ORSTNRST-
26H1158E8PC0I/OFTPC0LCD_SEG18

Table 8. STM32L151xC/C-A and STM32L152xC/C-A pin definitions (continued)

FPinsPin functionns
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type (1)I / O structureMain
function (2)
(after reset)
Alternate functionsAdditional
functions
27J2169F8PC1I/OFTPC1LCD_SEG19ADC_IN11/
COMP1_INP
28-1710D6PC2I/OFTPC2LCD_SEG20ADC_IN12/
COMP1_INP
-J31--PC2I/OFTPC2LCD_SEG20ADC_IN12/
COMP1_INP
-K11--Ι1--
29K21811F7PC3I/OTCPC3LCD_SEG21ADC_IN13/
COMP1_INP/
30J11912E7VSSAS-VSSA--
31-20--V REF-S-V REF---
32L121--V REF+S-V REF+--
33M12213G8VDDAS-VDDA--
34L22314F6PA0-WKUP1I/OFTPA0TIM2_CH1_ETR/
TIM5_CH1/ USART2_CTS
WKUP1/
RTC_TAMP2/
ADC_IN0/
COMP1_INP
35M22415E6PA1I/OFTPA1TIM2_CH2/TIM5_CH2/
USART2_RTS/
LCD_SEG0
ADC_IN1/
COMP1_INP/
OPAMP1_VINP
3612516H8PA2I/OFTPA2TIM2_CH3/TIM5_CH3/
TIM9_CH1/
USART2_TX/LCD_SEG1
ADC_IN2/
COMP1_INP/
OPAMP1_VINM
-1ı-PA2I/OFTPA2TIM2_CH3/TIM5_CH3/
TIM9_CH1/
USART2_TX/LCD_SEG1
ADC_IN2/
COMP1_INP
-M3---OPAMP1_VI
NM
ITCOPAMP1_
VINM
--
37L32617G7PA3I/OTCPA3TIM2_CH4/TIM5_CH4/
TIM9_CH2/
USART2_RX/LCD_SEG2
ADC_IN3/
COMP1_INP/
OPAMP1_VOUT
38-2718F5V SS_4S-V SS_4--

Table 8. STM32L151xC/C-A and STM32L152xC/C-A pin definitions (continued)

FPinsPin function,
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type (1)I / O structureMain
function (2)
(after reset)
Alternate functionsAdditional
functions
39-2819G6V DD_4S-V DD_4--
40J42920H7PA4I/OTCPA4SPI1_NSS/SPI3_NSS/
I2S3_WS/USART2_CK
ADC_IN4/
DAC_OUT1/
COMP1_INP
41K43021E5PA5I/OTCPA5TIM2_CH1_ETR/
SPI1_SCK
ADC_IN5/
DAC_OUT2/
COMP1_INP
42L43122G5PA6I/OFTPA6TIM3_CH1/TIM10_CH1/
SPI1_MISO/
LCD_SEG3
ADC_IN6/
COMP1_INP/
OPAMP2_VINP
4313223G4PA7I/OFTPA7TIM3_CH2/TIM11_CH1/
SPI1_MOSI/
LCD_SEG4
ADC_IN7/
COMP1_INP/
OPAMP2_VINM
-J5111PA7I/OFTPA7TIM3_CH2/TIM11_CH1/
SPI1_MOSI/
LCD_SEG4
ADC_IN7/
COMP1_INP
-M4111OPAMP2_VI
NM
IтcOPAMP2_V
INM
--
44K53324H6PC4I/OFTPC4LCD_SEG22ADC_IN14/
COMP1_INP
45L53425H5PC5I/OFTPC5LCD_SEG23ADC_IN15/
COMP1_INP
46M53526H4PB0I/OTCPB0TIM3_CH3/LCD_SEG5ADC_IN8/
COMP1_INP/
OPAMP2_VOUT/
VREF_OUT
47M63627F4PB1I/OFTPB1TIM3_CH4/LCD_SEG6ADC_IN9/
COMP1_INP/
VREF_OUT
48L63728PB2I/OFTPB2/
BOOT1
BOOT1ADC_IN0b
49K6-ı-PF11I/OFTPF11-ADC_IN1b
50J7--_PF12I/OFTPF12-ADC_IN2b
51E3---V SS_6S-V SS_6--
52H3---VDD6S-VDD6--

Table 8. STM32L151xC/C-A and STM32L152xC/C-A pin definitions (continued)

PinsPin functions
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type(1)I / O structureMain
function(2)
(after reset)
Alternate functions
53K7---PF13I/OFTPF13-
54J8---PF14I/OFTPF14-
55J9---PF15I/OFTPF15-
56H9---PG0I/OFTPG0-
57G9---PG1I/OFTPG1-
58M738--PE7I/OTCPE7-
59L739--PE8I/OTCPE8-
60M840--PE9I/OTCPE9TIM2_CH1_ETR
61----VSS_7S-VSS_7-
62----VDD_7S-VDD_7-
63L841--PE10I/OTCPE10TIM2_CH2
64M942--PE11I/OFTPE11TIM2_CH3
65L943--PE12I/OFTPE12TIM2_CH4/SPI1_NSS
66M1044--PE13I/OFTPE13SPI1_SCK
67M1145--PE14I/OFTPE14SPI1_MISO
68M1246--PE15I/OFTPE15SPI1_MOSI
69L104729G3PB10I/OFTPB10TIM2_CH3/I2C2_SCL/
USART3_TX/
LCD_SEG10
70L114830F3PB11I/OFTPB11TIM2_CH4/ I2C2_SDA/
USART3_RX/ LCD_SEG11
71F124931H2VSS_1S-VSS_1-
72G125032H1VDD_1S-VDD_1-
73L125133G2PB12I/OFTPB12TIM10_CH1/I2C2_SMBA/
SPI2_NSS/ I2S2_WS/
USART3_CK/ LCD_SEG12

Table 8. STM32L151xC/C-A and STM32L152xC/C-A pin definitions (continued)

PinsPin functions
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type(1)I / O structureMain
function(2)
(after reset)
Alternate functions
74K125234G1PB13I/OFTPB13TIM9_CH1/SPI2_SCK/
I2S2_CK/
USART3_CTS/
LCD_SEG13
75K115335F2PB14I/OFTPB14TIM9_CH2/SPI2_MISO/
USART3_RTS/
LCD_SEG14
76K105436F1PB15I/OFTPB15TIM11_CH1/SPI2_MOSI/
I2S2_SD/
LCD_SEG15
77K955--PD8I/OFTPD8USART3_TX/LCD_SEG28
78K856--PD9I/OFTPD9USART3_RX/LCD_SEG29
79J1257--PD10I/OFTPD10USART3_CK/LCD_SEG30
80J1158--PD11I/OFTPD11USART3_CTS/LCD_SEG31
81J1059--PD12I/OFTPD12TIM4_CH1/USART3_RTS/
LCD_SEG32
82H1260--PD13I/OFTPD13TIM4_CH2/LCD_SEG33
83----VSS_8S-VSS_8-
84----VDD_8S-VDD_8-
85H1161--PD14I/OFTPD14TIM4_CH3/LCD_SEG34
86H1062--PD15I/OFTPD15TIM4_CH4/LCD_SEG35
87G10---PG2I/OFTPG2-
88F9---PG3I/OFTPG3-
89F10---PG4I/OFTPG4-
90E9---PG5I/OFTPG5-
91----PG6I/OFTPG6-
92----PG7I/OFTPG7-
93----PG8I/OFTPG8-
94F6---VSS_9S-VSS_9-
95G6---VDD_9S-VDD_9-

Table 8. STM32L151xC/C-A and STM32L152xC/C-A pin definitions (continued)

PinsPin functions
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type(1)I / O structureMain
function(2)
(after reset)
Alternate functions
96E126337E1PC6I/OFTPC6TIM3_CH1/I2S2_MCK/
LCD_SEG24
97E116438E2PC7I/OFTPC7TIM3_CH2/I2S3_MCK/
LCD_SEG25
98E106539E3PC8I/OFTPC8TIM3_CH3/LCD_SEG26
99D126640D1PC9I/OFTPC9TIM3_CH4/LCD_SEG27
100D116741E4PA8I/OFTPA8USART1_CK/MCO/
LCD_COM0
101D106842D2PA9I/OFTPA9USART1_TX / LCD_COM1
102C126943D3PA10I/OFTPA10USART1_RX / LCD_COM2
103B127044C1PA11I/OFTPA11USART1_CTS/ SPI1_MISO
104A127145C2PA12I/OFTPA12USART1_RTS/ SPI1_MOSI
105A117246D4PA13I/OFTJTMS
SWDIO
JTMS-SWDIO
106C1173--PH2I/OFTPH2-
107F117447B1VSS_2S-VSS_2-
108G117548A1VDD_2S-VDD_2-
109A107649B2PA14I/OFTJTCK
SWCLK
JTCK-SWCLK
110A97750C3PA15I/OFTJTDITIM2_CH1_ETR/
SPI1_NSS/SPI3_NSS/
I2S3_WS/LCD_SEG17/
JTDI
111B117851A2PC10I/OFTPC10SPI3_SCK/I2S3_CK/
USART3_TX/
LCD_SEG28/LCD_SEG40/
LCD_COM4
112C107952B3PC11I/OFTPC11SPI3_MISO/USART3_RX/
LCD_SEG29/LCD_SEG41/
LCD_COM5

Table 8. STM32L151xC/C-A and STM32L152xC/C-A pin definitions (continued)

PinsPin functions
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type(1)I / O structureMain
function(2)
(after reset)
Alternate functions
113B108053C4PC12I/OFTPC12SPI3_MOSI/I2S3_SD/
USART3_CK/LCD_SEG30/
LCD_SEG42/
LCD_COM6
114C981--PD0I/OFTPD0TIM9_CH1/SPI2_NSS/
I2S2_WS
115B982--PD1I/OFTPD1SPI2_SCK/I2S2_CK
116C88354A3PD2I/OFTPD2TIM3_ETR/LCD_SEG31/
LCD_SEG43/LCD_COM7
117B884--PD3I/OFTPD3SPI2_MISO/USART2_CTS
118B785--PD4I/OFTPD4SPI2_MOSI/I2S2_SD/
USART2_RTS/
119A686--PD5I/OFTPD5USART2_TX
120F7---VSS_10S-VSS_10-
121G7---VDD_10S-VDD_10-
122B687--PD6I/OFTPD6USART2_RX
123A588--PD7I/OFTPD7TIM9_CH2/USART2_CK
124D9---PG9I/OFTPG9-
125D8---PG10I/OFTPG10-
126----PG11I/OFTPG11-
127D7---PG12I/OFTPG12-
128C7---PG13I/OFTPG13-
129C6---PG14I/OFTPG14-
130----VSS_11S-VSS_11-
131----VDD_11S-VDD_11-
132----PG15I/OFTPG15-
133A88955A4PB3I/OFTJTDOTIM2_CH2/SPI1_SCK/
SPI3_SCK/ I2S3_CK/
LCD_SEG7/JTDO

Table 8. STM32L151xC/C-A and STM32L152xC/C-A pin definitions (continued)

PinsPin functions
LQFP144UFBGA132LQFP100LQFP64WLCSP64Pin namePin Type(1)I / O structureMain
function(2)
(after reset)
Alternate functions
134A79056B4PB4I/OFTNJTRSTTIM3_CH1/SPI1_MISO/
SPI3_MISO/
LCD_SEG8/NJTRST
135C59157A5PB5I/OFTPB5TIM3_CH2/I2C1_SMBA/
SPI1_MOSI/
SPI3_MOSI/
I2S3_SD/LCD_SEG9
136B59258B5PB6I/OFTPB6TIM4_CH1/I2C1_SCL/
USART1_TX/
137B49359C5PB7I/OFTPB7TIM4_CH2/I2C1_SDA/
USART1_RX
138A49460A6BOOT0IBBOOT0-
139A39561D5PB8I/OFTPB8TIM4_CH3/TIM10_CH1/
I2C1_SCL/
LCD_SEG16
140B39662B6PB9I/OFTPB9TIM4_CH4/
TIM11_CH1/I2C1_SDA/
LCD_COM3
141C397--PE0I/OFTPE0TIM4_ETR/TIM10_CH1/
LCD_SEG36
142A298--PE1I/OFTPE1TIM11_CH1/LCD_SEG37
143D39963A7VSS_3S-VSS_3-
144C410064A8VDD_3S-VDD_3-

1. I = input, O = output, S = supply.

2. Function availability depends on the chosen device.

3. Applicable to STM32L152xD devices only. In STM32L151xD devices, this pin should be connected to VDD.

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 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).

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.

Ta
b
le
9.
A
l
te
fu
te
rn
a
t
io
in
nc
n
/o
t
tp
t
p
u
u
u
D
ig
i
l a
l
ta
te
fu
te
rn
a
ion
be
t
nc
n
um
A
F
I
O
0
A
F
I
O
1
A
F
I
O
2
A
F
I
O
3
A
F
I
O
4
A
F
I
O
5
A
F
I
O
6
A
F
I
O
7
Po
t n
r
am
e
A
l
te
te
fu
rn
a
t
ion
nc
S
Y
S
T
E
M
T
I
M
2
T
I
M
3
/
4
/
5
T
/ 1
I
M
9
/
0
1
1
I
2
C
1
/
2
S
P
I
1
/
2
S
P
I
3
U
S
A
R
T
1
/
2
/
3
BO
OT
0
BO
OT
0
-------
NR
ST
NR
ST
-------
PA
0-W
KU
P1
-TIM
2_
CH
1_
ET
R T
IM5
CH
1
_
----US
AR
T2_
CT
S
PA
1
-TIM
2_
CH
2
TIM
5_
CH
2
----US
AR
T2_
RT
S
PA
2
-TIM
2_
CH
3
TIM
5_
CH
3 T
IM9
CH
1
_
---US
AR
T2_
TX
3
PA
-2_
CH
TIM
4
CH
TIM
5_
IM9
CH
2
4 T
_
---US
T2_
AR
RX
PA4-----SP
I1_
NS
S
SP
S I2S
I3_
NS
3_
WS
US
AR
T2_
CK
PA
5
-TIM
2_
CH
1_
ET
R
---SP
I1_
SC
K
--
PA
6
--TIM
3_
CH
1 T
IM1
0_
CH
1
-SP
I1_
MIS
O
--
PA
7
--TIM
3_
CH
2 T
IM1
1_
CH
1
-SP
I1_
MO
SI
--
PA
8
MC
O
------US
CK
AR
T1_
PA
9
-------US
AR
T1_
TX
PA
10
-------US
AR
T1_
RX
PA
11
-----SP
I1_
MIS
O
-US
AR
T1_
CT
S

Electrical Characteristics

The definition and values of input/output AC characteristics are given in Figure 18 and Table 44, respectively.

Unless otherwise specified, the parameters given in Table 44 are derived from tests performed under the conditions summarized in Table 13.

Table 44. I/O AC characteristics(1)

OSPEEDRx
[1:0] bit
value(1)
SymbolParameterConditionsMinMax(2)Unit
Maximum frequency(3)CL = 50 pF, VDD = 2.7 V to 3.6 V-400
fmax(IO)outCL = 50 pF, VDD = 1.65 V to 2.7 V-400kHz
00tf(IO)outCL = 50 pF, VDD = 2.7 V to 3.6 V-625
tr(IO)outOutput rise and fall timeCL = 50 pF, VDD = 1.65 V to 2.7 V-625ns
Maximum frequency(3)CL = 50 pF, VDD = 2.7 V to 3.6 V-2
fmax(IO)outCL = 50 pF, VDD = 1.65 V to 2.7 V-1MHz
01tf(IO)out
tr(IO)out
CL = 50 pF, VDD = 2.7 V to 3.6 V
Output rise and fall time
CL = 50 pF, VDD = 1.65 V to 2.7 V
-125
-250ns
CL = 50 pF, VDD = 2.7 V to 3.6 V-10
Fmax(IO)outMaximum frequency(3)CL = 50 pF, VDD = 1.65 V to 2.7 V-2MHz
10tf(IO)outCL = 50 pF, VDD = 2.7 V to 3.6 V-25ns
tr(IO)outOutput rise and fall timeCL = 50 pF, VDD = 1.65 V to 2.7 V-125
CL = 30 pF, VDD = 2.7 V to 3.6 V-50
Fmax(IO)outMaximum frequency(3)CL = 50 pF, VDD = 1.65 V to 2.7 V-8MHz
11tf(IO)outCL = 30 pF, VDD = 2.7 V to 3.6 V-5
tr(IO)outOutput rise and fall timeCL = 50 pF, VDD = 1.65 V to 2.7 V-30
-tEXTIpwPulse width of external
signals detected by the
EXTI controller
-8-ns

2. Guaranteed by design.

3. The maximum frequency is defined in Figure 18.

Figure 18. I/O AC characteristics definition

Absolute Maximum Ratings

Stresses above the absolute maximum ratings listed in Table 10: Voltage characteristics, Table 11: Current characteristics, and Table 12: Thermal characteristics may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.

SymbolRatingsMinMaxUnit
VDD–VSSExternal main supply voltage
(1)
(including VDDA and VDD)
–0.34.0
VIN(2)Input voltage on five-volt tolerant pinVSS - 0.3VDD+4.0V
Input voltage on any other pinVSS
- 0.3
4.0
ΔVDDxVariations between different VDD power pins-50
VSSX - VSSVariations between all different ground pins(3)-50mV

VREF+ –VDDA Allowed voltage difference for VREF+ > VDDA - 0.4 V

Table 11. Current characteristics

(human body model) see Section 6.3.11 -

Table 10. Voltage characteristics

Electrostatic discharge voltage

VESD(HBM)

Symbol Ratings Max. Unit

SymbolRatingsMax.Unit
IVDD(Σ)Total current into sum of all VDD_x power lines (source)(1)100
(2)
IVSS(Σ)
Total current out of sum of all VSS_x ground lines (sink)(1)100
IVDD(PIN)Maximum current into each VDD_x power pin (source)(1)70
IVSS(PIN)Maximum current out of each VSS_x ground pin (sink)(1)-70
Output current sunk by any I/O and control pin25
IIOOutput current sourced by any I/O and control pin- 25mA
Total output current sunk by sum of all IOs and control pins(2)60
ΣIIO(PIN)Total output current sourced by sum of all IOs and control pins(2)-60
Injected current on five-volt tolerant I/O(4), RST and B pins-5/+0
IINJ(PIN) (3)Injected current on any other pin (5)± 5
ΣIINJ(PIN)Total injected current (sum of all I/O and control pins)(6)± 25

1. All main power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to the external power supply, in the permitted range.

2. VIN maximum must always be respected. Refer to Table 11 for maximum allowed injected current values.

3. Include VREF- pin.

2. This current consumption must be correctly distributed over all I/Os and control pins. The total output current must not be sunk/sourced between two consecutive power supply pins referring to high pin count LQFP packages.

3. Negative injection disturbs the analog performance of the device. See note in Section 6.3.17.

  • Positive current injection is not possible on these I/Os. A negative injection is induced by VIN<VSS. IINJ(PIN) must never be exceeded. Refer to Table 10 for maximum allowed input voltage values.
    1. A positive injection is induced by VIN > VDD while a negative injection is induced by VIN < VSS. IINJ(PIN) must never be exceeded. Refer to Table 10: Voltage characteristics for the maximum allowed input voltage values.
    1. When several inputs are submitted to a current injection, the maximum ΣIINJ(PIN) is the absolute sum of the positive and negative injected currents (instantaneous values).

Table 12. Thermal characteristics

SymbolRatingsValueUnit
T STGStorage temperature range-65 to +150°C
T JMaximum junction temperature150°C

Thermal Information

The maximum chip-junction temperature, TJ max, in degrees Celsius, may be calculated using the following equation:

TJ max = TA max + (PD max × ΘJA)

Where:

  • TA max is the maximum ambient temperature in °C,
  • ΘJA is the package junction-to-ambient thermal resistance, in °C/W,
  • PD max is the sum of PINT max and PI/O max (PD max = PINT max + PI/Omax),
  • PINT max is the product of IDD and VDD, expressed in Watts. This is the maximum chip internal power.

PI/O max represents the maximum power dissipation on output pins where:

$PI/O max = sum (VOL × IOL) + sum ((VDD - VOH) × IOH),$

taking into account the actual VOL / IOL and VOH / IOH of the I/Os at low and high level in the application.

SymbolParameterValueUnit
Thermal resistance junction-ambient
LQFP144 - 20 x 20 mm / 0.5 mm pitch
40
Thermal resistance junction-ambient
UFBGA132 - 7 x 7 mm
60
ΘJAThermal resistance junction-ambient
LQFP100 - 14 x 14 mm / 0.5 mm pitch
43°C/W
Thermal resistance junction-ambient
LQFP64 - 10 x 10 mm / 0.5 mm pitch
46
Thermal resistance junction-ambient
WLCSP64 - 0.400 mm pitch
46

Figure 46. Thermal resistance suffix 6

7.6.1 Reference document

JESD51-2 Integrated Circuits Thermal Test Method Environment Conditions - Natural Convection (Still Air). Available from www.jedec.org.

Related Variants

The following components are covered by the same datasheet.

Part NumberManufacturerPackage
SMTWEM2515STRSMD
STM32L151QC
STM32L151RC-A
STM32L151VC-A
STM32L151ZC
STM32L152QC
STM32L152VC-A
STM32L152ZC
STM32L15X
Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Get structured datasheet data via API

Get started free