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

- Shipping:

Inventory:2,879
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152R8T3 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 I/Os 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 STM8L152R8T3 datasheet, STM8L152R8T3 pinout, STM8L152R8T3 application, or STM8L152R8T3 equivalent, key selection criteria include ultra-low-power run mode (5.9 µA), Halt-mode current (400 nA), on-chip LCD driver support, dual DAC output buffering, and SWIM-based non-intrusive debugging capability.
Technical Context
The STM8L152R8T3 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its clock system integrates dual crystal oscillators (32 kHz LSE + 1–16 MHz HSE), factory-trimmed 16 MHz RC, and clock security system for fail-safe operation.
Power management includes five configurable low-power modes, programmable BOR thresholds, PVD, and ultra-low leakage I/Os (50 nA). The peripheral set features three 16-bit timers (including advanced control timer TIM1 for motor control), DMA with 4 channels, and three USARTs supporting ISO 7816 and IrDA protocols.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic real-time execution and efficient code density. |
| Max Clock Frequency | 16 MHz; delivers 16 CISC MIPS peak performance while maintaining sub-µA/MHz power efficiency. |
| Flash / EEPROM | 64 KB Flash with RWW and ECC; 2 KB data EEPROM with ECC; supports field firmware updates without full erase cycles. |
| ADC | 12-bit, up to 1 Msps, 28-channel; includes internal reference and temperature sensor for self-calibration and environmental monitoring. |
| DAC | Two 12-bit DACs with output buffers; supports dual-mode synchronous output for analog waveform generation or sensor biasing. |
| RTC Accuracy | ±0.5 ppm with digital calibration; eliminates external crystal trimming and ensures calendar reliability over temperature and aging. |
| Low-Power Halt Current | 400 nA at 3.0 V; enables multi-year battery life in wake-on-event applications such as utility meters and IoT endpoints. |
Pinout & Package
LQFP64 (10 × 10 mm, 0.5 mm pitch) package with exposed thermal pad; RoHS-compliant, industrial-grade reflow profile.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O rail decoupling; supports separate analog/digital grounding schemes. |
| NRST | Active-low reset input | Accepts standard push-pull or open-drain reset sources; integrates internal pull-up and glitch filtering for robust system initialization. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7, PF0–PF7 | General-purpose I/Os | 67 total mappable GPIOs; all support external interrupt vectors and capacitive sensing; 50 nA leakage enables always-on wake detection. |
| OSC_IN / OSC_OUT | HSE crystal oscillator interface | Supports 1–16 MHz external crystals; paired with internal oscillator for seamless clock source switching during low-power transitions. |
| LCD_COM0–LCD_COM7 / LCD_SEG0–LCD_SEG39 | LCD segment/common drivers | Integrated 8×40 LCD controller with internal step-up converter; eliminates external bias IC for segment-based displays. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 400 nA consumption with RTC running; enables decade-scale battery operation in tamper-detection or time-stamped logging systems. |
| SWIM debug interface | Single-wire non-intrusive programming and real-time debugging; requires only one pin and no dedicated debug header footprint. |
| Capacitive touch sensing | 16-channel hardware-accelerated CSD; supports touchkey, proximity, linear/rotary sliders without external components or CPU overhead. |
| Embedded LCD controller | 8×40 or 4×44 segment drive with integrated charge pump; reduces BOM cost and PCB area versus discrete LCD driver solutions. |
| Dual 12-bit DACs | Synchronous dual-mode output on PB4/PB5/PB6; enables differential signal generation or independent analog control paths. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered gas/water/electricity meter with hourly pulse logging, tamper detection, and LCD display. IC Role / Device Role / Timing Role: Primary system controller managing metrology ADC sampling, RTC-corrected timestamping, LCD refresh, and secure EEPROM storage of billing data. Use Value: 400 nA Halt mode extends 10-year battery life; ±0.5 ppm RTC accuracy ensures regulatory-compliant time stamping without periodic sync. |
Use Scenario: Handheld ECG or blood glucose monitor with real-time analog front-end, user interface, and Bluetooth LE data upload. IC Role / Device Role / Timing Role: Signal acquisition hub performing 12-bit ADC sampling, dual DAC-driven reference generation, and capacitive touch button interface. Use Value: Integrated 1 Msps ADC and dual DACs eliminate external precision analog ICs; 5.9 µA low-power run mode sustains >72-hour continuous operation on coin cell. |
| Industrial Wireless Sensor Node | Smart Building HVAC Controller |
Use Scenario: LoRaWAN-enabled temperature/humidity node deployed in unattended locations with 5-year battery requirement. IC Role / Device Role / Timing Role: System-on-chip managing sensor polling, RTC-triggered transmission windows, AES-128 encryption, and sleep/wake coordination. Use Value: 3 µA Low-power Wait mode minimizes idle current; 4.7 µs wake-up latency ensures precise duty-cycled radio activation. |
Use Scenario: Wall-mounted thermostat with LCD, ambient light sensing, relay control, and occupancy detection via capacitive touch. IC Role / Device Role / Timing Role: Human-machine interface controller driving 4×44 LCD, scanning 12 capacitive keys, reading thermistor/NTC inputs, and modulating HVAC relays. Use Value: On-chip LCD driver and 16-channel CSD reduce component count by 4 ICs; 2-KB EEPROM stores calibration coefficients and usage history securely. |
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 (7×7 mm); 48-pin variant with identical peripherals but reduced I/O count (44 vs. 67) and no LCD support. | Suitable for space-constrained designs without display requirements; lacks LCD_COM/SEG pins and related internal circuitry. | Select when board area is critical and LCD functionality is unnecessary; same Flash/EEPROM and low-power specs retained. |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+ core; 64 KB Flash, 8 KB RAM; higher compute throughput but 30% higher active current (110 µA/MHz). | Better suited for applications needing cryptographic acceleration, USB, or richer RTOS support; not drop-in compatible due to architecture and pinout differences. | Choose when firmware complexity or future scalability demands 32-bit architecture; accept trade-off in ultra-deep-sleep current (200 nA vs. 400 nA). |
Compared with STM8L152C8T6, the STM8L152R8T3 provides full LCD integration and 23 additional I/Os for expanded sensor/actuator interfacing; versus STM32L053R8T6, it delivers superior sub-µA deep-sleep efficiency and lower BOM cost for 8-bit deterministic control tasks.
Availability
STM8L152R8T3 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 production batches.
Supply support for STM8L152R8T3 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 analog products for industrial, automotive, and consumer markets.
The STM8L ultra-low-power 8-bit MCU family targets battery-operated and energy-harvesting applications where nanowatt-level sleep current, integrated peripherals (RTC, LCD, touch), and cost-sensitive design are primary constraints.
FAQ
What is the maximum operating frequency and corresponding power consumption in active mode?
The STM8L152R8T3 achieves a maximum clock frequency of 16 MHz. At this speed and 3.0 V supply, typical active-mode current is 200 µA/MHz plus 330 µA base consumption - totaling approximately 3.53 mA. This value is confirmed in Section 9.3.3 of DS6948 Rev 11, Table 20, under VDD = 3.0 V and fCPU = 16 MHz conditions.
Does the device support hardware-accelerated capacitive touch sensing, and how many channels are available?
Yes, the STM8L152R8T3 integrates a dedicated capacitive sensing controller supporting up to 16 channels. It enables touchkey, proximity, linear slider, and rotary touch applications without external components or CPU intervention, as documented in Section 3.13 and Table 2 of DS6948 Rev 11.
Can the internal RTC operate independently during Halt mode, and what is its accuracy specification?
Yes, the RTC remains fully functional in Active-Halt mode with LSE crystal clocking, consuming just 1.4 µA. Its digital calibration achieves ±0.5 ppm accuracy over temperature and voltage ranges, as specified in Section 3.5 and Table 25 of DS6948 Rev 11 - eliminating need for external compensation.
Is SWIM debugging supported, and does it require additional pins beyond the standard programming interface?
Yes, SWIM (Single-Wire Interface Module) enables non-intrusive programming and real-time debugging using only the SWIM pin (PB4) and NRST - no dedicated debug port or extra pins required. This is verified in Section 3.19 and Figure 23 of DS6948 Rev 11, confirming full debug visibility without impacting GPIO count.
STM8L152R8T3 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 ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L152R8T3 FAQ
1.How can I place an order for STM8L152R8T3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152R8T3 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 STM8L152R8T3 reliable?
The price and inventory of STM8L152R8T3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152R8T3 is usually 5 days.
3.What payment methods are accepted for STM8L152R8T3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152R8T3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152R8T3?
STM8L152R8T3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152R8T3 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 STM8L152R8T3?
For technical support, including STM8L152R8T3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152R8T3 requirements.
6.How does Aetrix verify that STM8L152R8T3 is sourced from the original manufacturer or authorized distributors?
All STM8L152R8T3 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 STM8L152R8T3 meets industry standards.
7.What is the process for return or replacement of STM8L152R8T3?
All STM8L152R8T3 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152R8T3, 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 STM8L152R8T3 part is unused and in its original packaging.
Return procedure for STM8L152R8T3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152R8T3 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…

