STMicroelectronics STM8L152R8T6
- Part No.:
- STM8L152R8T6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 64-LQFP
- Datasheet:
-
STM8L152R8T6.pdf
- Description:
- IC MCU 8BIT 64KB FLASH 64LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:960
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152R8T6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 64 KB Flash, 2 KB data EEPROM, integrated RTC with ±0.5 ppm accuracy, 12-bit ADC (1 Msps, 28 channels), dual 12-bit DACs, LCD controller (8×40), and 67 GPIOs in LQFP64 package. It operates from 1.65–3.6 V across –40 to +85 °C and targets battery-powered metering, portable medical devices, and smart sensors requiring long runtime and precise timing.
For engineers reviewing the STM8L152R8T6 datasheet, STM8L152R8T6 pinout, STM8L152R8T6 application, or STM8L152R8T6 equivalent, key selection criteria include ultra-low-power run mode (5.9 µA), Halt-mode current (400 nA), fast wake-up (4.7 µs), on-chip LCD drive capability, and dual DAC support for analog output generation in space-constrained embedded systems.
Technical Context
The STM8L152R8T6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its clock system integrates factory-trimmed 16 MHz RC, 38 kHz low-power RC, and external 32 kHz/1–16 MHz crystal oscillators with clock security system for fault detection.
Power management includes five programmable low-power modes, BOR with five thresholds, PVD, and ultra-low leakage I/Os (50 nA). The RTC supports BCD calendar, alarm interrupt, digital calibration, and anti-tamper detection - all functional in Active-halt mode at 1.4 µA.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard, 3-stage pipeline, 16 MIPS peak @ 16 MHz |
| Memory | 64 KB Flash (ECC, RWW), 2 KB data EEPROM (ECC), 4 KB RAM |
| Low-Power Consumption | Halt mode: 400 nA; Active-halt w/ RTC: 1.4 µA; Low-power run: 5.9 µA |
| Analog Peripherals | 12-bit ADC (1 Msps, 28 ch, temp sensor, Vref); dual 12-bit DACs w/ buffer; 2 ultra-low-power comparators |
| Timers & Control | 3×16-bit general-purpose timers (IC/OC/PWM), 1×16-bit advanced control timer (motor control), 1×8-bit basic timer, window/independent watchdog |
| Communication | 3×USART (ISO 7816/IrDA), 2×SPI, Fast I²C (400 kHz SMBus/PMBus), DMA (4 ch) |
| LCD & I/O | LCD controller supporting 8×40 or 4×44 segments with step-up converter; up to 67 mappable I/Os, 16 capacitive sensing channels |
Pinout & Package
LQFP64 (10 × 10 mm, 0.5 mm pitch) package with exposed thermal pad; 64-pin quad flat leadframe suitable for industrial PCB assembly and reflow.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domains: VDDA/VSSA for analog, VDD/VSS for digital; decoupling required per datasheet layout guidelines |
| NRST | Active-low reset input | Accepts external reset pulse; internal BOR/POR/PVD sources also drive this signal; Schmitt-triggered with hysteresis |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7, PF0–PF7 | General-purpose I/O | 67 total GPIOs; all support interrupt vector mapping; 50 nA ultra-low leakage; most support alternate functions (USART, SPI, etc.) |
| OSC_IN / OSC_OUT | External crystal oscillator interface | Supports 32 kHz LSE (RTC) or 1–16 MHz HSE; internal load caps configurable; clock security system monitors HSE activity |
| SWIM | Single-wire interface for debug/programming | Non-intrusive debugging and fast on-chip programming; shares pin with PA1; no JTAG required |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm, ±0.5 ppm accuracy via digital calibration, tamper detection active in Active-halt mode |
| Dual 12-bit DACs | Independent outputs on PB4/PB5/PB6; integrated output buffers eliminate external op-amps for sensor biasing or actuator control |
| Capacitive Sensing | 16-channel hardware-accelerated touch sensing supporting touchkey, proximity, linear/rotary sliders without CPU overhead |
| Flexible Memory Protection | Read/write protection zones for Flash and EEPROM; ECC for both memories; RWW (Read-While-Write) enables firmware updates without halting operation |
| Integrated LCD Driver | Drives up to 8×40 segments with internal step-up converter; eliminates external bias supply and reduces BOM count in display applications |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
|
Use Scenario: Battery-powered gas/water/electricity meters requiring decade-long operation and accurate time-stamped consumption logging. IC Role / Device Role / Timing Role: Primary MCU managing metrology ADC sampling, RTC timestamping, LCD display, and secure communication via USART/IrDA. Use Value: 1.4 µA Active-halt mode with full RTC enables precise interval logging while preserving battery life; integrated LCD driver reduces component count. |
Use Scenario: Handheld glucose monitors or pulse oximeters needing low-noise analog acquisition and compact display. IC Role / Device Role / Timing Role: Signal acquisition hub performing 12-bit ADC conversion of biosensor signals, driving segmented LCD, and managing user interface via capacitive touch. Use Value: On-chip 12-bit ADC with internal reference and temperature sensor enables calibrated measurements; dual DACs support analog front-end biasing. |
| Industrial Wireless Sensor Nodes | Home Automation Controllers |
|
Use Scenario: Zigbee/LoRa edge nodes monitoring temperature, humidity, and occupancy in harsh environments. IC Role / Device Role / Timing Role: System controller handling sensor interfacing (I²C/SPI), low-power scheduling, secure boot, and RF module handshaking via USART. Use Value: Five low-power modes and 4.7 µs wake-up minimize duty-cycle overhead; 96-bit unique ID enables device authentication and secure firmware updates. |
Use Scenario: Battery-operated smart thermostats or lighting controllers with local display and capacitive buttons. IC Role / Device Role / Timing Role: Human interface processor managing LCD, 16-channel capacitive touch, ambient light/temp sensing, and relay/LED control via GPIO/DAC. Use Value: Integrated capacitive sensing engine offloads CPU; LCD controller with step-up converter drives display from single 3 V supply. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L152C8T6 | LQFP48 package (48-pin, 7×7 mm); reduced GPIO count (48 vs. 67); same peripherals and memory | Better suited for space-constrained designs where LCD or high I/O count is not required | Select when board area is critical and peripheral count can be reduced without sacrificing core functionality |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM; higher performance but ~2× higher active current (113 µA/MHz) | Preferred for applications needing richer software stacks (RTOS, BLE stack) or higher computational throughput | Choose when future scalability, ecosystem support, or mixed-signal processing headroom outweighs absolute lowest power budget |
Compared with STM8L152C8T6, the R8T6 offers more I/O and LCD capability in larger LQFP64; versus STM32L053R8T6, it delivers superior sub-µA sleep efficiency and simpler toolchain for deterministic low-power control tasks.
Availability
STM8L152R8T6 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, and industrial wireless sensor nodes requiring stable component supply, long-term lifecycle assurance, and consistent parametric performance across temperature ranges.
Supply support for STM8L152R8T6 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 components for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU product line targets battery-operated and energy-harvesting applications demanding sub-microamp sleep currents, integrated peripherals (RTC, LCD, DAC), and robust operation across extended temperature ranges.
FAQ
What is the maximum operating frequency and corresponding power consumption in Run mode?
The STM8L152R8T6 achieves a maximum CPU frequency of 16 MHz. At VDD = 3.0 V and 25 °C, typical Run-mode current is 200 µA/MHz plus 330 µA base consumption - totaling ~3.53 mA at full speed. This value scales linearly with frequency and varies with supply voltage and temperature per Section 9.3.3 of DS6948 Rev 11.
Does the device support hardware-based capacitive touch sensing without external components?
Yes. The STM8L152R8T6 integrates a dedicated capacitive sensing controller supporting up to 16 channels. It performs auto-calibration, noise filtering, and baseline tracking in hardware, enabling touchkey, proximity, linear slider, and rotary touch applications using only PCB traces - no external ICs or RC networks required.
Can the internal RTC maintain time accuracy during deep sleep modes?
Yes. The RTC remains fully operational in Active-halt mode (1.4 µA) when clocked by the 32 kHz LSE crystal. Digital calibration achieves ±0.5 ppm accuracy over temperature, and anti-tamper detection triggers reset if case intrusion or voltage glitch is detected - all while preserving RTC registers and calendar state.
Is SWIM debugging supported in all low-power modes?
SWIM is active only in Run, Wait, and Low-power run modes. It is disabled in Low-power wait, Active-halt, and Halt modes to preserve ultra-low current. Debug access must be re-established after wake-up; breakpoints and watchpoints remain intact across low-power transitions when configured properly in the debugger.
STM8L152R8T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-LQFP
- Series:
- STM8L EnergyLite
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- STM8
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, IrDA, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, IR, LCD, POR, PWM, WDT
- Number of I/O:
- 54
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 2K x 8
- RAM Size:
- 4K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 28x12b; D/A 2x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L152R8T6 FAQ
1.How can I place an order for STM8L152R8T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152R8T6 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 STM8L152R8T6 reliable?
The price and inventory of STM8L152R8T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152R8T6 is usually 5 days.
3.What payment methods are accepted for STM8L152R8T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152R8T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152R8T6?
STM8L152R8T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152R8T6 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 STM8L152R8T6?
For technical support, including STM8L152R8T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152R8T6 requirements.
6.How does Aetrix verify that STM8L152R8T6 is sourced from the original manufacturer or authorized distributors?
All STM8L152R8T6 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 STM8L152R8T6 meets industry standards.
7.What is the process for return or replacement of STM8L152R8T6?
All STM8L152R8T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152R8T6, 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 STM8L152R8T6 part is unused and in its original packaging.
Return procedure for STM8L152R8T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152R8T6 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…

