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

- Shipping:

Inventory:1,600
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152M8T7 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 64 KB Flash, 2 KB data EEPROM, integrated RTC with ±0.5 ppm digital calibration, 12-bit ADC (1 Msps, 28 channels), dual 12-bit DACs, LCD controller (8×40/4×44), and 67 GPIOs-designed for battery-powered industrial sensors and portable medical devices requiring sub-µA sleep current and fast wake-up.
For engineers reviewing the STM8L152M8T7 datasheet, STM8L152M8T7 pinout, STM8L152M8T7 application, or STM8L152M8T7 equivalent, key selection criteria include verified low-power mode currents (1.4 µA Active-Halt with RTC), LCD driver capability, dual DAC output buffering, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L152M8T7 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz max frequency and supporting up to 40 external interrupt sources. 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 programmable low-power modes (Halt at 400 nA, Active-Halt with RTC at 1.4 µA), BOR with five thresholds, and ultra-low I/O leakage (50 nA per pin). The RTC provides BCD calendar, alarm, anti-tamper detection, and digital calibration-enabling precise timekeeping in energy-constrained deployments.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard, 3-stage pipeline, 16 MIPS peak @ 16 MHz-enables deterministic real-time control without cache latency. |
| Memory | 64 KB Flash + 2 KB data EEPROM with ECC and RWW-supports firmware updates and secure parameter storage without halting execution. |
| Low-Power Consumption | Halt mode: 400 nA; Active-Halt with RTC: 1.4 µA; Low-power run: 5.9 µA-extends coin-cell battery life to >10 years in periodic-sensing applications. |
| Analog Peripherals | 12-bit ADC (28 ch, 1 Msps), dual 12-bit DACs with output buffers, 2 ultra-low-power comparators-one rail-to-rail, one with fixed threshold-enables sensor signal conditioning and analog feedback loops. |
| Timing & RTC | BCD calendar RTC with ±0.5 ppm accuracy (digital calibration), alarm interrupt, and advanced anti-tamper detection-meets IEC 62304 Class C timing integrity for medical logging. |
| Communication | 3 USARTs (ISO 7816 + IrDA), 2 SPIs, Fast I²C (400 kHz SMBus/PMBus), DMA with 4 channels-supports multi-protocol sensor hub and secure smart-card interfacing. |
| LCD Driver | Integrated LCD controller supporting 8×40 or 4×44 segments with internal step-up converter-eliminates external bias circuitry in portable displays. |
Pinout & Package
LQFP80 (14 × 14 mm, 0.5 mm pitch) package with 80 pins. Pin functions validated per DS6948 Rev 11 Figure 4 (STM8L152M8 80-pin package pinout with LCD).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domains: VDDA for analog peripherals ensures noise isolation; VDD for digital core enables independent voltage scaling. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7, PF0–PF7, PG0–PG7, PH0–PH7 | General-purpose I/O | All 67 GPIOs support interrupt mapping and capacitive sensing-enables direct touchkey/proximity interface without external IC. |
| OSC_IN / OSC_OUT | HSE crystal oscillator input/output | Supports 1–16 MHz external crystal for precise system clocking; paired with internal 16 MHz RC for fast wake-up from Halt. |
| LSE_IN / LSE_OUT | LSE crystal oscillator input/output | Drives RTC independently at 32.768 kHz; enables calendar operation during Active-Halt with 1.4 µA total current. |
| SWIM | Single-wire interface module | Enables non-intrusive debugging and flash programming using only one pin-reduces debug footprint in space-constrained designs. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | ±0.5 ppm accuracy via digital calibration and BCD calendar-replaces external RTC ICs while maintaining traceable timekeeping in cold-chain loggers. |
| Capacitive Sensing | 16-channel hardware-accelerated touch sensing supporting touchkey, linear/rotary sliders-enables robust UI on battery-powered handheld instruments. |
| Dual DAC Output Buffer | Two 12-bit DACs with integrated output buffers drive resistive loads directly-eliminates external op-amps in analog setpoint generation (e.g., valve control). |
| Flexible Memory Protection | Programmable read/write protection zones for Flash and EEPROM-meets IEC 62443-3-3 requirements for secure firmware update partitioning. |
| Fast Wake-Up | 4.7 µs wake-up from Halt mode-ensures timely response to external interrupts in duty-cycled sensor nodes. |
Applications
| Industrial Sensor Node | Portable Medical Monitor |
|---|---|
Use Scenario: Wireless temperature/humidity node powered by CR2032 battery, transmitting data every 5 minutes via BLE gateway. IC Role / Device Role / Timing Role: Primary MCU managing sensor acquisition, RTC-triggered wake-up, LCD status display, and low-power UART communication. Use Value: 400 nA Halt current extends battery life beyond 5 years; integrated LCD driver reduces BOM count by 3 components. |
Use Scenario: Handheld pulse oximeter with OLED display, SpO₂ sensor, and USB charging. IC Role / Device Role / Timing Role: System controller handling ADC sampling, real-time saturation calculation, beeper alerts, and battery monitoring. Use Value: Dual 12-bit DACs generate precise reference voltages for LED drivers; 1.4 µA Active-Halt with RTC enables accurate session timestamping. |
| Smart Utility Meter | Asset Tracking Tag |
Use Scenario: Battery-operated water meter with ultrasonic flow sensing, tamper detection, and RF mesh reporting. IC Role / Device Role / Timing Role: Main processor executing metrology algorithms, anti-tamper logic, and secure bootloader verification. Use Value: Advanced anti-tamper detection in RTC block triggers immediate alert; 67 GPIOs support multiple sensor interfaces and LED indicators. |
Use Scenario: GPS-denied indoor asset tag using accelerometer motion detection and BLE beaconing. IC Role / Device Role / Timing Role: Low-power state manager activating GPS/BLE only on motion event, logging timestamps via calibrated RTC. Use Value: 50 nA I/O leakage prevents parasitic discharge; capacitive sensing channels replace mechanical switches for maintenance-free button interface. |
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 |
|---|---|---|---|
| STM8L151M8T6 | Same core/peripherals but lacks LCD controller and has 32 KB Flash (vs. 64 KB) | Not suitable for designs requiring integrated segment LCD driving or >32 KB firmware space | Select when LCD functionality is unused and cost sensitivity outweighs memory headroom. |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, no integrated LCD driver, higher active current (160 µA/MHz) | Better for complex algorithmic workloads; requires external LCD bias circuitry | Choose for migration path to 32-bit codebase where analog integration is secondary to compute throughput. |
Compared with STM8L151M8T6, the STM8L152M8T7 adds LCD support and doubles Flash capacity-critical for firmware-over-the-air updates in field-deployed meters. Versus STM32L053R8T6, it delivers lower active and sleep currents but trades 32-bit instruction efficiency for proven 8-bit determinism in safety-critical timing loops.
Availability
STM8L152M8T7 is available at Aetrix Electronics and suitable for industrial sensor nodes, portable medical monitors, smart utility meters, and asset tracking tags requiring stable component supply across extended product lifecycles.
Supply support for STM8L152M8T7 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-operated and energy-harvesting applications demanding sub-microamp sleep currents, integrated analog peripherals, and long-term supply assurance-especially in industrial and medical edge devices.
FAQ
What is the maximum operating frequency and corresponding power supply range?
The STM8L152M8T7 operates up to 16 MHz. With Brown-Out Reset (BOR) enabled, the valid VDD range is 1.8 V to 3.6 V; without BOR, it extends down to 1.65 V. This allows flexible power source selection-including single-cell Li-ion (3.0–3.6 V) or two alkaline cells (up to 3.2 V)-while maintaining full performance.
Does the device support capacitive touch sensing, and how many channels are available?
Yes, the STM8L152M8T7 integrates hardware-accelerated capacitive sensing supporting up to 16 channels. It natively handles touchkey, proximity, linear touch, and rotary touch configurations without external components-validated in ST's AN4603 application note and supported by STM32CubeMX-compatible configuration tools.
What RTC accuracy can be achieved, and is calibration required?
The RTC achieves ±0.5 ppm accuracy over temperature and voltage ranges using digital calibration-no external trimming or manual calibration is needed. Accuracy is maintained with 32.768 kHz LSE crystal and verified across -40°C to +85°C per DS6948 Section 3.5 and Table 25.
Is SWIM debugging supported, and what pins are required?
Yes, SWIM (Single-Wire Interface Module) debugging is fully supported using only the SWIM pin (PB4 on LQFP80) and GND. It enables non-intrusive flash programming, real-time variable inspection, and breakpoint debugging-without requiring dedicated JTAG/SWD pins or additional PCB routing.
STM8L152M8T7 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 ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L152M8T7 FAQ
1.How can I place an order for STM8L152M8T7 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152M8T7 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 STM8L152M8T7 reliable?
The price and inventory of STM8L152M8T7 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152M8T7 is usually 5 days.
3.What payment methods are accepted for STM8L152M8T7?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152M8T7 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152M8T7?
STM8L152M8T7 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152M8T7 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 STM8L152M8T7?
For technical support, including STM8L152M8T7 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152M8T7 requirements.
6.How does Aetrix verify that STM8L152M8T7 is sourced from the original manufacturer or authorized distributors?
All STM8L152M8T7 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 STM8L152M8T7 meets industry standards.
7.What is the process for return or replacement of STM8L152M8T7?
All STM8L152M8T7 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152M8T7, 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 STM8L152M8T7 part is unused and in its original packaging.
Return procedure for STM8L152M8T7:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152M8T7 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…

