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

- Shipping:

Inventory:4,311
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32L152R8H6A from STMicroelectronics is an ultra-low-power 32-bit ARM® Cortex®-M3 microcontroller featuring 128 KB Flash, 32 KB SRAM, 4 KB EEPROM with ECC, 12-bit ADC (1 Msps, 24 channels), and dual 12-bit DACs - deployed in battery-powered medical sensors, portable industrial loggers, and smart utility meters requiring sub-µA standby operation.
For engineers reviewing the STM32L152R8H6A datasheet, STM32L152R8H6A pinout, STM32L152R8H6A application, or STM32L152R8H6A equivalent, key selection criteria include verified 0.28 µA Standby current, LCD driver support (excluded in R8 variant), USB 2.0 full-speed capability with internal 48 MHz PLL, and 73 5V-tolerant I/Os with 16 external interrupt vectors.
Technical Context
This MCU implements dynamic voltage scaling across six low-power modes (Run, Sleep, Low-power Run, Low-power Sleep, Stop, Standby), with hardware-accelerated power gating and a dedicated ultra-low-power regulator enabling 1.65–3.6 V operation over -40°C to +105°C. The Cortex-M3 core runs at up to 32 MHz with 1.25 DMIPS/MHz performance and includes a memory protection unit (MPU) for secure partitioning.
Clock architecture integrates five independent sources: 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 programmable PLL supporting CPU and USB clock domains. Analog subsystem includes two ultra-low-power comparators with window mode and wake-up capability, temperature sensor, and VREFINT reference.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | ARM Cortex-M3, 32-bit, up to 32 MHz - enables deterministic real-time control with MPU for firmware isolation. |
| Memory | 128 KB Flash (ECC), 32 KB SRAM, 4 KB EEPROM (ECC) - supports robust firmware updates and nonvolatile data logging without external storage. |
| Power Consumption | 0.28 µA Standby (3 wakeup pins), 0.44 µA Stop (16 wakeup lines), 10.9 µA Low-power Run - extends coin-cell battery life to >10 years in periodic-sense applications. |
| Analog Peripherals | 12-bit ADC (1 Msps, 24 channels), 2×12-bit DACs with buffers, 2×ultra-low-power comparators - enables high-fidelity sensor signal chain and analog output control in single-chip designs. |
| Communication | 1×USB 2.0 FS, 3×USART (ISO 7816/IrDA), 2×SPI (16 Mbit/s), 2×I²C (SMBus/PMBus) - supports wired connectivity, legacy protocols, and sensor bus integration. |
| I/O & Timers | 73 I/Os (5V tolerant), 10 timers including 6×16-bit GP timers (4-channel PWM/IC/OC), 2×watchdogs - provides flexible peripheral routing and precise timing for motor control or pulse generation. |
| Package | LQFP64 (10 × 10 mm, 0.5 mm pitch) - standard surface-mount footprint compatible with automated assembly and thermal management in compact enclosures. |
Pinout & Package
LQFP64 package: 64-pin low-profile quad flat package, 10 × 10 mm body, 0.5 mm pitch, exposed pad optional for thermal enhancement. Pinout validated per STMicroelectronics DocID024330 Rev 5, Section 4 "Pin descriptions".
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply / Ground | Dual 1.65–3.6 V supply rails with decoupling requirements; VSS must be connected to all ground pins for stable low-power operation. |
| PA0–PA15, PB0–PB15, PC0–PC15, PD0–PD15, PE0–PE15 | General-purpose I/O | 73 total GPIOs (5V tolerant on most); each mappable to 16 external interrupt vectors - enables flexible peripheral assignment and wake-up source configuration. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts external push-button or supervisor IC assertion - ensures reliable cold-start and brownout recovery. |
| BOOT0 | Boot mode selection | High at reset forces system memory boot (pre-programmed USART bootloader); low selects user Flash - critical for field firmware recovery. |
| USB_DP / USB_DM | USB 2.0 full-speed differential pair | Integrated transceiver with internal 1.5 kΩ pull-up on DP - eliminates external USB PHY and reduces BOM cost for host/device enumeration. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power regulator | Enables 0.28 µA Standby with 3 wakeup pins and <8 µs wake-up time - meets stringent energy budget for intermittent-sensing IoT nodes. |
| ECC-protected memories | Hardware ECC on Flash and EEPROM prevents silent data corruption in long-life deployments - essential for medical and industrial firmware integrity. |
| Multi-speed internal RC oscillators | MSI (65 kHz–4.2 MHz), HSI (16 MHz ±1%), LSI (37 kHz) - eliminates external crystals for cost-sensitive designs while maintaining RTC and low-power timing accuracy. |
| Capacitive touch sensing | Up to 20 channels supporting touchkey, linear, and rotary sensors - enables intuitive HMI without dedicated touch controller IC. |
| Programmable voltage detector (PVD) | Configurable threshold monitoring of VDD - triggers interrupt or reset before brownout, protecting against data loss during battery sag. |
Applications
| Wearable Health Monitor | Smart Gas Meter |
|---|---|
Use Scenario: Continuous ECG/PPG acquisition with Bluetooth LE transmission every 5 minutes. IC Role / Device Role / Timing Role: Central controller managing analog front-end sampling, digital filtering, USB/USART firmware updates, and RTC-based scheduling. Use Value: 0.44 µA Stop mode + 10.9 µA Low-power Run enables >5-year CR2032 battery life with daily BLE bursts and sensor wake-ups. |
Use Scenario: Battery-powered ultrasonic gas flow measurement with hourly wireless reporting and tamper detection. IC Role / Device Role / Timing Role: Sensor fusion hub interfacing with ultrasonic transducers, temperature sensor, and LoRaWAN modem via USART. Use Value: Dual 12-bit DACs calibrate transducer bias; 12-bit ADC digitizes echo return time; EEPROM stores calibration coefficients across 10+ year field life. |
| Industrial Data Logger | Portable Handheld Tester |
Use Scenario: Environmental monitoring (temp/humidity/pressure) in remote substations with solar charging and GPRS upload. IC Role / Device Role / Timing Role: Power-aware data aggregator with RTC-triggered sampling, SPI-connected flash storage, and USB debug interface. Use Value: 4 KB EEPROM retains last 1000 readings during power loss; 73 5V-tolerant I/Os simplify connection to legacy RS-485 and analog sensors. |
Use Scenario: Field-deployable multimeter with LCD display, button interface, and rechargeable Li-ion battery. IC Role / Device Role / Timing Role: Mixed-signal SoC handling analog input conditioning, 12-bit ADC conversion, segment LCD driving (excluded in R8), and USB-CDC communication. Use Value: Integrated 12-bit ADC + DAC + comparators replace discrete signal chain; 185 µA/MHz Run efficiency maximizes runtime between charges. |
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 |
|---|---|---|---|
| STM32L152RBT6 | LQFP64, same core/peripherals, but rated for -40°C to +85°C (vs. +105°C for R8H6A); no extended temperature qualification. | Suitable for commercial indoor environments; not qualified for under-hood automotive or outdoor utility metering. | Select R8H6A when operating above 85°C ambient or requiring full industrial temperature grade compliance. |
| STM32L432KCU6 | Cortex-M4F core, 256 KB Flash, 64 KB SRAM, no EEPROM, lower 0.08 µA Standby, but lacks USB FS and LCD driver (R8 variant excluded anyway). | Better for DSP-intensive tasks (e.g., FFT-based vibration analysis); unsuitable where EEPROM-based parameter retention is mandatory. | Choose only if floating-point math or higher code density outweighs need for EEPROM and USB device functionality. |
Compared with STM32L152R8H6A, STM32L152RBT6 trades extended temperature range for identical feature set at lower cost, while STM32L432KCU6 upgrades core performance and reduces standby current but removes EEPROM and USB - making R8H6A optimal for temperature-critical, USB-connected, EEPROM-dependent embedded systems.
Availability
STM32L152R8H6A is available at Aetrix Electronics and suitable for battery-powered medical sensors, smart utility meters, and portable industrial loggers requiring stable component supply across multi-year production cycles.
Supply support for STM32L152R8H6A 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 ICs, sensors, and analog devices for industrial, automotive, and consumer markets.
The STM32L1 series targets ultra-low-power embedded applications demanding multi-year battery life, robust memory integrity, and rich analog integration - optimized for wearables, metering, and environmental monitoring.
FAQ
Does STM32L152R8H6A include an integrated LCD controller?
No. The STM32L152R8H6A belongs to the STM32L152x6/8/B-A family, but LCD controller support is explicitly excluded in R8 variants per ST's device summary table and datasheet Section 3.9. Only STM32L152xB-A (128 KB Flash) and STM32L152xC-A (256 KB Flash) packages include the LCD driver. This omission reduces die size and cost for non-display applications.
What is the maximum allowed crystal frequency for the HSE oscillator?
The HSE oscillator supports external crystals from 1 MHz to 24 MHz, as specified in Section 6.3.6 of the datasheet (Table 27). Operation beyond 24 MHz violates absolute maximum ratings and may cause startup failure or timing instability. For USB full-speed operation, a 8 MHz crystal with PLL multiplication to 48 MHz is commonly used and fully supported.
How many I/O pins are 5V tolerant on this device?
73 I/O pins are 5V tolerant, confirmed in Section 2.1 ("Device overview") and Table 2 ("Ultra-low-power device features"). This includes all GPIOs except those dedicated to USB (DP/DM), JTAG/SWD debug pins (JTCK, JTMS, JTDO, JTDI, NRST), and BOOT0 - enabling direct interfacing with 5V logic without level shifters in mixed-voltage systems.
Is the 4 KB EEPROM truly erasable at the byte level?
Yes. The 4 KB true EEPROM supports byte-level read/write/erase operations with 100,000 write/erase cycles and 20-year data retention at 85°C, as documented in Table 37 ("Flash memory, data EEPROM endurance and data retention"). Unlike emulated EEPROM in Flash, this is hardware EEPROM with dedicated ECC and wear-leveling managed by the embedded controller.
STM32L152R8H6A Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-TFBGA
- Series:
- STM32L1
- Packaging:
- Tray
- Product Status:
- Active
- 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:
- 32K 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:
STM32L152R8H6A FAQ
1.How can I place an order for STM32L152R8H6A through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32L152R8H6A 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 STM32L152R8H6A reliable?
The price and inventory of STM32L152R8H6A are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L152R8H6A is usually 5 days.
3.What payment methods are accepted for STM32L152R8H6A?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L152R8H6A transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32L152R8H6A?
STM32L152R8H6A orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32L152R8H6A 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 STM32L152R8H6A?
For technical support, including STM32L152R8H6A datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L152R8H6A requirements.
6.How does Aetrix verify that STM32L152R8H6A is sourced from the original manufacturer or authorized distributors?
All STM32L152R8H6A 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 STM32L152R8H6A meets industry standards.
7.What is the process for return or replacement of STM32L152R8H6A?
All STM32L152R8H6A units undergo pre-shipment inspection (PSI). If there is an issue with STM32L152R8H6A, 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 STM32L152R8H6A part is unused and in its original packaging.
Return procedure for STM32L152R8H6A:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32L152R8H6A 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
Comparator circuit design covering voltage thresholds, input limits, open-collector outputs, LM393 wiring, op-amp differences, hysteresis, timing, window detection and practical fault diagnosis.
Schmitt triggers use separate rising and falling thresholds to stabilize slow or noisy signals. This guide covers hysteresis, 74HC14 and 74HCT14 selection, comparator calculations, RC oscillators and p…
Counterfeit components can hide behind convincing markings and passing basic function tests. This engineering reference covers source traceability, external inspection, X-ray, XRF, electrical testing, …
A practical engineering and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
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 …

