STM8L152R8:Ultra-low-power 8-bit MCU with 64 Kbytes Flash, 16 MHz CPU, integrated EEPROM
The high-density and medium+ density STM8L15xx6/8 ultra-low-power devices feature an 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 ultrafast Flash programming.
All high-density and medium+ density STM8L15xx6/8 microcontrollers feature embedded data EEPROM and low-power low-voltage single-supply program Flash memory.
The devices incorporate an extensive range of enhanced I/Os and peripherals, a 12-bit ADC, two DACs, two comparators, a real-time clock, four 16-bit timers, one 8-bit timer, as well as standard communication interfaces such as two SPIs, an I2C interface, and three USARTs. A 8x40 or 4x44-segment LCD is available on the STM8L152x8 devices. 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.
Key Features
- Operating conditions
- Operating power supply: 1.65 to 3.6 V (without BOR), 1.8 to 3.6 V (with BOR)
- Temp. range: -40 to 85, 105 or 125 °C
- Low-power features
- 5 low-power modes: Wait, Low-power run (5.9 μA), Low-power wait (3 μA), Active-halt with full RTC (1.4 μA), Halt (400 nA)
- Consumption: 200 μA/MHz+330 μA
- Fast wake up from Halt mode (4.7 μs)
- Ultra low leakage per I/0: 50 nA
- 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 five programmable thresholds
- Ultra-low-power POR/PDR
- Programmable voltage detector (PVD)
- Clock management
- 32 kHz and 1-16 MHz crystal oscillators
- Internal 16 MHz factory-trimmed RC and 38 kHz low consumption RC
- Clock security system
- Low-power RTC
- BCD calendar with alarm interrupt,
- Digital calibration with +/- 0.5ppm accuracy
- Advanced anti-tamper detection
- LCD: 8x40 or 4x44 w/ step-up converter
- DMA
- 4 ch. for ADC, DACs, SPIs, I2
C, USARTs, Timers, 1 ch. for memory-to-memory
- 2x12-bit DAC (dual mode) with output buffer
- 12-bit ADC up to 1 Msps/28 channels
- Temp. sensor and internal ref. voltage
- Memories
- Up to 64 KB of Flash memory with up to 2KB of data EEPROM with ECC and RWW
- Flexible write/read protection modes
- Up to 4 KB of RAM
- 2 ultra-low-power comparators
- 1 with fixed threshold and 1 rail to rail
- Wake up capability
- Timers
- Three 16-bit timers with 2 channels (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
- One window, one independent watchdog
- Beeper timer with 1, 2 or 4 kHz frequencies
- Communication interfaces
- Two synchronous serial interface (SPI)
- Fast I2
C 400 kHz SMBus and PMBus
- Three USARTs (ISO 7816 interface + IrDA)
- Up to 67 I/Os, all mappable on interrupt vectors
- Up to 16 capacitive sensing channels supporting touchkey, proximity, linear touch and rotary touch sensors
- Fast on-chip programming and non-intrusive debugging with SWIM, Bootloader using USART
- 96-bit unique ID
Product Specifications
Description | Version | Size |
---|
DS6948:
8-bit ultra-low-power MCU, up to 64 KB Flash, 2 KB data EEPROM, RTC, LCD, timers, USARTs, I2C, SPIs, ADC, DAC, comparators | 9.0 | 2 MB |
Application Notes
Technical Notes & Articles
User Manuals
Reference Manuals
Programming Manuals
Errata Sheets
Device Option Lists
HW Model & CAD Libraries
Presentations
Flyers
Brochures
Hardware Development Tools
Part Number | Manufacturer | Description |
---|
AD/Stice_Connect | ST | Connection Adapter to use with STICE-SYS00x emulation systems |
AS/Stice_Connect | ST | Adapter Socket for application board - to use with STICE-SYS00x emulation systems |
CF/Stice_Connect | ST | Connexion flex to use with STICE-SYS00x emulation systems |
ST-LINK | ST | In-circuit debugger and programmer for STM8 and STM32 MCUs; with IAR EWARM and Keil RVMDK and ST toolset |
ST-LINK/V2 | ST | ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 |
STICE | ST | Full-featured emulator offers flexible, modular debugging and programming solution |
STX-RLINK | Raisonance | In-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers |
Software Development Tools
Part Number | Manufacturer | Description |
---|
FLASHER-STM8 | ST | STM8 Flash loader demonstrator (UM0462) |
IAR-EWSTM8 | IAR | IAR Integrated development environment and optimizing C compiler for STM8 |
IDEA | Cosmic | Cosmic's toolchain for the STM8 family is part of a complete and uniform product line incorporating over 20 years of innovative design and development. Cosmic tools for STM8, 32K Special Edition limited to 32K bytes of code, one year free license available at Cosmic. |
RIDE-STM8 | Raisonance | Raisonance branded integrated development environment for STM8 MCUs |
STM-STUDIO-STM8 | ST | STM Studio run-time variables monitoring and visualization tool for STM8 microcontrollers |
STVD-STM8 | ST | ST Visual develop IDE for developing ST7 and STM8 applications |
STVP-LIB-STM8 | ST | STVP programming toolkit: C++ source files for creating PC programming interface |
STVP-STM8 | ST | ST Visual Programmer STM8 |
winIDEA-STM8 | iSYSTEM | iSYSTEM's complete software development and test solution for the STM8 MCUs |
MCUs Embedded Software
Part Number | Manufacturer | Description |
---|
STM8-SafeCLASSB | ST | Functional safety package to achieve IEC 60730 Class B certification with the STM8 |
STM8L-TOUCH-LIB | ST | STM8L STMTouch touch-sensing library |
STSW-STM8004 | ST | STM8 optimized I2C examples (AN3281) |
STSW-STM8006 | ST | Example of implementation of user bootloader (AN2659) |
STSW-STM8016 | ST | STM8L15x/16x/05x/AL3Lx/AL31x standard peripheral library |
STSW-STM8045 | ST | Audio software codec for the STM8S |
STSW-STM8046 | ST | Audio software codec for STM8L15xxx and STM8AL31xx/STM8AL3Lxx (AN3225) |
STSW-STM8048 | ST | Precision improvement techniques for the A/D converter of the STM8 microcontroller (AN2719) |
STSW-STM8049 | ST | Basic in-application programming example using the STM8 I2C and SPI peripherals (AN2737) |
STSW-STM8055 | ST | STM8L15x internal RC oscillator calibration (AN3101) |
STSW-STM8056 | ST | STM8L15x/162x LCD controller firmware (AN3114) |
STSW-STM8057 | ST | STM8L15x DMA controller firmware (AN3117) |
STSW-STM8061 | ST | ISO/IEC 15693 and Dual Interface EEPROM library for STM8L microcontrollers (AN3985) |
STSW-STM8062 | ST | STM8 in-application programming (IAP) using a customized bootloader (AN2659) |
STSW-STM8064 | ST | Setup screensaver STM8 1024x768 |
STSW-STM8065 | ST | Setup screensaver STM8 1280x1024 |
STSW-STM8068 | ST | Erase/write routines for STM8 ROM bootloader (UM0560) |
STSW-STM8075 | ST | Guidelines for obtaining IEC 60335 Class B certification in an STM8 application (AN3181) |
TAP-KNX-KAIStack | Tapko | KNX home automation for STM8 and STM32, from Tapko Technologies GMBH |
Product Evaluation Tools
Part Number | Manufacturer | Description |
---|
STM8L-DISCOVERY | ST | Discovery kit with STM8L152C6 MCU |
STM8L-PRIMER | Raisonance | Complete EvoPrimer ready to use from Raisonance for easy evaluation and development with STM8L MCUs |
STM8L1526-EVAL | ST | Evaluation board with STM8L152C6 MCU |
STM8L1528-EVAL | ST | Evaluation board with STM8L152M8 MCU |
STMPRIMER | Raisonance | EvoPrimer components to build your own EvoPrimer for easy evaluation and development with STM32 and STM8 MCUs |
STMT/8L-EV1 | ST | Touch sensing Library for STM8L - Evaluation board |
Solution Evaluation Tools
Part Number | Manufacturer | Description |
---|
STEVAL-IPE012V2 | | Single-phase electricity meter with 10 A / 80 A current range based on the STPM10 and STM8L152 |
STEVAL-IPE012V3 | | Single-phase energy meter with Rogowski coil sensor based on the STPM01 and STM8L152C6 |
STEVAL-IPE020V1 | | Single phase electricity meter with dual EEPROM M24LR64 and STPM10 and STM8L152 |
Sample & Buy
Part Number | Package | Packing Type | Operating Temperature (°C) (min) | Operating Temperature (°C) (max) | Unit Price (US$)
* | Quantity | ECCN (EU) | ECCN (US) | Country of Origin |
---|
STM8L152R8T6 | LQFP 64 10x10x1.4 | Tray | -40 | 85 | 1.093 | 10000 | NEC | EAR99 | MALAYSIA |
STM8L152R8T3 | LQFP 64 10x10x1.4 | Tray | -40 | 125 | 1.256 | 10000 | NEC | EAR99 | CHINA |
Quality & Reliability