Ultra-low-power 8-bit MCU with 32 Kbytes Flash, 16 MHz CPU, integrated EEPROM

The medium-density STM8L151x4/6 and STM8L152x4/6 devices are members of the STM8L ultra-low-power 8-bit family. The medium-density STM8L15x family operates from 1.8 V to 3.6 V (down to 1.65 V at power down) and is available in the -40 to +85 °C and -40 to +125 °C temperature ranges.

The medium-density STM8L15x ultra-low-power family features the enhanced STM8 CPU core providing increased processing power (up to 16 MIPS at 16 MHz) while maintaining the advantages of a CISC architecture with improved code density, a 24-bit linear addressing space and an optimized architecture for low power operations.

The family includes an integrated debug module with a hardware interface (SWIM) which allows non-intrusive In-Application debugging and ultra-fast Flash programming.

All medium-density STM8L15x microcontrollers feature embedded data EEPROM and low-power, low-voltage, single-supply program Flash memory.

They incorporate an extensive range of enhanced I/Os and peripherals.

The modular design of the peripheral set allows the same peripherals to be found in different ST microcontroller families including 32-bit families. This makes any transition to a different family very easy, and simplified even more by the use of a common set of development tools.

Six different packages are proposed from 28 to 48 pins. Depending on the device chosen, different sets of peripherals are included.

All STM8L ultra-low-power products are based on the same architecture with the same memory mapping and a coherent pinout.

Key Features

  • Operating conditions
    • Operating power supply range 1.8 V to 3.6 V (down to 1.65 V at power down)
    • Temp. range: - 40 °C to 85, 105 or 125 °C
  • Low power features
    • 5 low power modes: Wait, Low power run (5.1 μA), Low power wait (3 μA), Active-halt with full RTC (1.3 μA), Halt (350 nA)
    • Consumption: 195 μA/MHz + 440 μA
    • Ultra-low leakage per I/0: 50 nA
    • Fast wakeup from Halt: 4.7 μs
  • Advanced STM8 core
    • Harvard architecture and 3-stage pipeline
    • Max freq. 16 MHz, 16 CISC MIPS peak
    • Up to 40 external interrupt sources
  • Reset and supply management
    • Low power, ultra-safe BOR reset with 5 selectable thresholds
    • Ultra-low-power POR/PDR
    • Programmable voltage detector (PVD)
  • Clock management
    • 1 to 16 MHz crystal oscillator
    • 32 kHz crystal oscillator
    • Internal 16 MHz factory-trimmed RC
    • Internal 38 kHz low consumption RC
    • Clock security system
  • Low power RTC
    • BCD calendar with alarm interrupt
    • Auto-wakeup from Halt w/ periodic interrupt
  • LCD: up to 4x28 segments w/ step-up converter
  • Memories
    • Up to 32 KB of Flash program memory and 1 Kbyte of data EEPROM with ECC, RWW
    • Flexible write and read protection modes
    • Up to 2 Kbyte of RAM
  • DMA
    • 4 channels; supported peripherals: ADC, DAC, SPI, I2C, USART, timers
    • 1 channel for memory-to-memory
  • 12-bit DAC with output buffer
  • 12-bit ADC up to 1 Msps/25 channels
    • T. sensor and internal reference voltage
  • 2 ultra-low-power comparators
    • 1 with fixed threshold and 1 rail to rail
    • Wakeup capability
  • Timers
    • Two 16-bit timers with 2 channels (used as IC, OC, PWM), quadrature encoder
    • One 16-bit advanced control timer with 3 channels, supporting motor control
    • One 8-bit timer with 7-bit prescaler
    • 2 watchdogs: 1 Window, 1 Independent
    • Beeper timer with 1, 2 or 4 kHz frequencies
  • Communication interfaces
    • Synchronous serial interface (SPI)
    • Fast I2C 400 kHz SMBus and PMBus
    • USART (ISO 7816 interface and IrDA)
  • Up to 41 I/Os, all mappable on interrupt vectors
  • Up to 16 capacitive sensing channels supporting touchkey, proximity, linear touch and rotary touch sensors
  • Development support
    • Fast on-chip programming and non intrusive debugging with SWIM
    • Bootloader using USART
  • 96-bit unique ID

Circuit Diagram

0 Download

Resources

Technical Documentation

Product Specifications
Description Version Size
DS6372 DS6372: 8-bit ultra-low-power MCU, up to 32 KB Flash, 1 KB Data EEPROM, RTC, LCD, timers, USART, I2C, SPI, ADC, DAC, comparators 15.0 1 MB
Application Notes
Description Version Size
AN3137 AN3137: Analog-to-digital converter on STM8L and STM8AL devices: description and precision improvement techniques 3.1 691 KB
AN1709 AN1709: EMC design guide for ST microcontrollers 2.0 843 KB
AN2860 AN2860: EMC guidelines for STM8 microcontrollers 5.1 262 KB
AN3960 AN3960: ESD considerations for touch sensing applications on MCUs 2.0 353 KB
AN1181 AN1181: Electrostatic discharge sensitivity measurement 1.6 49 KB
AN3029 AN3029: Getting started with STM8L and STM8AL 5.1 1 MB
AN4312 AN4312: Guidelines for designing touch sensing applications with surface sensors 3.0 1 MB
AN3236 AN3236: Guidelines to increase the number of touch sensing touchkeys 4.0 300 KB
AN3114 AN3114: How to use the STM8AL3Lxx, STM8L152xx and STM8L162xx LCD controllers 3.1 711 KB
AN3139 AN3139: Migration and compatibility guidelines for STM8L microcontroller applications 3.2 801 KB
AN3147 AN3147: Power management in STM8L and STM8AL 3.1 370 KB
AN3101 AN3101: STM8L05xxx/15xxx, STM8L162xx and STM8AL31xx/3Lxx internal RC oscillator calibration 6.0 429 KB
AN4310 AN4310: Sampling capacitor selection guide for MCU based touch sensing applications 3.0 208 KB
AN4316 AN4316: Tuning a STMTouch-based application 3.0 783 KB
AN3985 AN3985: Using the CR95HF library with STM8L microcontrollers 2.2 1 MB
AN3117 AN3117: Using the STM8L05xxx/15xxx, STM8L162xx, STM8AL31xx/3Lxx DMA controller 4.1 415 KB
AN3133 AN3133: Using the STM8L05xxx/STM8L101xx/STM8L15xxx/STM8L162xx/STM8AL31xx/STM8AL3Lxx real-time clock 5.2 600 KB
Technical Notes & Articles
Description Version Size
TN1163 TN1163: Description of WLCSP for microcontrollers and recommendations for its use 4.0 1 MB
TN0189 TN0189: STM8 bootloader frequently asked questions 2.4 320 KB
TN1205 TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages 3.0 753 KB
TN1206 TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages 3.0 830 KB
TN1207 TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages 1.0 755 KB
TN1208 TN1208: Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages 1.0 743 KB
User Manuals
Description Version Size
UM1524 UM1524: STEVAL-IPE012V2: single-phase energy meter with 80 A maximum current based on the STPM10 metering IC and STM8L152C6 MCU 1.0 1 MB
UM0470 UM0470: STM8 SWIM communication protocol and debug module 4.0 606 KB
UM1529 UM1529: Single-phase energy meter with 80 A maximum current based on STPM10 metering IC and STM8L152C6 MCU with dual interface EEPROM 1.0 1 MB
UM1554 UM1554: Single-phase energy meter with Rogowski coil sensors based on the STPM01 and STM8L MCU 1.0 1 MB
Reference Manuals
Description Version Size
RM0031 RM0031: STM8L050J3, STM8L051F3, STM8L052C6, STM8L052R8 MCUs and STM8L151/L152, STM8L162, STM8AL31, STM8AL3L lines 14.0 8 MB
Programming Manuals
Description Version Size
PM0054 PM0054: How to program STM8L and STM8AL Flash program memory and data EEPROM 9.1 240 KB
PM0044 PM0044: STM8 CPU programming manual 3.4 899 KB
Errata Sheets
Description Version Size
ES019 ES019: STM8AL31xx, STM8AL3Lxx, STM8L052C6, STM8L151xx4/6 and STM8L152xx4/6 device limitations 15.0 402 KB
Device Option Lists
Description Version Size
STM8L15x option list (16- to 32-Kbyte) 2.1 1 KB

HW Model, CAD Libraries & SVD

HW Model, CAD Libraries & SVD
Description Version Size
STM8L CAD Symbol and Footprint files 1.1 2 MB

Presentations & Training Material

Presentations
Description Version Size
Fire alarms and smoke detectors - Application guide 1.0 335 KB
STM32 and STM8 Functional Safety Packages 2 1 MB
STM32 and STM8 embedded software solutions 3.2 2 MB
STM8L and STM32 L1 series - Ultra-low-power platform 2.0 789 KB

Publications and Collaterals

Flyers
Description Version Size
Get ready for the largest IoT development ecosystem 17.02 741 KB
STM8CubeMX eases STM8 configuration 1.0 532 KB
Brochures
Description Version Size
STM8 8-bit MCU family 17.03 1 MB
Semiconductor solutions for healthcare applications 1.0 665 KB

Tools and Software

Development Tools
Hardware Development Tools
Software Development Tools
Embedded Software
MCUs Embedded Software