STM8L151K4

Active
Education

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

Download datasheet
Overview
Online design
Sample & Buy
Solutions
Documentation
CAD Resources
Tools & Software
Quality & Reliability
Partner products
Sales Briefcase

Product overview

Description

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.
  • All 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 Kbytes of Flash program memory and 1 Kbyte of data EEPROM with ECC, RWW
      • Flexible write and read protection modes
      • Up to 2 Kbytes 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

More from the product line

You might also like...

All tools & software

    • Part number
      Status
      Description
      Type
      Supplier

      CXSTM8

      Active

      C Compiler and associated tools for the STM8 family

      Software Development Tools from Partners Cosmic Software
      CXSTM8

      Description:

      C Compiler and associated tools for the STM8 family

      CYCLONE

      Active

      Automated, Stand-Alone Production Programmer, Debug & Test

      Hardware Development Tools from Partners P&E Microcomputer Systems
      CYCLONE

      Description:

      Automated, Stand-Alone Production Programmer, Debug & Test

      CYCLONE FX

      Active

      Automated, Stand-Alone Production Programmer, Debug & Test

      Hardware Development Tools from Partners P&E Microcomputer Systems
      CYCLONE FX

      Description:

      Automated, Stand-Alone Production Programmer, Debug & Test

      IAR C-STAT

      Active

      Static analysis tool, add-on to IAR Embedded Workbench

      Software Development Tools from Partners IAR Systems
      IAR C-STAT

      Description:

      Static analysis tool, add-on to IAR Embedded Workbench

      IAR Embedded Workbench for STM8 - Functional Safety

      Active

      Integrated Development Environment

      Software Development Tools from Partners IAR Systems
      IAR Embedded Workbench for STM8 - Functional Safety

      Description:

      Integrated Development Environment

      IAR Visual State

      Active

      State-machine modelling tool

      Software Development Tools from Partners IAR Systems
      IAR Visual State

      Description:

      State-machine modelling tool

      Lauterbach PowerDebug for STM8

      Active

      Debug Solution for STM8 series

      Hardware Development Tools from Partners Lauterbach
      Lauterbach PowerDebug for STM8

      Description:

      Debug Solution for STM8 series

      Production Flash Programmer

      Active

      Flash and Gang Programmer for STM32, STM8, and BlueNRG MCUs

      Hardware Development Tools from Partners Elprotronic
      Production Flash Programmer

      Description:

      Flash and Gang Programmer for STM32, STM8, and BlueNRG MCUs

      SENSE

      Active

      End-to-end solution for the design & system-level simulation of capacitive touch sensors

      Software Development Tools from Partners Fieldscale
      SENSE

      Description:

      End-to-end solution for the design & system-level simulation of capacitive touch sensors

      winIDEA-STM8

      Active

      Complete software development and test solution for STM8

      Software Development Tools from Partners iSYSTEM
      winIDEA-STM8

      Description:

      Complete software development and test solution for STM8
    • Part number
      Status
      Description
      Type
      Supplier

      HCC Bootloaders

      Active

      Optimized high quality solutions bootloaders

      Embedded Software from Partners HCC Embedded
      HCC Bootloaders

      Description:

      Optimized high quality solutions bootloaders

      HCC FAT File System

      Active

      FAT File systems for flash storage media

      Embedded Software from Partners HCC Embedded
      HCC FAT File System

      Description:

      FAT File systems for flash storage media

      HCC Fail-safe File System

      Active

      All Flash File Systems with fail-safe mechanisms for STM32

      Embedded Software from Partners HCC Embedded
      HCC Fail-safe File System

      Description:

      All Flash File Systems with fail-safe mechanisms for STM32

      TEConcept IO-Link Device Software Stack

      Active

      Way to integrate state-of-the-art IO-Link technology

      Embedded Software from Partners TEConcept
      TEConcept IO-Link Device Software Stack

      Description:

      Way to integrate state-of-the-art IO-Link technology

      TapKo KNX KAIstack

      Active

      KAIstack together with EnergyLite for STM8 and STM32

      Embedded Software from Partners TAPKO Technologies
      TapKo KNX KAIstack

      Description:

      KAIstack together with EnergyLite for STM8 and STM32
    • Part number
      Status
      Description
      Type
      Supplier

      ST-LINK/V2

      Active

      ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

      Hardware Development Tools for STM32 ST
      ST-LINK/V2

      Description:

      ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

      STLINK-V3SET

      Active

      STLINK-V3 modular in-circuit debugger and programmer for STM32/STM8

      Programming Hardware for STM32 MCUs ST
      STLINK-V3SET

      Description:

      STLINK-V3 modular in-circuit debugger and programmer for STM32/STM8
    • Part number
      Status
      Description
      Type
      Supplier

      STM8-SafeCLASSB

      Active

      Functional safety package to achieve IEC 60730 Class B certification with the STM8

      STM8 Embedded Software ST
      STM8-SafeCLASSB

      Description:

      Functional safety package to achieve IEC 60730 Class B certification with the STM8

      STM8L-TOUCH-LIB

      Active

      STM8L STMTouch touch-sensing library

      STM8 Embedded Software ST
      STM8L-TOUCH-LIB

      Description:

      STM8L STMTouch touch-sensing library

      STSW-STM8004

      Active

      STM8 optimized I2C examples (AN3281)

      STM8 Embedded Software ST
      STSW-STM8004

      Description:

      STM8 optimized I2C examples (AN3281)

      STSW-STM8006

      Active

      Example of implementation of user bootloader (AN2659)

      STM8 Embedded Software ST
      STSW-STM8006

      Description:

      Example of implementation of user bootloader (AN2659)

      STSW-STM8016

      Active

      STM8L15x/16x/05x/AL3Lx/AL31x standard peripheral library

      STM8 Embedded Software ST
      STSW-STM8016

      Description:

      STM8L15x/16x/05x/AL3Lx/AL31x standard peripheral library

      STSW-STM8045

      Active

      Audio software codec for the STM8S

      STM8 Embedded Software ST
      STSW-STM8045

      Description:

      Audio software codec for the STM8S

      STSW-STM8046

      Active

      Audio software codec for STM8L15xxx and STM8AL31xx/STM8AL3Lxx (AN3225)

      STM8 Embedded Software ST
      STSW-STM8046

      Description:

      Audio software codec for STM8L15xxx and STM8AL31xx/STM8AL3Lxx (AN3225)

      STSW-STM8048

      Active

      Precision improvement techniques for the A/D converter of the STM8 microcontroller (AN2719)

      STM8 Embedded Software ST
      STSW-STM8048

      Description:

      Precision improvement techniques for the A/D converter of the STM8 microcontroller (AN2719)

      STSW-STM8049

      Active

      Basic in-application programming example using the STM8 I2C and SPI peripherals (AN2737)

      STM8 Embedded Software ST
      STSW-STM8049

      Description:

      Basic in-application programming example using the STM8 I2C and SPI peripherals (AN2737)

      STSW-STM8055

      Active

      STM8L15x internal RC oscillator calibration (AN3101)

      STM8 Embedded Software ST
      STSW-STM8055

      Description:

      STM8L15x internal RC oscillator calibration (AN3101)

      STSW-STM8056

      Active

      STM8L15x/162x LCD controller firmware (AN3114)

      STM8 Embedded Software ST
      STSW-STM8056

      Description:

      STM8L15x/162x LCD controller firmware (AN3114)

      STSW-STM8057

      Active

      STM8L15x DMA controller firmware (AN3117)

      STM8 Embedded Software ST
      STSW-STM8057

      Description:

      STM8L15x DMA controller firmware (AN3117)

      STSW-STM8061

      Active

      ISO/IEC 15693 and Dual Interface EEPROM library for STM8L microcontrollers (AN3985)

      STM8 Embedded Software ST
      STSW-STM8061

      Description:

      ISO/IEC 15693 and Dual Interface EEPROM library for STM8L microcontrollers (AN3985)

      STSW-STM8062

      Active

      STM8 in-application programming (IAP) using a customized bootloader (AN2659)

      STM8 Embedded Software ST
      STSW-STM8062

      Description:

      STM8 in-application programming (IAP) using a customized bootloader (AN2659)

      STSW-STM8064

      Active

      Setup screensaver STM8 1024x768

      STM8 Embedded Software ST
      STSW-STM8064

      Description:

      Setup screensaver STM8 1024x768

      STSW-STM8065

      Active

      Setup screensaver STM8 1280x1024

      STM8 Embedded Software ST
      STSW-STM8065

      Description:

      Setup screensaver STM8 1280x1024

      STSW-STM8068

      Active

      Erase/write routines for STM8 ROM bootloader (UM0560)

      STM8 Embedded Software ST
      STSW-STM8068

      Description:

      Erase/write routines for STM8 ROM bootloader (UM0560)
    • Part number
      Status
      Description
      Type
      Supplier

      NUCLEO-8L152R8

      Active

      STM8 Nucleo-64 development board with STM8L152R8 MCU, supports Arduino Uno and ST morpho connectivity

      STM8 Nucleo Boards ST
      NUCLEO-8L152R8

      Description:

      STM8 Nucleo-64 development board with STM8L152R8 MCU, supports Arduino Uno and ST morpho connectivity

      STM8L-DISCOVERY

      Active

      Discovery kit with STM8L152C6 MCU

      STM8 MCU Eval Boards ST
      STM8L-DISCOVERY

      Description:

      Discovery kit with STM8L152C6 MCU

      STM8L1528-EVAL

      Active

      Evaluation board with STM8L152M8 MCU

      STM8 MCU Eval Boards ST
      STM8L1528-EVAL

      Description:

      Evaluation board with STM8L152M8 MCU

      STMT/8L-EV1

      NRND

      Touch sensing Library for STM8L - Evaluation board

      STM8 MCU Eval Boards ST
      STMT/8L-EV1

      Description:

      Touch sensing Library for STM8L - Evaluation board
    • Part number
      Status
      Description
      Type
      Supplier

      FLASHER-STM8

      Active

      STM8 Flash loader demonstrator (UM0462)

      STM8 Programmers ST
      FLASHER-STM8

      Description:

      STM8 Flash loader demonstrator (UM0462)

      RIDE-STM8

      Active

      Raisonance branded integrated development environment for STM8 MCUs

      STM8 IDEs Raisonance
      RIDE-STM8

      Description:

      Raisonance branded integrated development environment for STM8 MCUs

      STM-STUDIO-STM8

      Active

      STM Studio run-time variables monitoring and visualization tool for STM8 microcontrollers

      STM8 Performance and Debuggers ST
      STM-STUDIO-STM8

      Description:

      STM Studio run-time variables monitoring and visualization tool for STM8 microcontrollers

      STM8CubeMX

      Active

      STM8Cube configuration and report tool

      STM8 Configurators and Code Generators ST
      STM8CubeMX

      Description:

      STM8Cube configuration and report tool

      STVD-STM8

      Active

      ST Visual develop IDE for developing ST7 and STM8 applications

      STM8 IDEs ST
      STVD-STM8

      Description:

      ST Visual develop IDE for developing ST7 and STM8 applications

      STVP-LIB-STM8

      Active

      STVP programming toolkit: C++ source files for creating PC programming interface

      STM8 Programmers ST
      STVP-LIB-STM8

      Description:

      STVP programming toolkit: C++ source files for creating PC programming interface

      STVP-STM8

      Active

      ST Visual Programmer STM8

      STM8 Programmers ST
      STVP-STM8

      Description:

      ST Visual Programmer STM8
    • Part number
      Status
      Description
      Type
      Supplier

      STEVAL-IPE012V3

      Active

      Single-phase energy meter with Rogowski coil sensor based on the STPM01 and STM8L152C6

      Energy and Smartgrid Solution Eval Boards --
      STEVAL-IPE012V3

      Description:

      Single-phase energy meter with Rogowski coil sensor based on the STPM01 and STM8L152C6

EDA Symbols, Footprints and 3D Models

STMicroelectronics - STM8L151K4

Speed up your design by downloading all the EDA symbols, footprints and 3D models for your application. You have access to a large number of CAD formats to fit with your design toolchain.

Symbols

Symbols

Footprints

Footprints

3D model

3D models

Quality and Reliability

Part Number Marketing Status Package Grade RoHS Compliance Grade Material Declaration**
STM8L151K4T3
Active
LQFP 32 7x7x1.4 mm Industrial Ecopack2
STM8L151K4T6
Active
LQFP 32 7x7x1.4 mm Industrial Ecopack2
STM8L151K4T6TR
Active
LQFP 32 7x7x1.4 mm Industrial Ecopack2
STM8L151K4U6
Active
UFQFPN 32 5x5x0.55 mm Industrial Ecopack2
STM8L151K4U6TR
Active
UFQFPN 32 5x5x0.55 mm Industrial Ecopack2

STM8L151K4T3

Package:

LQFP 32 7x7x1.4 mm

Material Declaration**:

PDF XML

Marketing Status

Active

Package

LQFP 32 7x7x1.4 mm

Grade

Industrial

RoHS Compliance Grade

Ecopack2

STM8L151K4T6

Package:

LQFP 32 7x7x1.4 mm

Material Declaration**:

PDF XML

Marketing Status

Active

Package

LQFP 32 7x7x1.4 mm

Grade

Industrial

RoHS Compliance Grade

Ecopack2

STM8L151K4T6TR

Package:

LQFP 32 7x7x1.4 mm

Material Declaration**:

PDF XML

Marketing Status

Active

Package

LQFP 32 7x7x1.4 mm

Grade

Industrial

RoHS Compliance Grade

Ecopack2

STM8L151K4U6

Package:

UFQFPN 32 5x5x0.55 mm

Material Declaration**:

PDF XML

Marketing Status

Active

Package

UFQFPN 32 5x5x0.55 mm

Grade

Industrial

RoHS Compliance Grade

Ecopack2

STM8L151K4U6TR

Package:

UFQFPN 32 5x5x0.55 mm

Material Declaration**:

PDF XML

Marketing Status

Active

Package

UFQFPN 32 5x5x0.55 mm

Grade

Industrial

RoHS Compliance Grade

Ecopack2

(**) The Material Declaration forms available on st.com may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices.

Sample & Buy

Part Number
Order from Distributors
Order from ST
Marketing Status
ECCN (US)
ECCN (EU)
Packing Type
Package
Temperature (°C) Country of Origin
Budgetary Price (US$)*/Qty
min
max
STM8L151K4T6TR No availability of distributors reported, please contact our sales office
Active
EAR99 NEC Tape And Reel LQFP 32 7x7x1.4 mm -40 85 CHINA 0.7954 / 10k
STM8L151K4T6 No availability of distributors reported, please contact our sales office
Active
EAR99 NEC Tray LQFP 32 7x7x1.4 mm -40 85 MALAYSIA 0.7954 / 10k
STM8L151K4U6TR No availability of distributors reported, please contact our sales office
Active
EAR99 NEC Tape And Reel UFQFPN 32 5x5x0.55 mm -40 85 PHILIPPINES 0.775 / 10k
STM8L151K4U6 No availability of distributors reported, please contact our sales office
Active
EAR99 NEC Tray UFQFPN 32 5x5x0.55 mm -40 85 PHILIPPINES 0.775 / 10k
STM8L151K4T3 No availability of distributors reported, please contact our sales office
Active
EAR99 NEC Tray LQFP 32 7x7x1.4 mm -40 125 MALAYSIA 0.9148 / 10k

STM8L151K4T6TR

Marketing Status

Active

ECCN (US)

EAR99

Budgetary Price (US$)*/Qty

0.7954 / 10k

ECCN (EU)

NEC

Packing Type

Tape And Reel

Package

LQFP 32 7x7x1.4 mm

Operating Temperature (°C)

(min)

-40

(max)

85

Budgetary Price (US$)* / Qty

0.7954 / 10k

Country of Origin

CHINA

STM8L151K4T6

Marketing Status

Active

ECCN (US)

EAR99

Budgetary Price (US$)*/Qty

0.7954 / 10k

ECCN (EU)

NEC

Packing Type

Tray

Package

LQFP 32 7x7x1.4 mm

Operating Temperature (°C)

(min)

-40

(max)

85

Budgetary Price (US$)* / Qty

0.7954 / 10k

Country of Origin

MALAYSIA

STM8L151K4U6TR

Marketing Status

Active

ECCN (US)

EAR99

Budgetary Price (US$)*/Qty

0.775 / 10k

ECCN (EU)

NEC

Packing Type

Tape And Reel

Package

UFQFPN 32 5x5x0.55 mm

Operating Temperature (°C)

(min)

-40

(max)

85

Budgetary Price (US$)* / Qty

0.775 / 10k

Country of Origin

PHILIPPINES

STM8L151K4U6

Marketing Status

Active

ECCN (US)

EAR99

Budgetary Price (US$)*/Qty

0.775 / 10k

ECCN (EU)

NEC

Packing Type

Tray

Package

UFQFPN 32 5x5x0.55 mm

Operating Temperature (°C)

(min)

-40

(max)

85

Budgetary Price (US$)* / Qty

0.775 / 10k

Country of Origin

PHILIPPINES

STM8L151K4T3

Marketing Status

Active

ECCN (US)

EAR99

Budgetary Price (US$)*/Qty

0.9148 / 10k

ECCN (EU)

NEC

Packing Type

Tray

Package

LQFP 32 7x7x1.4 mm

Operating Temperature (°C)

(min)

-40

(max)

125

Budgetary Price (US$)* / Qty

0.9148 / 10k

Country of Origin

MALAYSIA

(*) Suggested Resale Price (USD) per defined quantity for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors