STMicroelectronics STM32L152R8H6
- Part No.:
- STM32L152R8H6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 64-TFBGA
- Datasheet:
-
STM32L152R8H6.pdf
- Description:
- IC MCU 32BIT 64KB FLASH 64TFBGA
- Quantity:
- Payment:

- Shipping:

Inventory:4,496
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32L152R8H6 from STMicroelectronics is an ultra-low-power 32-bit ARM® Cortex®-M3 microcontroller featuring 128 KB Flash, 16 KB SRAM, 4 KB EEPROM with ECC, integrated LCD controller (up to 8×40 segments), and USB 2.0 interface. It operates from 1.65 V to 3.6 V across -40°C to +85°C, supports 32 MHz max CPU frequency, and delivers 214 µA/MHz active current consumption - optimized for battery-powered industrial sensors and portable medical devices.
For engineers reviewing the STM32L152R8H6 datasheet, STM32L152R8H6 pinout, STM32L152R8H6 application, or STM32L152R8H6 equivalent, key selection criteria include ultra-low-power mode timing (e.g., 0.57 µA Stop mode), dual 12-bit DAC channels with buffers, 24-channel 1 Msps ADC, USB 2.0 compliance with internal 48 MHz PLL, and 73 I/Os (5V-tolerant) mappable to 16 external interrupt vectors.
Technical Context
The STM32L152R8H6 integrates a Cortex-M3 core with MPU, dynamic voltage scaling, and five low-power modes (Run, Sleep, Low-power Run/Sleep, Stop, Standby) governed by programmable voltage detector (PVD) and ultra-safe BOR with five thresholds. Its clock system combines HSE (1–24 MHz), LSE (32.768 kHz RTC), HSI (16 MHz ±1%), LSI (37 kHz), and MSI (65 kHz–4.2 MHz), plus a dedicated USB PLL generating 48 MHz.
Analog subsystem includes two independent 12-bit DACs with output buffers, a 24-channel 12-bit ADC (1 Msps), two ultra-low-power comparators with window mode and wake-up capability, and on-chip temperature sensor/VREFINT. The LCD controller supports contrast adjustment, blinking, and integrated step-up converter - exclusive to STM32L152 variants.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | ARM Cortex-M3, 32-bit, up to 32 MHz - enables deterministic real-time control with 1.25 DMIPS/MHz performance. |
| Memory | 128 KB Flash (ECC), 16 KB SRAM, 4 KB EEPROM (ECC) - ensures data integrity in harsh environments and long-term firmware/data retention. |
| Power Consumption | 0.57 µA Stop mode (16 wakeup lines); 9 µA Low-power run mode - extends battery life in intermittent-sensing applications beyond 10 years. |
| Analog Peripherals | 12-bit ADC (24 ch, 1 Msps), 2×12-bit DAC (buffered), 2×ULP comparators - supports precision sensor signal chain without external components. |
| Communication | 1×USB 2.0 (48 MHz PLL), 3×USART, 2×SPI (16 Mbit/s), 2×I²C (SMBus/PMBus) - enables mixed wired connectivity including ISO 7816 smart card and IrDA protocols. |
| Timers & Control | 10 timers: 6×16-bit GP (4×PWM/OC/IC), 2×basic, 2×WDT - provides flexible PWM generation, time-critical event capture, and safety-critical watchdog supervision. |
| I/O & Packaging | 73 I/Os (5V tolerant), LQFP64 package (10 × 10 mm) - simplifies PCB layout with robust level-shifting and compact footprint for space-constrained designs. |
Pinout & Package
LQFP64 (10 × 10 mm, 0.5 mm pitch) package with exposed thermal pad; 64-pin quad flat configuration supporting full peripheral remapping and 5V-tolerant I/Os.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domains: VDD powers digital/analog peripherals; VSS reference for all I/Os and analog circuits. |
| PA0–PA15, PB0–PB15, PC0–PC15, PD0–PD15, PE0–PE15 | General-purpose I/O | 73 total GPIOs (5V tolerant), each configurable as input/output/alternate function/interrupt source with pull-up/down. |
| NRST | Active-low reset input | Asynchronous reset pin with Schmitt trigger; accepts external reset pulses or internal BOR/POR signals. |
| BOOT0 | Boot mode selection | High at reset selects system memory bootloader; low selects user Flash - enables field firmware recovery via USART. |
| USB_DP / USB_DM | USB 2.0 differential data pair | Full-speed (12 Mbps) interface with internal transceiver and 48 MHz PLL clock - eliminates need for external crystal or PHY. |
| OSC_IN / OSC_OUT | HSE crystal oscillator terminals | Supports 1–24 MHz external crystal for precise timing; optional bypass mode for external clock source. |
| RTC_OUT / RTC_IN | Real-time clock oscillator | Connects to 32.768 kHz crystal; includes calibration register for ±1 ppm accuracy over temperature. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power architecture | 0.3 µA Standby (3 wakeup pins), <8 µs wake-up time - enables sub-second response from deep sleep in energy-harvesting nodes. |
| Integrated LCD controller | Drives up to 8×40 segments with on-board step-up converter and contrast control - eliminates external bias generator in portable displays. |
| True EEPROM with ECC | 4 KB of byte-erasable, 100k-cycle endurance EEPROM with error correction - replaces external serial EEPROM in data-logging applications. |
| Capacitive touch sensing | 20-channel CTSU supporting touchkey, linear, and rotary sensors - enables intuitive HMI without dedicated touch controller IC. |
| Development support | SWD debug, JTAG trace, pre-programmed USART bootloader - accelerates firmware validation and field updates without dedicated programmer. |
Applications
| Smart Utility Meter | Portable ECG Monitor |
|---|---|
|
Use Scenario: Battery-powered electricity/water/gas meter with LCD display, tamper detection, and periodic RF transmission. IC Role / Device Role / Timing Role: Main system controller managing metrology ADC sampling, LCD refresh, RTC-based billing intervals, and secure data storage in EEPROM. Use Value: 0.9 µA Standby+RTC enables >15-year battery life; integrated LCD driver reduces BOM count by 3 components; USB enables field calibration. |
Use Scenario: Handheld electrocardiogram device acquiring analog biopotentials, performing real-time filtering, and displaying waveforms. IC Role / Device Role / Timing Role: Signal acquisition hub using 24-channel ADC for multi-lead sensing, dual DAC for reference generation, and LCD for real-time waveform rendering. Use Value: 1 Msps ADC resolution preserves QRS complex fidelity; 12-bit DACs generate precise bias voltages; ultra-low leakage (<10 nA) prevents signal drift. |
| Industrial Wireless Sensor Node | Asset Tracking Beacon |
|
Use Scenario: Temperature/humidity/pressure node in factory automation, transmitting data via LoRaWAN or NB-IoT every 10 minutes. IC Role / Device Role / Timing Role: Power-aware host MCU coordinating sensor readout, CRC-protected data packaging, and low-duty-cycle radio wake-up scheduling. Use Value: 9 µA Low-power run mode minimizes active-time energy; 16 wakeup lines enable precise sensor-triggered wake; DMA offloads CPU during SPI/I²C transfers. |
Use Scenario: GPS-denied indoor asset tracker using BLE beaconing and motion-triggered location logging. IC Role / Device Role / Timing Role: Motion-aware controller using internal comparators for wake-on-movement, accelerometer interface via I²C, and non-volatile event timestamping. Use Value: Ultra-low I/O leakage (<10 nA) prevents false triggers; backup registers retain timestamps across power cycles; 4 KB EEPROM stores encrypted location history. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power ARM Cortex-M3 microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32L072RBT6 | Lower Flash (128 KB same), but only 20 KB RAM, no LCD controller, no USB, single 12-bit DAC - uses Cortex-M0+ core. | Suitable for simpler sensor nodes without display or USB connectivity; lacks LCD and dual DAC required for medical UIs. | Select when cost and code size are prioritized over analog integration and human interface features. |
| STM32L432KCU6 | Cortex-M4F core, 256 KB Flash, 64 KB SRAM, no EEPROM, no LCD, USB 2.0 FS, single 12-bit DAC - higher performance, no true EEPROM. | Better for DSP-intensive tasks (e.g., FFT-based vibration analysis), but requires external EEPROM for data logging persistence. | Choose when floating-point math or higher clock speed (80 MHz) is needed, accepting trade-off in non-volatile memory architecture. |
Compared with STM32L072RBT6, the STM32L152R8H6 adds LCD, dual DAC, and true EEPROM - critical for display-driven medical devices; versus STM32L432KCU6, it trades M4F compute for guaranteed EEPROM endurance and lower active current, favoring long-life battery operation over raw throughput.
Availability
STM32L152R8H6 is available at Aetrix Electronics and suitable for smart utility meters, portable ECG monitors, industrial wireless sensor nodes, and asset tracking beacons requiring stable component supply across extended product lifecycles.
Supply support for STM32L152R8H6 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing microcontrollers, power management ICs, sensors, and automotive semiconductors since 1987.
The STM32L1 series targets ultra-low-power embedded applications demanding multi-year battery life, robust analog integration, and secure firmware execution - especially in metering, wearables, and industrial IoT edge nodes.
FAQ
What is the maximum operating frequency and corresponding power consumption of the STM32L152R8H6?
The STM32L152R8H6 achieves a maximum CPU frequency of 32 MHz in Run mode, consuming 214 µA/MHz at 3.3 V and 25°C. At full speed, total active current is approximately 6.85 mA. Dynamic voltage scaling allows reduced Vcore in Low-power Run mode (down to 9 µA) at lower frequencies, enabling optimal energy-per-instruction trade-offs.
Does the STM32L152R8H6 support USB without an external crystal?
Yes. The STM32L152R8H6 integrates a USB 2.0 Full-Speed transceiver with an internal 48 MHz PLL that locks to the HSE (1–24 MHz) or HSI (16 MHz) clock source. No external 48 MHz crystal is required - the PLL synthesizes the precise USB clock, reducing BOM cost and board area while maintaining full USB compliance.
How many I/O pins are 5V tolerant, and what is their safe operating voltage range?
All 73 general-purpose I/Os on the STM32L152R8H6 are 5V tolerant when VDD is powered (1.65–3.6 V). They accept input voltages up to 5.5 V regardless of VDD level, enabling direct interfacing with legacy 5V logic, sensors, and displays without level shifters - verified per I/O AC/DC characteristics in Section 6.3.13 of the datasheet.
What is the endurance and data retention specification for the integrated EEPROM?
The STM32L152R8H6's 4 KB true EEPROM supports 100,000 write/erase cycles and guarantees data retention for 20 years at 85°C or 40 years at 25°C. Each byte is independently erasable, and ECC circuitry detects and corrects single-bit errors - making it suitable for mission-critical parameter storage in medical and industrial equipment without external memory.
STM32L152R8H6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-TFBGA
- Series:
- STM32L1
- Packaging:
- Tray
- Product Status:
- Not For New Designs
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M3
- Core Size:
- 32-Bit Single-Core
- Speed:
- 32MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART, USB
- Peripherals:
- Brown-out Detect/Reset, Cap Sense, DMA, I2S, LCD, POR, PWM, WDT
- Number of I/O:
- 51
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 10K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 20x12b; D/A 2x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32L152R8H6 FAQ
1.How can I place an order for STM32L152R8H6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32L152R8H6 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM32L152R8H6 reliable?
The price and inventory of STM32L152R8H6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L152R8H6 is usually 5 days.
3.What payment methods are accepted for STM32L152R8H6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L152R8H6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32L152R8H6?
STM32L152R8H6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32L152R8H6 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM32L152R8H6?
For technical support, including STM32L152R8H6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L152R8H6 requirements.
6.How does Aetrix verify that STM32L152R8H6 is sourced from the original manufacturer or authorized distributors?
All STM32L152R8H6 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM32L152R8H6 meets industry standards.
7.What is the process for return or replacement of STM32L152R8H6?
All STM32L152R8H6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32L152R8H6, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM32L152R8H6 part is unused and in its original packaging.
Return procedure for STM32L152R8H6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32L152R8H6 Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

