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

- Shipping:

Inventory:2,289
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152M8T6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 64 KB Flash, 2 KB data EEPROM, RTC with ±0.5 ppm accuracy, 12-bit ADC (1 Msps, 28 channels), dual 12-bit DACs, LCD controller (8×40/4×44), and three USARTs - deployed in battery-powered utility meters, portable medical sensors, and smart building nodes requiring sub-µA sleep current.
For engineers reviewing the STM8L152M8T6 datasheet, STM8L152M8T6 pinout, STM8L152M8T6 application, or STM8L152M8T6 equivalent, key selection criteria include active-halt mode current (1.4 µA with full RTC), 67 GPIOs with capacitive sensing support, SWIM debug interface, and LQFP80 package compatibility with industrial temperature range (–40 to +125 °C).
Technical Context
The STM8L152M8T6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates a clock security system, programmable voltage detector (PVD), and BOR with five thresholds for robust operation across 1.65–3.6 V supply.
Its low-power architecture supports five distinct modes: Halt (400 nA), Active-halt (1.4 µA with RTC), Low-power wait (3 µA), Low-power run (5.9 µA), and Wait - all enabled by independent power domains for peripherals, memory, and CPU subsystems.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic timing and efficient code density for resource-constrained embedded firmware. |
| Max Clock Frequency | 16 MHz (16 CISC MIPS peak); sufficient for real-time sensor fusion, LCD refresh, and serial protocol handling without external clocking complexity. |
| Flash / EEPROM | 64 KB Flash with ECC and RWW; 2 KB data EEPROM with error correction - supports field firmware updates and nonvolatile parameter storage with data integrity. |
| ADC Performance | 12-bit, up to 1 Msps, 28 channels including internal temp sensor and Vref; enables simultaneous multi-sensor acquisition in metering and environmental monitoring. |
| Low-Power Modes | Halt: 400 nA; Active-halt (RTC active): 1.4 µA; Low-power run: 5.9 µA - extends coin-cell or energy-harvesting device lifetime to years. |
| LCD Controller | Supports 8×40 or 4×44 segments with integrated step-up converter; eliminates external bias supply for segment LCDs in portable instrumentation. |
| DAC Outputs | Dual 12-bit DACs (PB4/PB5/PB6) with output buffers; provides precision analog stimulus for calibration, sensor excitation, or actuator control. |
Pinout & Package
LQFP80 (14 × 14 mm, 0.5 mm pitch) package with 67 user I/Os, 3 dedicated power/ground pins per supply domain (VDD/VSS, VDDA/VSSA, VLCD), and dedicated SWIM debug pin (PD3). Pin functions validated per DS6948 Rev 11 Figure 4 (STM8L152M8 80-pin package pinout with LCD).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Main digital power/ground | Supplies core logic and most peripherals; decoupling required within 10 mm for stable 1.65–3.6 V operation. |
| VDDA, VSSA | Analog power/ground | Isolates ADC/DAC/comp reference domain; must be filtered separately to maintain 12-bit linearity and <±1 LSB INL. |
| VLCD, VSSLCD | LCD bias supply/ground | Enables on-chip step-up converter for segment LCD drive; eliminates need for external charge pump in display applications. |
| PD3 (SWIM) | Single-wire interface module | Non-intrusive debugging and programming channel; requires only one GPIO and no JTAG header footprint. |
| PC14/PC15 (OSC32_IN/OSC32_OUT) | 32.768 kHz crystal interface | Connects to external tuning fork crystal for RTC calendar with ±0.5 ppm accuracy after digital calibration. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low leakage I/O | 50 nA per pin in Halt mode - minimizes battery drain in always-on wake-on-event systems like smoke detectors. |
| Capacitive sensing | 16-channel CSG peripheral supporting touchkey, proximity, and rotary touch - enables intuitive HMI without external ICs. |
| Fault-tolerant RTC | BCD calendar with anti-tamper detection and digital calibration - meets IEC 62056-21 requirements for revenue-grade metering. |
| DMA controller | 4-channel DMA supporting ADC, DAC, SPI, I2C, USART, timers - offloads CPU during high-throughput data transfers (e.g., LCD frame buffer updates). |
| Memory protection | Flexible read/write protection zones for Flash and EEPROM with ECC - prevents accidental corruption of critical firmware or calibration data. |
Applications
| Smart Utility Meter | Portable Medical Sensor |
|---|---|
Use Scenario: Battery-operated gas/water meter with pulse counting, temperature compensation, and LCD display. IC Role / Device Role / Timing Role: Main system controller managing metrology ADC sampling, RTC-based billing intervals, and LCD refresh at 60 Hz. Use Value: 1.4 µA Active-halt mode preserves 10+ year battery life while maintaining accurate timekeeping and tamper logs. |
Use Scenario: Handheld ECG patch with dry-electrode signal conditioning and Bluetooth LE connectivity. IC Role / Device Role / Timing Role: Analog front-end controller acquiring 12-bit ECG samples via ADC, performing baseline drift correction, and buffering data for wireless transmission. Use Value: Dual 12-bit DACs generate precise reference voltages for electrode biasing, improving common-mode rejection ratio by >80 dB. |
| Industrial Wireless Node | Smart Building Thermostat |
Use Scenario: LoRaWAN-enabled temperature/humidity node powered by energy harvesting (solar + supercap). IC Role / Device Role / Timing Role: System manager coordinating sensor reads, RTC-triggered transmissions, and ultra-low-power sleep scheduling. Use Value: 400 nA Halt mode allows operation from µW-level harvesters; fast 4.7 µs wake-up ensures timely response to interrupt-driven events. |
Use Scenario: HVAC controller with capacitive touch buttons, ambient light sensing, and segmented LCD display. IC Role / Device Role / Timing Role: Human interface processor driving 4×44 LCD segments, scanning 8 capacitive keys, and managing IR remote decoding. Use Value: Integrated LCD controller with step-up converter eliminates external DC-DC, reducing BOM count and PCB area by 30%. |
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 |
|---|---|---|---|
| STM8L152K8T6 | LQFP32 package (32-pin), 32 KB Flash, 1 KB EEPROM, 38 I/Os - lacks LCD controller and 16-capacitive-sensing channels. | Suitable for compact sensor nodes without display or touch UI; not viable for metering or thermostat designs requiring LCD or >40 GPIOs. | Select when board space is constrained and LCD/touch functionality is unnecessary - reduces cost and footprint by ~40%. |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, 12-bit ADC (1.14 Msps), but no integrated LCD controller or capacitive sensing. | Better for firmware-intensive tasks (e.g., BLE stack, encryption); requires external LCD driver and touch controller for equivalent HMI capability. | Choose when migrating to 32-bit toolchain is acceptable and higher processing throughput justifies added BOM complexity and power overhead. |
Compared with STM8L152K8T6, the STM8L152M8T6 adds LCD and capacitive sensing - critical for display-centric devices; versus STM32L053R8T6, it delivers lower active-mode current and native LCD integration, simplifying design for cost-sensitive, ultra-low-power applications.
Availability
STM8L152M8T6 is available at Aetrix Electronics and suitable for smart utility meters, portable medical sensors, industrial wireless nodes, and smart building thermostats requiring stable component supply across extended product lifecycles.
Supply support for STM8L152M8T6 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 STM8L ultra-low-power 8-bit MCU family targets battery- and energy-harvesting–powered applications where sub-microamp sleep current, integrated analog peripherals, and long-term supply stability are mandatory - especially in metering, healthcare, and IoT edge nodes.
FAQ
What is the maximum operating temperature for STM8L152M8T6?
The STM8L152M8T6 is qualified for operation from –40 °C to +125 °C (industrial grade), verified per DS6948 Rev 11 Section 9.3.1. This rating applies to the LQFP80 package variant and supports deployment in enclosed outdoor metering enclosures and under-hood automotive auxiliary modules.
Does STM8L152M8T6 support in-circuit debugging without external hardware?
Yes - it features the Single-Wire Interface Module (SWIM) on PD3, enabling non-intrusive programming and real-time debugging using only one GPIO and no JTAG/SWD header. SWIM supports full flash erase/write, register inspection, and breakpoint execution per Section 3.19 of the datasheet.
Can the internal RTC maintain time accuracy without an external 32.768 kHz crystal?
No - the high-accuracy RTC (±0.5 ppm) requires connection to a 32.768 kHz external crystal on PC14/PC15. The internal 38 kHz RC oscillator may drive RTC in low-accuracy modes (<±500 ppm), but digital calibration and tamper detection depend on the external crystal's stability.
How many capacitive sensing channels can be used simultaneously on STM8L152M8T6?
Up to 16 capacitive sensing channels are supported concurrently via the CSG peripheral, configured for touchkey, linear slider, rotary wheel, or proximity detection. All channels share one 12-bit ADC input and are scanned sequentially with configurable resolution and scan speed per Section 3.13 of DS6948.
STM8L152M8T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 80-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:
- 68
- 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:
STM8L152M8T6 FAQ
1.How can I place an order for STM8L152M8T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152M8T6 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 STM8L152M8T6 reliable?
The price and inventory of STM8L152M8T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152M8T6 is usually 5 days.
3.What payment methods are accepted for STM8L152M8T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152M8T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152M8T6?
STM8L152M8T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152M8T6 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 STM8L152M8T6?
For technical support, including STM8L152M8T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152M8T6 requirements.
6.How does Aetrix verify that STM8L152M8T6 is sourced from the original manufacturer or authorized distributors?
All STM8L152M8T6 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 STM8L152M8T6 meets industry standards.
7.What is the process for return or replacement of STM8L152M8T6?
All STM8L152M8T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152M8T6, 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 STM8L152M8T6 part is unused and in its original packaging.
Return procedure for STM8L152M8T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152M8T6 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…

