STM8 product families

STM8 product families
STM8
product families
STMicroelectronics
8‑bit microcontrollers
www.st.com/stm8
Content
STM8 – 8‑bit microcontrollers................................................ 4
STM8 core............................................................................................................. 4
Embedded EEPROM technology........................................................................... 4
Low‑power technology.......................................................................................... 4
Rich portfolio......................................................................................................... 4
Large voltage range............................................................................................... 4
Family concept...................................................................................................... 4
Debug module and SWIM interface........................................................................ 5
In‑circuit debugging............................................................................................... 5
Tools for everyone.................................................................................................. 5
Robustness........................................................................................................... 5
STM8S – general-purpose 8-bit MCUs................................... 6
STM8S family description....................................................................................... 6
STM8S applications .............................................................................................. 6
STM8S block diagram........................................................................................... 6
STM8S features and benefits ................................................................................ 7
Simple device selection.......................................................................................... 7
STM8S product lines............................................................................................. 7
STM8S safety........................................................................................................ 8
STM8S portfolio..................................................................................................... 8
Motor control software and hardware solutions....................................................... 8
Touch-sensing library (STM8-TOUCH-LIB) for STM8S............................................ 8
STM8S device summary........................................................................................ 9
STM8L – ultra-low-power EnergyLiteTM 8-bit MCUs............. 11
STM8L applications............................................................................................. 11
STM8L family description..................................................................................... 11
STM8L block diagram.......................................................................................... 11
STM8L features and benefits................................................................................ 12
Four different product lines................................................................................... 12
STM8L product lines............................................................................................ 12
Touch-sensing library (STM8-TOUCH-LIB) for STM8L.......................................... 13
Up to four ultra‑low‑power modes ....................................................................... 14
Supply monitoring and resets............................................................................... 14
STM8L15x consumption value............................................................................. 14
STM8L ultra‑low power consumption values........................................................ 14
STM8Ax – automotive 8-bit MCUs........................................ 17
STM8Ax family description................................................................................... 17
STM8AF applications .......................................................................................... 17
STM8AF block diagram....................................................................................... 17
STM8Ax features and benefits ............................................................................. 18
STM8Ax simple device selection.......................................................................... 18
STM8AL applications........................................................................................... 18
STM8AL block diagram....................................................................................... 18
STM8AF product lines.......................................................................................... 19
STM8AL product lines.......................................................................................... 19
Automotive grade................................................................................................ 19
STM8AF portfolio................................................................................................. 20
STM8AF LIN and CAN support............................................................................ 20
STM8AF BLDC motor control............................................................................... 20
STM8AL portfolio................................................................................................. 21
STM8AL description............................................................................................ 21
STM8AL low-power feature................................................................................. 21
STM8AL motor control features............................................................................ 21
STM8AL LCD and touch sensing......................................................................... 21
STM8AL power budget........................................................................................ 21
2
STM8T14x – Proximity and touchkey MCUs......................... 23
STM8T142 device description.............................................................................. 23
STM8T142 applications....................................................................................... 23
STM8T142 block diagram.................................................................................... 23
STM8T14x features and benefits.......................................................................... 24
STM8T142 typical application diagram................................................................. 24
STM8 tools............................................................................ 25
STM8 touch‑sensing tools.................................................................................. 27
STM8 tool summary............................................................................................. 28
3
STM8 – 8‑bit microcontrollers
The STM8 is a platform of technologies, IPs and tools which forms the basis of STMicroelectronics’
comprehensive family of 8‑bit microcontrollers. These cover a wide range of applications from low‑power and
consumer electronics, through home appliances and factory automation to automotive segments.
The platform provides outstanding levels of digital and analog performance combined with a high level of
cost effectiveness.
Implemented around a high‑performance 8‑bit core and a state‑of‑the‑art set of peripherals, the
microcontrollers in the STM8 family are manufactured using an ST‑proprietary 130 nm embedded non‑volatile
memory technology.
STM8 core
Embedded EEPROM technology
Large voltage range
The STM8 core is an evolution of the
industry‑standard ST7 core. It has
been significantly improved to reach
1.6 cycles per instruction and up to
24 MHz clock frequency.
Based on STMicroelectronics’ in‑house
130 nm non‑volatile embedded
technologies, the STM8 families are
leading the 8‑bit microcontroller market
in terms of analog, digital and NVM
performance. These technologies
are highly competitive due to the
outstanding integration level.
With a voltage range from 1.65 to 5.5 V,
the STM8 families can cover a wide
scope of application segments.
Complete instructions
B4
B3
B2
32-bit
memory
3-stage
pipeline
Fetch
Decode
Execute
B1
Data
memory
STM8 core
The key features of the STM8 core are:
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
4
Harvard architecture
16‑bit index registers and stack
pointer
32‑bit memory interface and
3‑stage pipeline
Extended instruction set
Enhanced stack pointer operations
Move instruction for fast data
transfer
Hardware division (16 / 8)
Faster multiplication (8 x 8)
8‑bit signed arithmetic support
Advanced addressing modes
including indexed addressing
Statistically optimized instruction
tables
As a result, all STM8 devices feature
real data EEPROM with read while write
capability. This means an easy‑to‑use
data NVM eliminating the need for
complex EEPROM emulation software.
The performance of the integrated
EEPROM is at the same level as
standalone devices, meeting even the
most demanding automotive reliability
standards.
Family concept
The compatibility within and across the
families through a modular peripheral
set simplifies design reuse, so
improving time to market.
The hardware implementation in the
STM8 devices provides a consistent
migration across the package families.
Increasing or decreasing the pin count
with a similar location for supply,
control or peripheral pins simplifies the
hardware design and validation.
Low‑power technology
The ultra‑low‑power design (clock
gating, low‑power Flash with power‑off
capability) ensures reduced overall run
and wait mode current consumption by
turning off clocks of unused peripherals
or Flash. Multiple modular‑technology
options allow solutions for high speed,
ultra‑low leakage and power,
high integration level or analog
performance.
Rich portfolio
Up to 128 Kbytes of program memory,
up to 80‑pin packages, and up to
150 °C operating temperature make
the STM8 a perfect fit for strategic
platform choices, and facilitates reuse
of design concepts.
Timers
Analog Inputs
Communications
System
Moreover, the flexible alternate function
mapping ensures all communication
peripherals (U(S)ART, I²C or SPI)
are always available, and brings the
versatility of low pin count packages to
a new level.
Debug module and SWIM interface
Tools for everyone
SWIM
A single‑wire interface module allows direct access to the debug module, the
registers and the device memory. The interface can be activated in all device
operation modes and supports debugging and programming of the device.
Debug module
The non‑intrusive debug module is present on each STM8 device. It is connected
to the internal bus and allows breakpoint setting and CPU monitoring and control.
In‑circuit debugging
Application debugging on microcontroller products has never been easier or more
affordable. Using the advanced single‑wire SWIM interface and the integrated
debug module, a simple USB adapter turns your PC into a powerful development
tool featuring:
The ecosystem of advanced STM8
tools is a scalable offer to satisfy all
needs. From free‑of‑charge software
tools, including free compiler licenses,
to low‑cost starter kits and affordable
evaluation boards for multiple
applications, ST tools and support
open the door to the ST microcontroller
universe.
ST’s fully tested, optimized and
validated downloadable source‑code
libraries are immediately available for
new application development.
Non‑intrusive debugging – no wasted target resources, no reserved NVM
addresses, no monitor
QQ Real‑time read and write of RAM and peripheral registers – no wait, no stall
QQ On‑the‑fly access to CPU via shadow registers
QQ Hot‑plug during application execution and post‑mortem debug
QQ Unlimited breakpoints on all memory instructions
QQ Hardware breakpoints – 23 configurations
QQ Step‑by‑step code execution
QQ Fast Flash programming
For the most demanding applications, ST offers the FPGA based STice emulator,
which complements the environment with solutions for code tracing, code
coverage measurement and profiling.
QQ
STX‑RLINK
ST‑LINK
Robustness
The products are designed to withstand a high level of external disturbance, ensuring robust applications without the
expense of external protection elements. Immune against EMS and robust against latch‑up or ESD, with built‑in checksum
mechanisms, the products support IEC 60335 class B compliance.
The main contributors to this robustness are the clock controller with 2 independent watchdogs and the clock security system
(CSS), as well as a protection mechanism for critical registers and illegal opcodes.
CSS
Window watchdog
1 to 24 MHz Xtal and external clock source
Precise 16 MHz internal RC oscillator
Mux
Clock control unit
Low-speed internal RC oscillator
Watchdog
timer
CPU and peripherals
The I/Os of the devices feature a high level of robustness against current injection when the protection diodes are used for
clamping. During reset of the microcontroller, the I/Os are in high‑impedance state.
I/O
‑ 4 mA injected current
I/O
< 1 µA leakage on adjacent pins
5
STM8S – general-purpose 8-bit MCUs
STMicroelectronics’ STM8S family of general‑purpose 8‑bit Flash microcontrollers offers ideal solutions for
industrial and appliance market requirements. An advanced core version combined with a 3‑stage pipeline ranks
the STM8S microcontroller in the top position for performance. The true embedded EEPROM and the calibrated
RC oscillator bring a significant cost effectiveness to the majority of applications. An easy‑to‑use and intuitive
development environment contributes to improving time to market.
STM8S family description
Upgrade to a higher or downgrade to a lower memory size, or use a different
package across lines without changing the initial layout or software.
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
STM8 24 MHz CPU
8 to128 Kbytes of embedded Flash, up to 6 Kbytes of SRAM
Supply voltage: 2.95 to 5.5 V
Up to four low‑power modes: down to 4 μA with complete context retention
State‑of‑the‑art digital and analog peripherals
Specific interfaces such as IrDA and smartcard for support of consumer
applications
‑40 to +85 °C, or up to 125 °C temperature range
Free Class B self‑diagnostic library for IEC 60335/IEC 60730 compliant
applications
Many software libraries and examples for download
STM8S block diagram
System
Power supply
2.95 to 5.5 V
(1.8 V internal regulator)
POR / BOR
Xtal oscillator
1-24 MHz
Internal RC oscillators
128 kHz and 16 MHz
Clock control
Clock detector
STM8S applications
4- to 128-Kbyte
Flash memory
Control
16-bit timer, 4 CAPCOM +
3 comparator outputs
2x16-bit timer
2/3 CAPCOM
8-bit timer
Beeper
1/2/4 kHz
QQ
QQ
Up to 6-Kbyte SRAM
QQ
Up to 2-Kbyte EEPROM
QQ
Boot ROM
QQ
QQ
STM8 CPU
Up to 24 MHz
AWU
2x watchdogs
(independent and window)
Up to 68 I/Os
6
STM8 Simply smarter
Nested vector
interrupt
controller (NVIC)
SWIM debug
module
Connectivity
CAN 2.0 B
2xU(S)ART
LIN
Smartcard / IrDA
QQ
QQ
QQ
QQ
SPI
QQ
I²C
QQ
Analog
10-bit ADC
16 channels
Appliances, power tools
HVAC
Power management
Lighting
Factory automation
Devices with rechargeable
batteries
Motor control
e‑vehicles
Toys and games
Sensors
Power supplies
User interfaces
STM8S features and benefits
Features
2.95 to 5.5 V, ‑40 to +125 °C range
Benefits
Ideal for industrial and appliance requirements
Up to 20 MIPS @ 24 MHz, Harvard architecture
Optimized core performance and code‑size efficiency
Embedded true EEPROM, 300 kcycles
Satisfies all needs with configurable modes, motor control, capture, compare,
PWM
Lower system cost
CAN, 2x U(S)ART, SPI, I²C
All essential communication peripherals supporting various protocols
Single‑voltage Flash memory with single‑byte programming granularity
In‑application programming (IAP), in‑circuit programming (ICP)
4 low‑power modes
Efficient power management
Trimmable 16 MHz and 128 kHz internal RC oscillators with dual independent
watchdogs and 2 µs fast switching between clock sources
Reduced cost, robust clock architecture, optimized power consumption
Integrated POR and BOR
Reliable reset mechanism during power up and down
Low emission and high current injection immunity
Outstanding EMC, no need for extra protection
4‑ to 128‑Kbyte Flash in 20‑ to 80‑pin packages
Package compatible across family, ideal choice of platform
On‑chip debugging and programming through single‑wire interface, SWIM
Easy‑to‑use, non‑intrusive and low‑cost development tools
Up to 16‑channel 10‑bit ADC ±1 LSB with scan mode, conversion time < 3 µs
Fast and accurate A/D converter
16‑bit advanced control timer
Simple device selection
The STM8S family is available in four lines: the Application specific line, Performance line, Access line and Value line. The
Application specific line is suitable for applications requiring more analog features. With FCPU specified up to 24 MHz, the
Performance line is ideal when processing power is needed. The Access line is an affordable solution when cost efficiency is
the main concern. The Value line will bring further cost optimization
These lines share the same architecture and peripheral set, making navigation possible across the portfolio.
STM8S product lines
Common core peripherals and
architecture:
STM8S903x Application specific line
UART
LIN/smartcard/IrDA
STM8 core
@ 16 MHz
I²C
400 kHz multimaster
SPI 10 MHz
Up to 3x 16‑bit timer
8‑bit timer
2x watchdogs
(WDG and WWDG)
AWU beeper 1/2/4 kHz
10‑bit ADC
Up to 16 channels
Xtal
16 MHz and 128 kHz
internal RC oscillators
SWIM
debug module
8‑Kbyte
Flash
1‑Kbyte
SRAM
640‑bytes 7 analog Voltage
EEPROM channels reference
Timer
sync
STM8S20x Performance line
+
Up to
128‑Kbyte
STM8 core
Flash
@ 24 MHz
Up to
6‑Kbyte
SRAM
Up to
2‑Kbyte CAN 2.0B 2nd UART
EEPROM
Up to
2‑Kbyte
SRAM
Up to
1‑Kbyte
EEPROM
STM8S10x Access line
STM8 core
@ 16 MHz
Up to
32‑Kbyte
Flash
STM8S00x Value line*
Up to
64‑Kbyte
STM8 core
Flash
@ 16 MHz
1‑Kbyte
SRAM
Note:
* Available in Q2/2011
7
STM8S portfolio
Flash size (bytes)
128 K
64 K
STM8S207K8
32 K
STM8S207K6
16 K
8K
4K
STM8S208SB
STM8S208CB
STM8S208RB
STM8S208MB
STM8S207SB
STM8S207CB
STM8S207RB
STM8S207MB
STM8S208S8
STM8S208C8
STM8S208R8
STM8S208M8
STM8S207S8
STM8S207C8
STM8S207R8
STM8S207M8
STM8S208S6
STM8S208C6
STM8S208R6
STM8S207S6
STM8S207C6
STM8S207R6
STM8S105K6
STM8S105S6
STM8S105C6
STM8S105K4
STM8S105S4
STM8S105C4
44 pins
LQFP
48 pins
LQFP
STM8S903F3
STM8S903K3
STM8S103F3
STM8S103K3
STM8S103F2
20 pins
TSSOP/
UFQFN/SO
32 pins
LQFP/UFQFNP/
VFQFPNP/SDIP
64 pins
LQFP
80 pins
LQFP
Pin count
Legend:
Performance line
Access line
Application specific line
Motor control software and hardware solutions
STM8S safety
For developers of STM8‑based motor control applications, the STM8S motor control
starter kit (STM8/128‑MCKIT) provides a complete platform with all the hardware and
software required to get applications started easily.
ST offers a Class B self‑diagnostic
library for IEC 60335/IEC 60730
compliant products. The
free‑of‑charge library has
been certified by the VDE and
is ready to be included in the
application software to enhance
the robustness and control of the
application. It features a self‑test
library for startup and runtime:
Brushless DC motors
Six‑step drive with support for both Hall sensors and sensorless position feedback
QQ
QQ
Current or voltage mode
Open or closed speed loop
AC induction motors
QQ
QQ
Open speed loop with or without load
compensation
Closed speed loop
QQ V/f and slip control for optimized dynamic drive
QQ Maximum torque per ampere (MTPA) control
for current‑optimized drive efficiency
Touch-sensing library (STM8-TOUCH-LIB) for STM8S
The touch-sensing library is a free source code solution to implement capacitive
touch keys, wheels and sliders using STM8 microcontrollers. The library can be
downloaded from the ST website and an evaluation board (STM8/128‑EV/TS) is
available to quickly evaluate the touch‑sensing library performances.
Design elegant and attractive interfaces
8
CPU register test
RAM functional test (March C
and X algorithms)
QQ Flash integrity test via CRC
QQ Watchdog self test
QQ External clock frequency
measurement
QQ Stack overflow check (only in
runtime)
In addition, the specific hardware
robustness features (watchdogs,
clock security system, robust
I/Os) of the STM8 platform
support compliance with safety
regulations.
QQ
QQ
STM8S device summary
Flash Internal
Data
RAM EEPROM
8‑bit
size
size
(Kbytes) (Kbytes)
(Bytes) (IC/OC/
PWM)
Timer functions
16‑bit
(IC/OC/
PWM)
I/Os
A/D
(high
Others converter current)
Part number
Package
STM8S207C6
LQFP48
(7x7)
32
2
1024
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 10x10‑bit
beep
38(16)
STM8S207C8
LQFP48
(7x7)
64
4
1536
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 10x10‑bit
beep
38(16)
STM8S207CB
LQFP48
(7x7)
128
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 10x10‑bit
beep
38(16)
STM8S207K6
LQFP32
(7x7)
32
2
1024
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
7x10‑bit
25(12)
STM8S207K8
LQFP32
(7x7)
64
6
1024
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
7x10‑bit
25(12)
STM8S207M8
LQFP80
(14x14)
64
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
68(18)
STM8S207MB
LQFP80
(14x14)
128
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
68(18)
STM8S207R6
LQFP64
(10x10)
32
2
1024
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
52(16)
64
4
1536
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
52(16)
128
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
52(16)
Serial interface
Supply
voltage
(V)
Supply current (ICC)
Touch
Lowest
Run
sensing
power
mode
FW
mode (per MHz) library
(µA)
(µA)
STM8S20x Performance line – 24 MHz CPU
STM8S207R8
STM8S207RB
LQFP64
(10x10),
LQFP64
(14x14)
LQFP64
(10x10),
LQFP64
(14x14)
STM8S207S6
LQFP44
(10x10)
32
2
1024
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
9x10‑bit
34(15)
STM8S207S8
LQFP44
(10x10)
64
4
1536
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
9x10‑bit
34(15)
STM8S207SB
LQFP44
(10x10
128
4
1536
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
9x10‑bit
34(15)
STM8S208C6
LQFP48
(7x7)
32
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 10x10‑bit
beep
38(16)
STM8S208C8
LQFP48
(7x7)
64
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 10x10‑bit
beep
38(16)
STM8S208CB
LQFP48
(7x7)
128
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 10x10‑bit
beep
38(16)
STM8S208M8
LQFP80
(14x14)
64
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
68(18)
STM8S208MB
LQFP80
(14x14)
128
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
68(18)
STM8S208R8
LQFP64
(10x10)
64
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
52(16)
STM8S208RB
LQFP64
(10x10)
128
6
2048
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 16x10‑bit
beep
52(16)
STM8S208S6
LQFP44
(10x10)
32
4
1536
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
9x10‑bit
34(15)
STM8S208SB
LQFP44
(10x10)
128
4
1536
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
9x10‑bit
34(15)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
1xSPI, xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
1xSPI, 1xI²C,
2xUART (IrDa,
ISO 7816), 1xCAN
9
STM8S device summary
Part number
Package
Flash Internal
Data
RAM EEPROM
8‑bit
size
size
(Kbytes) (Kbytes)
(Bytes) (IC/OC/
PWM)
Timer functions
16‑bit
(IC/OC/
PWM)
I/Os
A/D
(high
Others converter current)
Serial interface
Supply
voltage
(V)
Supply current (ICC)
Touch
Lowest
Run
sensing
power
mode
FW
mode (per MHz) library
(µA)
(µA)
STM8S10x Access line – 16 MHz CPU
STM8S103F2
STM8S103F3
STM8S103K3
STM8S105C4
STM8S105C6
STM8S105K4
STM8S105K6
SO20
(7.6x13),
TSSOP20
(4.5x6.6),
Pitch 0.65,
UFQFPN20
(3x3)
SO20
(7.6x13),
TSSOP20
(4.5x6.6),
Pitch 0.65,
UFQFPN20
(3x3)
LQFP32
(7x7),
UFQFPN32
(5x5),
Unsawn wafer
V.I. 100%,
VFQFPN32
(5x5)
Pitch 0.5
LQFP48
(7x7)
LQFP48
(7x7),
Unsawn wafer
V.I. 100%
LQFP32
(7x7),
PDIP32 Shrink
(400 mils),
VFQFPN32
(5X5)
Pitch 0.5
LQFP32
(7x7),
PDIP32 Shrink
(400 mils),
UFQFPN32
(5x5),
VFQFPN32
(5X5)
Pitch 0.5
4
1
640
1x8‑bit
2x16‑bit
(7/7/7)
2 x WDG,
beep
5x10‑bit
16(12)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
8
1
640
1x8‑bit
2x16‑bit
(7/7/7)
2 x WDG,
beep
5x10‑bit
16(12)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
8
1
640
1x8‑bit
2x16‑bit
(7/7/10)
2 x WDG,
beep
5x10‑bit
28(21)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
16
2
1024
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 10x10‑bit
beep
38(16)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
32
2
1024
1x8‑bit
3x16‑bit
(9/9/12)
2 x WDG, 10x10‑bit
beep
38(16)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
16
2
1024
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
7x10‑bit
25(12)
1xSPI, I²C,
1xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
32
2
1024
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
7x10‑bit
25(12)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
2.95 to 5.5
5
145
Yes
STM8S105S4
LQFP44
(10x10)
16
2
1024
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
9x10‑bit
34(15)
STM8S105S6
LQFP44
(10x10)
32
2
1024
1x8‑bit
3x16‑bit
(8/8/11)
2 x WDG,
beep
9x10‑bit
34(15)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
STM8S90x Application specific line – 16 MHz CPU
STM8S903F3
STM8S903K3
10
SO20
(7.6x13),
TSSOP20
(4.5x6.6)
LQFP32
(7x7),
PDIP32 Shrink
(400 mils),
UFQFPN32
(5x5),
VFQFPN32
(5X5)
Pitch 0.5
8
1
640
1x8‑bit
2x16‑bit
(7/7/10)
2 x WDG,
beep
7x10‑bit
16(12)
1xSPI, 1xI²C,
1xUART (IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
8
1
640
1x8‑bit
2x16‑bit
(7/7/10)
2 x WDG,
beep
7x10‑bit
28(21)
1xSPI, 1xI²C,
1xUART(IrDa,
ISO 7816)
2.95 to 5.5
5
145
Yes
STM8L – ultra-low-power EnergyLiteTM 8-bit MCUs
STMicroelectronics proposes an ultra‑low‑power family of MCUs based on the 8‑bit and 32‑bit cores.
The STM8L MCU family, based on the STM8 proprietary core, is the entry point of the platform.
The STM8L family combines high performance and ultra‑low power consumption using a new proprietary
ultra‑low leakage process and optimized architecture. This family is available in four different lines, making the
STM8L an optimal family to support many applications with special care on power savings.
The STM8L101 is the entry point for the ultra‑low‑power 8‑bit portfolio. It is cost optimized and offers a high
level of integration in an ultra‑small footprint. The STM8L151 is the feature‑rich 8‑bit solution.
The STM8L152 has an additional segment LCD driver compared to the STM8L151.
The STM8L162 has an additional 128-bit encryption (AES) feature compared to the STM8L152.
STM8L family description
Upgrade to a higher or downgrade to a lower memory size or use a different
package across lines without changing your initial design or software.
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
STM8 16 MHz CPU
4 to 64 Kbytes of embedded Flash, up to 4 Kbytes of SRAM and up to 2 Kbytes
of EEPROM
Four lines: pin‑to‑pin, software and peripheral compatibility across lines
Supply voltage: 1.65 to 3.6 V
Up to four ultra‑low‑power modes: down to 350 nA with SRAM and context
retention
Run mode dynamic consumption down to 150 μA/MHz
State‑of‑the‑art digital and analog peripherals
‑40 to +85 °C, or up to 125 °C operating temperature range
Touch-sensing embedded charge-transfer hardware with free library
STM8L block diagram
System
Power supply
1.8 V regulator
POR/PDR/PVD/BOR
Xtal oscillator*
32 kHz + 1~16 MHz
Internal RC oscillators
38 kHz + 16 MHz
Clock control
RTC*/AWU
2x watchdogs
(independent and window)
18/26/30/41/54/68 I/Os
Control
1x 16-bit PWM*
Synchronized AC timer
2 to 3x 16-bit timers
1x 8-bit timer
STM8L applications
4- to 64-Kbyte
Flash memory
1.5- to 4-Kbyte SRAM
1- to 2-Kbyte EEPROM*
Boot ROM*
STM8 CPU
Up to 16 MHz
Notes:
* STM8L15x/16x
** STM8L16x only
Connectivity
1 to 3x USART
QQ
1 to 2x SPI
QQ
I²C
QQ
Nested vector
interrupt
controller (NVIC)
SWIM debug
module
Touch sensing
Charge-transfer driver
up to 16 channels
LCD driver*
(4 x 28 or 8 x 40)
Abbreviations:
AWU: Auto wake up from halt
BOR:
Brown-out reset
I²C:
Inter integrated circuit
AES:
Advanced encryption standard
PDR:
Power-down reset
QQ
Medical equipment
QQ Glucose meters, insulin
pumps
QQ Blood pressure and
colesterol monitors
QQ Patient monitoring
Metering (electricity/gas/water/
heat meters, scales)
Alarm systems (central units,
sensors, door locks, fire
alarms)
GP portable devices
QQ Mobile phones, accessories
QQ Gaming, remote controls
GPS watches, sports
equipment
Analog
1 to 2x 12-bit DAC*
12-bit ADC*
25 channels
2x comparators
4-channel DMA*
Display
Encryption
AES (128 bits)**
QQ
Temperature sensor*
POR:
PVD:
RTC:
SPI:
USART:
Power-on reset
Programmable voltage detector
Real-time clock
Serial peripheral interface
Universal sync/async receiver transmitter
11
STM8L features and benefits
Features
Ultra‑low‑power proprietary 130 nm technology
Ultra‑low‑power design (clock gating, low‑power Flash with power‑off
capability)
Sub 1 µA hardware RTC and AWU system unit
Sub-second hardware RTC
Fine-grain calibration accuracy down to +/-2 ppm
Range of low‑power modes (up to 6)
Advanced and flexible clock system (multiple internal and external clock
sources)
Direct memory access on board (7‑channel DMA)
Ultra‑low‑power and ultra‑safe features (POR, PDR, BOR, PVD, unique ID,
backup clock, Flash protection, Flash with error code correction (ECC), dual
watchdog, and more)
Ultra‑fast wake-up from lowest low‑power mode
Analog functional down to 1.8 V, programming down to 1.65 V
Benefits
Speed and power consumption independent of MCU power supply, ultra‑low
leakage
Reduced overall run and wait mode current consumption by turning off clocks
of unused peripherals or Flash
Optimized power consumption in run mode according to the performance
required
Ultra‑low‑power modes for applications requesting regular wake up
Precise synchronization in RF networks, sensors and alarms
Very high efficiency of RTC calibration within a 10 s time frame; compliant with
latest Chinese regulations
Suitable for many applications from complete switch off to continuous
monitoring at ultra-low frequency
Switch and adjust frequency and clock sources on the fly depending on
application needs
Autonomy for peripherals, independent from core; can switch off Flash memory
and CPU (large current consumption contributors) while keeping peripherals
active
Integrated safety and security for applications; user data confidentiality/
reliability
Fast switching from static and dynamic power modes
Full functionality over the complete VDD range
Four different product lines
The STM8L101 is the entry point for the ultra‑low‑power 8‑bit portfolio. It is cost optimized and offers a high level of integration
in an ultra-small footprint. The STM8L151 is the feature‑rich 8‑bit solution. It has more Flash, SRAM and peripherals on board,
with external crystal/clock capability, more analog features, a real‑time clock and enhanced reset, EEPROM with true RWW,
DMA, fast ADC and DAC. The STM8L152 has an additional segment LCD driver compared to the STM8L151.
The STM8L162 has an additional 128-bit encryption (AES) feature compare to STM8L152.
STM8L product lines
Common core peripherals
and architecture:
Communication
peripherals
USART, SPI,I²C
Multiple
16‑bit timer
Internal 16 MHz
and 38 kHz RC oscillators
Watchdog
(dual watchdogs on
STM8L15x/16x)
Reset circuitry
POR/PDR
2x comparators
Touch-sensing
(Up to 16 channels)
Note:
* Embedded EEPROM in the Flash
12
STM8L162
Reset
+
BOR
PVD
Up to
RTC
12‑bit
Main osc.
Up to
2-Kbyte
with
ADC (1 12‑bit LCD
AES
input
4 channels
data
32 kHz
µs) Temp. DAC 8 x 40 128-bit
1‑16 MHz
DMA
EEPROM osc.
sensor
up to
Up to
64-Kbyte 4-Kbyte
STM8 core
Flash
SRAM
@ 16 MHz
Reset
+
BOR
PVD
Up to
RTC
12‑bit
Main osc.
Up to
2-Kbyte
with
ADC (1 12‑bit LCD
input
4 channels
data
32 kHz
µs) Temp. DAC 8 x 40
1‑16 MHz
DMA
EEPROM osc.
sensor
up to
Up to
64-Kbyte 4-Kbyte
STM8 core
Flash
SRAM
@ 16 MHz
Reset
+
BOR
PVD
Up to
RTC
12‑bit
Main osc.
Up to
2-Kbyte
with
ADC (1 12‑bit
input
4 channels
data
32 kHz
µs) Temp. DAC
1‑16 MHz
DMA
EEPROM osc.
sensor
up to
Up to
64-Kbyte 4-Kbyte
STM8 core
Flash
SRAM
@ 16 MHz
STM8L152
+ STM8L151
STM8L101
Up to
Up to
8‑Kbyte 1.5‑Kbyte
STM8 core
Flash*
SRAM
@ 16 MHz
Abbreviations:
AES: Advanced encryption standard
BOR: Brown‑out reset
Osc.: Oscillator
POR: Power‑on reset
PDR: Power‑down reset
PVD: Programmable voltage detector
RTC: Real‑time clock
STM8L portfolio
Flash size (bytes)
64 K
STM8L152C8
STM8L152M8
STM8L151M8
STM8L151C8
STM8L151R8
STM8L152C6
STM8L152R6
STM8L151G6
STM8L151K6
STM8L151C6
STM8L151R6
STM8L152K4
STM8L152C4
STM8L151G4
STM8L151K4
STM8L151C4
STM8L151F3
STM8L151G3
STM8L151K3
STM8L151C3
STM8L101F3
STM8L101G3
STM8L101K3
STM8L151F2
STM8L151G2
STM8L151K2
STM8L101F2
STM8L101G2
20 pins
TSSOP/QFN
28 pins
QFN/WLCSP
16 K
4K
STM8L162M8
STM8L152R8
STM8L152K6
32 K
8K
STM8L162R8
Legend:
STM8L151 without LCD
32 pins
LQFP/QFN
STM8L152 with LCD
48 pins
LQFP/QFN
80 pins
LQFP
64 pins
LQFP/BGA
STM8L162 with LCD and AES
STM8L101
Pin count
Available in Q2/2011
Touch-sensing library (STM8-TOUCH-LIB) for STM8L
STMicroelectronics’ touch‑sensing software library is a complete, free‑of‑charge source‑code solution to transform any 8‑bit
STM8L microcontroller into a capacitive touch‑key controller. This library controls the embedded charge transfer hardware
driver, offers advanced filtering algorithms and touch-key management in various user cases. Designers can combine
the touch‑sensing function with multiple configurations (touch keys, wheels, sliders) and the traditional MCU features
(communication, LED control, beeper, LCD control). An evaluation board (STMT/8L‑EV1) based on the STM8L device is
available to discover the touch‑sensing library.
13
STM8L: power saving features and benefits
The STM8L lines embed up to 4 different ultra‑low‑power modes to offer users a high level of flexibility for their applications. In
addition, the dynamic run consumption has been optimized.
Up to four ultra‑low‑power
modes
Supply monitoring and resets
QQ
The following modes are ideal for
applications that need constant
monitoring with a sub 6 μA budget.
Low‑power run mode: the CPU is
still running. Execution is done from
RAM with a low‑speed oscillator
(RTC or internal). Consumption is
less than 6 μA typical.
QQ Low‑power wait: offers the
capability to keep the RTC and a
few other peripherals active (such
as the timer) with a consumption of
about 3 μA typical.
The Flash is switched off and the
regulator is put in ultra‑low‑power
mode, the CPU clock is stopped,
the RTC and peripherals can be
activated.
The following modes are ideal for
applications that need low‑power
modes with sub 1.2 μA budget.
QQ
QQ
QQ
Active halt mode: the CPU, main
clocks and peripherals are off. The
RTC can be still running. Wake up
can be done through an interrupt on
the peripherals. SRAM and context
are kept.
Halt mode: the CPU, main clocks
and peripherals are off, the RTC is
off, SRAM and context are kept.
QQ
QQ
Full reset circuitry, supply monitoring
QQ Power‑on reset/power‑down reset, permanently enabled (zero power)
QQ Brown‑out detection (BOR) can be on or off in low‑power mode
QQ Programmable voltage detection – can be on or off
Extended battery lifetime down to 1.65 V
BOR complies with all VDD rise/fall times, so no constraints on power supply
shape
STM8L15x consumption value
Typical @ 25 °C
192 µA/MHz
90 µA/MHz
5.1 µA
Dynamic
Run
From Flash
3.0 µA
Dynamic
Run
From RAM
Low-power
Run
@ 32 kHz
1.2 µA
Low-power
Wait
@ 32 kHz
0.4 µA
Active
Halt with
RTC
Halt
Notes:
- POR/PDR on
- RAM content preserved
- BOR option at 2.4 µA
- Startup time from active Halt 5 µs
- Run and Wait consumption values are independent of VDD
- Active Halt and Halt values measured at VDD = 1.8 V
STM8L ultra‑low power consumption values
Operating mode
Run from Flash mode
Run from RAM mode
Low‑power Run from RAM
Low‑power Wait
Active Halt with RTC
STM8L101
STM8L15x/STM8L16x
Typ 1.8 V – 3.3 V, 25 °C
Typ 1.8 V, 25 °C
Typ 3.0 V, 25 °C
150 µA/MHz
75 µA/MHz
n.a
n.a
n.a
192 µA/MHz
90 µA/MHz
5.1 µA
3.0 µA
1.2 µA
192 µA/MHz
90 µA/MHz
5.1 µA
3.0 µA
1.35 µA
Active Halt with AWU
0.8 µA
1 µA
1 µA
Halt mode
0.35 µA
0.4 µA
0.4 µA
14
STM8L device summary
Part number
1
Package
Timer functions
Flash Internal
Data
RAM EEPROM
8‑bit 16‑bit
size
size
(Kbytes) (Kbytes)
(Bytes) (IC/OC/ (IC/OC/ Others
PWM) PWM)
I/Os
A/D
Comp- (high
converter arator current)
Serial
interface
Supply
voltage
(V)
Supply current (ICC)
Display
Lowest Run mode controller
power (per MHz) (LCD)
mode (µA)
(µA)
STM8L101 entry line – 16 MHz CPU
TSSOP20
(7.8x4.4)
STM8L101F2 Pitch 0.65,
UFQFPN20
(3x3),
Pitch 0.5
TSSOP20
(7.8x4.4)
STM8L101F3 Pitch 0.65,
UFQFPN20
(3x3),
Pitch 0.5
UFQFPN28
STM8L101G2
(4x4),
Pitch 0.5
UFQFPN28
STM8L101G3
(4x4),
Pitch 0.5
LQFP32
(7x7)
STM8L101K3 Pitch 0.8,
UFQFPN32
(5x5),
Pitch 0.5
4
1.5
‑
IWD, AWU,
1x8‑bit 2x16‑bit
(4/4/4) beeper
‑
2
1xSPI, 1xI²C,
18(16) 1xUSART,
1xIRTx
1.65 to
3.6
0.35
150
‑
8
1.5
*
IWD, AWU,
1x8‑bit 2x16‑bit
(4/4/4) beeper
‑
2
1xSPI, 1xI²C,
18(16) 1xUSART,
1xIRTx
1.65 to
3.6
0.35
150
‑
4
1.5
‑
IWD, AWU,
1x8‑bit 2x16‑bit
(4/4/4) beeper
‑
2
1.65 to
3.6
0.35
150
‑
8
1.5
*
IWD, AWU,
1x8‑bit 2x16‑bit
(4/4/4) beeper
‑
2
1xSPI, 1xI²C,
26(24) 1xUSART,
1xIRTx
1xSPI, 1xI²C,
26(24) 1xUSART,
1xIRTx
1.65 to
3.6
0.35
150
‑
8
1.5
*
IWD, AWU,
1x8‑bit 2x16‑bit
(4/4/4) beeper
‑
2
1xSPI, 1xI²C,
30(28) 1xUSART,
1xIRTx
1.65 to
3.6
0.35
150
‑
STM8L151 without LCD – 16 MHz CPU
STM8L151C4
STM8L151C6
STM8L151C8
STM8L151G4
STM8L151G6
STM8L151K4
STM8L151K6
LQFP48
(7x7)
Pitch 0.5,
UFQFPN48
(7x7),
Pitch 0.5
LQFP48
(7x7)
Pitch 0.5,
UFQFPN48
(7x7),
Pitch 0.5
LQFP48
(7x7)
Pitch 0.5,
UFQFPN48
(7x7)
Pitch 0.5
UFQFPN28
(4x4),
Pitch 0.5,
WLCSP28
(2.9x1.8)
Pitch 0.4
UFQFPN28
(4x4),
Pitch 0.5,
WLCSP28
(2.9x1.8)
Pitch 0.4
LQFP32
(7x7)
Pitch 0.8,
UFQFPN32
(5x5),
Pitch 0.5,
XQFN32
(5X5),
Pitch 0.5
LQFP32
(7x7)
Pitch 0.8,
UFQFPN32
(5x5),
Pitch 0.5
16
2
1024
2xWDG,
1x8‑bit 3x16‑bit
RTC, 25x12‑bit
(7/7/10) AWU,
beeper
2
1xSPI, 1xI²C,
41(39) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
‑
32
2
1024
2xWDG,
1x8‑bit 3x16‑bit
RTC, 25x12‑bit
(7/7/10) AWU,
beeper
2
1xSPI, 1xI²C,
41(39) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
‑
64
4
2048
2xWDG,
1x8‑bit 4x16‑bit
RTC, 25x12‑bit
(7/7/10) AWU,
beeper
2
2xSPI, 1xI²C,
41(39) 3xUSART
(IrDA,
ISO 7816)
0.4
195
‑
16
2
2048
2xWDG,
1x8‑bit 3x16‑bit
RTC, 18x12‑bit
(7/7/8) AWU,
beeper
2
1xSPI, 1xI²C,
26(24) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
‑
32
2
1024
2xWDG,
1x8‑bit 3x16‑bit
RTC, 18x12‑bit
(7/7/8) AWU,
beeper
2
1xSPI, 1xI²C,
26(24) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
‑
16
2
1024
2xWDG,
1x8‑bit 3x16‑bit
(7/7/10) AWU, RTC, 22x12‑bit
beeper
2
1xSPI, 1xI²C,
30(28) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
‑
32
2
1024
2xWDG,
1x8‑bit 3x16‑bit
RTC, 22x12‑bit
(7/7/10) AWU,
beeper
2
1xSPI, 1xI²C,
30(28) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
‑
1.65 to
3.6
0.4
195
‑
1.65 to
3.6
0.4
195
‑
1.65 to
3.6
0.4
195
‑
STM8L151M8
LQFP80
(14x14),
Pitch 0.65
64
4
2048
2xWDG,
1x8‑bit 4x16‑bit
RTC, 28x12‑bit
(9/9/12) AWU,
beeper
2
STM8L151R6
LQFP64
(10x10),
Pitch 0.5
32
2
1024
2xWDG,
1x8‑bit 4x16‑bit
RTC, 28x12‑bit
(9/9/12) AWU,
beeper
2
STM8L151R8
LQFP64
(10x10),
Pitch 0.5
64
4
2048
2xWDG,
1x8‑bit 4x16‑bit
RTC, 28x12‑bit
(9/9/12) AWU,
beeper
2
2xSPI, 1xI²C,
68(66) 3xUSART
(IrDA,
ISO 7816)
2xSPI, 1xI²C,
54(52) 3xUSART
(IrDA,
ISO 7816)
2xSPI, 1xI²C,
54(52) 3xUSART
(IrDA,
ISO 7816)
1.65 to
3.6
15
STM8L device summary
Part number
1
Package
Timer functions
Flash Internal
Data
RAM EEPROM
8‑bit 16‑bit
size
size
(Kbytes) (Kbytes)
(Bytes) (IC/OC/ (IC/OC/ Others
PWM) PWM)
I/Os
A/D
Comp- (high
converter arator current)
Serial
interface
Supply
voltage
(V)
Supply current (ICC)
Display
Lowest Run mode controller
power (per MHz) (LCD)
mode (µA)
(µA)
STM8L152 with LCD – 16 MHz CPU
STM8L152C4
STM8L152C6
STM8L152C8
STM8L152K4
STM8L152K6
LQFP48
(7x7)
Pitch 0.5,
UFQFPN48
(7x7),
Pitch 0.5
LQFP48
(7x7)
Pitch 0.5,
UFQFPN48
(7x7),
Pitch 0.5
LQFP48
(7x7)
Pitch 0.5,
UFQFPN48
(7x7),
Pitch 0.5
LQFP32
(7x7)
Pitch 0.8,
UFQFPN32
(5x5)
Pitch 0.5
LQFP32
(7x7)
Pitch 0.8,
UFQFPN32
(5x5),
Pitch 0.5
16
2
1024
2xWDG,
1x8‑bit 3x16‑bit
RTC, 25x12‑bit
(7/7/10) AWU,
beeper
2
1xSPI, 1xI²C,
41(39) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
4x28
32
2
1024
2xWDG,
1x8‑bit 3x16‑bit
RTC, 25x12‑bit
(7/7/10) AWU,
beeper
2
1xSPI, 1xI²C,
41(39) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
4x28
64
4
2048
2xWDG,
1x8‑bit 4x16‑bit
RTC, 25x12‑bit
(9/9/12) AWU,
beeper
2
2xSPI, 1xI²C,
41(39) 3xUSART
(IrDA,
ISO 7816)
0.4
195
4x44
8x40
16
2
1024
2xWDG,
1x8‑bit 3x16‑bit
RTC, 21x12‑bit
(7/7/10) AWU,
beeper
2
1xSPI, 1xI²C,
29(27) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
4x28
32
2
1024
2xWDG,
1x8‑bit 3x16‑bit
RTC, 21x12‑bit
(7/7/10) AWU,
beeper
2
1xSPI, 1xI²C,
29(27) 1xUSART
1.8 to 3.6
(IrDA,
ISO 7816)
0.4
195
4x28
1.65 to
3.6
0.4
195
4x44
8x40
1.65 to
3.6
0.4
195
4x28
1.65 to
3.6
0.4
195
4x44
8x40
1.65 to
3.6
0.4
195
4x44
8x40
1.65 to
3.6
0.4
195
4x44
8x40
STM8L152M8
LQFP80
(14x14),
Pitch 0.65
64
4
2048
2xWDG,
1x8‑bit 4x16‑bit
RTC, 28x12‑bit
(9/9/12) AWU,
beeper
2
STM8L152R6
LQFP64
(10x10),
Pitch 0.5
32
2
1024
2xWDG,
1x8‑bit 4x16‑bit
RTC, 28x12‑bit
(9/9/12) AWU,
beeper
2
STM8L152R8
LQFP64
(10x10),
Pitch 0.5
64
4
2048
2xWDG,
1x8‑bit 4x16‑bit
RTC, 28x12‑bit
(9/9/12) AWU,
beeper
2
2xSPI, 1xI²C,
68(66) 3xUSART
(IrDA,
ISO 7816)
2xSPI, 1xI²C,
54(52) 3xUSART
(IrDA,
ISO 7816)
2xSPI, 1xI²C,
54(52) 3xUSART
(IrDA,
ISO 7816)
1.65 to
3.6
STM8L162 with LCD – 16 MHz CPU2
STM8L162M8
LQFP80
(14x14),
Pitch 0.65
64
4
2048
2xWDG,
1x8‑bit 4x16‑bit
RTC, 28x12‑bit
(9/9/12) AWU,
beeper
2
STM8L162R8
LQFP64
(10x10),
Pitch 0.5
64
4
2048
2xWDG,
1x8‑bit 4x16‑bit
RTC, 28x12‑bit
(9/9/12) AWU,
beeper
2
All part numbers have DMA with 4 channels except STM8L101 series
Notes:
* Up to 2 Kbytes of EEPROM included in the 8 Kbytes of Flash
1. Touch-sensing FW library available for all STM8L part numbers
2. D/A converter available for STM8L162 only
16
2xSPI, 1xI²C,
68(66) 3xUSART
(IrDA,
ISO 7816)
2xSPI, 1xI²C,
54(52) 3xUSART
(IrDA,
ISO 7816)
STM8Ax – automotive 8-bit MCUs
This product line of 8‑bit Flash microcontrollers responds to the specific needs of automotive applications. From
product specifications, on through design and manufacturing, the focus is on reliability, application robustness
and low system cost.
The integrated true data EEPROM features top notch endurance and data retention throughout the full
temperature range. With its extended temperature range up to 150 °C ambient temperature, the STM8A is the
ideal and economic solution for the growing market of automotive 8‑bit applications.
Newly introduced, the ultra-low-power STM8AL is now available for sampling. With the multiplication of
electronic subsystems, saving power is becoming a key consideration, and this product line responds to the
specific needs of low power in automotive applications.
STM8Ax family description
Upgrade to a higher or downgrade to a lower memory size or use a different
package across lines without changing the initial layout or software.
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
STM8 Simply smarter
STM8 up to 24 MHz CPU
8 to 128 Kbytes of embedded Flash, up to 6 Kbytes of SRAM and up to
2 Kbytes of data EEPROM
Packages up to 80 pins
Supply voltage: 2.95 to 5.5 V for STM8AF, 1.65 to 3.6 V for STM8AL
Up to four low‑power modes: down to 1 μA with complete context retention
State‑of‑the‑art digital and analog peripherals
Up to 150 °C ambient temperature
Qualified according AEC‑Q100
Certified CAN drivers
Free certified LIN drivers
Touch sensing and LCD lines
STM8AF block diagram
System
Power supply
2.95 to 5.5 V
(1.8 V internal regulator)
POR / BOR
Xtal oscillator
1-24 MHz
Internal RC oscillators
128 kHz and 16 MHz
Clock control
Clock detector
STM8AF applications
8- to 128-Kbyte
Flash memory
Beeper 1/2/4 kHz
QQ
Up to 6-Kbyte SRAM
QQ
Up to 2-Kbyte EEPROM
QQ
Boot ROM
QQ
QQ
STM8 CPU
Up to 24 MHz
AWU
2x watchdogs
(independent and window)
Up to 68 I/Os
Control
16-bit timer, 4 CAPCOM +
3 comparator outputs
2x16-bit timer
2/3 CAPCOM
8-bit timer
QQ
Connectivity
QQ
CAN 2.0 B
2xU(S)ART
LIN
Smartcard / IrDA
QQ
QQ
CAN controllers
LIN nodes
Actuators
Sensors
Safety microcontrollers
Car radios
Immobilizers
DC motor control
HVAC
SPI
I²C
Nested vector
interrupt
controller (NVIC)
SWIM debug
module
Analog
10-bit ADC
16 channels
17
STM8AL block diagram
STM8AL applications
16- to 32-Kbyte
Flash memory
Up to 2-Kbyte SRAM
System
Power supply
1.8 to 3.6 V
(1.8 V internal regulator
POR/PDR/PVD/BOR
Xtal oscillator
1-16 MHz
Internal low power RC
oscillators
38 kHz and 16 MHz (2%)
RTC +/- 0.5 ppm
QQ
QQ
Up to 1-Kbyte EEPROM
QQ
Boot ROM
QQ
STM8 CPU
Up to 16 MHz
Low power
implementaion
QQ
Remote keyless entry
Tire pressure monitors
Alarms
BLDC electric motor control
Sensors
Connectivity
Up to 41 I/Os (with HS)
1x U(S)ART
32.768 kHz oscillator
1x SPI
Clock detection
1x I²C
Auto wake-up
Nested vector
interrupt
controller (NVIC)
SWIM debug
module
2x watchdogs (HS/LS)
Digital
1x 16-bit timer, 4 CAPCOM
3 complemented outputs
2x 16-bit timers, 4 CAPCOM
4-channel DMA
Memory to memory
Peripherals to memory
1x 8-bit timers
IR I/F
Display
Beeper 1/2/4 kHz
LCD driver 4 x 28
Internal booster
Active in Halt mode
Capcitive sensing
acquisition module
Analog
2x ULP comparators
12-bit ADC (1 µs)
25 channels
12-bit DAC
1 channel
Temperature sensor
Internal voltage reference
1.2 V
STM8Ax features and benefits
Features
Benefits
Integrated true data EEPROM
Internal supervisor circuits: power‑on reset, window watchdog and standard watchdog
timers, supply brown‑out reset
Reduced system cost
Integrated, factory‑trimmed 16 MHz, 128 kHz or 32 kHz RC oscillators
Injection robust I/Os
Product line compatibility enabling application scalability
Advanced development tools
Short development cycles
Flash program memory for easy software development and product qualifcation
Efficient STM8 core: 10 MIPS at 16 MHz
Independent watchdog timers and clock security system
High application safety, power and robustness
LIN 2.1 with auto‑synchronization on STM8AF products
Modern core and peripherals
AEC-Q100 grade 0 (150 °C) on STM8AF or grade 1
LCD on STM8AL
Capacitive sensing on STM8AL
Ultra-low-power STM8AL category
Design longevity
User interface
Low standby current consumption
STM8Ax simple device selection
The STM8A family is available in 2 categories: the STM8AFxx with CAN and LIN and the STM8AL for battery-powered
systems, electric motor control or user interfaces.
Both categories are proposed with dedicated lines depending on differentiated criteria (CAN, LIN, LCD, Standard or Value
lines) making product selection easy.
18
Automotive grade
STM8AF product lines
Being committed to zero‑defects,
STMicroelectronics follows an
automotive‑grade policy designed
to deliver products which
meet the specific and rigorous
demands of the automotive
market.
Common core peripherals
and architecture:
Up to 2x U(S)ART
LIN support
I²C
400 kHz multimaster
SPI 10 MHz
Up to 3x 16‑bit timer
8‑bit timer
2x watchdogs
(IWDG and WWDG)
AWU
Beeper 1/2/4 kHz
10‑bit ADC
Up to 16 channel
Xtal
16 MHz and 128 kHz
internal RC oscillators
SWIM debug module
STM8AF62xx LIN line
STM8 core
+ up to 24 MHz
Up to
128‑Kbyte
Flash
Up to
6‑Kbyte
SRAM
Up to
2‑Kbyte
EEPROM
Up to
6‑Kbyte
SRAM
Up to
2‑Kbyte
EEPROM
ST’s own internal qualification
procedures exceed the AEC
Q100 guidelines, and the
production process uses the most
advanced screening methods
such as statistical yield analysis
and part average testing to
ensure quality and reliability of the
delivered goods.
STM8AF52xx CAN line
STM8 core
up to 24 MHz
Up to
128‑Kbyte
Flash
CAN 2.0B
STM8AL product lines
The STM8AL30x is the entry point for the automotive ultra‑low‑power 8‑bit portfolio. It is cost optimized and offers a high level
of integration in an ultra-small 20-pin footprint. The STM8AL31x is the feature‑rich 8‑bit solution. It has more Flash, SRAM
and peripherals on board, with external crystal/clock capability, more analog features, a real‑time clock and enhanced reset,
EEPROM with true RWW, DMA, fast ADC and DAC. The STM8AL3L has an additional segment LCD driver.
Common core peripherals and
architecture:
STM8AL3Lxx LCD Standard low-power line
Up to
Up to
Up to
2‑Kbyte
64‑Kbyte
4‑Kbyte
data
STM8 core
Flash
RAM
EEPROM
16 MHz
Multiple communication
peripherals
up to 3x USART, 2x SPI, I²C
Up to 8x16-bit timers
16 MHz and 32 kHz
external oscillators
Internal 16 MHz and 38 kHz
RC oscillators
Clock security system
2x watchdogs
Reset circuitry
POR/PDR
2x comparators
Boot loader
SWIM debug module
RTC
DMA and
AES
12-bit ADC 12-bit DAC
RTC
DMA and
AES
12-bit ADC 12-bit DAC
LCD 8 x 40
4 x 28
Step-up
convertor
STM8AL31xx Standard low-power line
+
STM8 core
16 MHz
Up to
64‑Kbyte
Flash
Up to
4‑Kbyte
RAM
Up to
2‑Kbyte
data
EEPROM
STM8AL30xx Value low-power line
STM8 core
16 MHz
Up to
8‑Kbyte
Flash
Up to
1.5‑Kbyte
RAM
19
STM8AF portfolio
Flash size (bytes)
128 K
64 K
STM8AF6286
32 K
STM8AF52A8
STM8AF52A9
STM8AF52AA
STM8AF62A8
STM8AF62A9
STM8AF62AA
STM8AF5288
STM8AF5289
STM8AF528A
STM8AF6288
STM8AF6289
STM8AF628A
STM8AF5268
STM8AF5269
STM8AF6266
STM8AF6268
STM8AF6269
STM8AF6248
16 K
STM8AF6243
STM8AF6245
STM8AF6246
8K
STM8AF6223
STM8AF6225
STM8AF6226
20 pins
TSSOP/QFN
28 pins
TSSOP/QFN
32 pins
LQFP/QFN
48 pins
LQFP/QFN*
64 pins
LQFP
80 pins
LQFP
Pin count
Note:
* QFN48 available in Q4/2011
Legend:
CAN line
Standard line
Available in Q4/2011
STM8AF LIN and CAN support
STM8AF BLDC motor control
The STM8A LIN‑UART takes LIN
networking to a new level with
increased system robustness and
minimized CPU load.
The STM8A is the perfect response to many of the emerging BLDC applications in
cars, such as:
QQ
QQ
QQ
QQ
Compliant with LIN 1.3, LIN 2.0 and
LIN 2.1
Automatic resynchronization for
slave mode operation with internal
RC clock source
Autonomous header handling and
mute mode
Advanced LIN error and break
detection
ST LIN software package
distributed for free
ST’s beCAN combines the advantages
of full and basic CAN controllers.
Compact in its implementation, it
offers:
QQ
QQ
Three transmit mailboxes, three
3‑stage FIFO receive mailboxes
Enhanced and scalable acceptance
filters with filter match index
(FMI) mechanism for fast data
management
QQ
QQ
QQ
Fuel pumps/water pumps
Blowers in air‑conditioning
Engine cooling fans
Electric throttle control
The STM8A is available in an extended 150 °C temperature range, which allows it
to be used in under‑the‑hood or mechatronic applications.
The same development environment as for the STM8S can be used to build
applications for automotive motor control.
Software examples for 6‑step mode are available with sampling during PWM
off‑time or on‑time for highest motor yield.
Vreg
L4979D
5V
LIN
Rx
Tx
RES
GPIO ADC
STM8A
ADC
12 V
ADC
ADC
ADC
GPIO
GPIO
GPIO
QQ
QQ
Note: depending on BEMF sampling method
20
I Sense
PWM
Bridge
driver
L6387
Bridge
driver
L6387
Bridge
driver
L6387
BLDC
motor
STM8AL portfolio
Flash size (bytes)
64 K
32 K
16 K
8K
4K
STM8AL3L88
STM8AL3L89
STM8AL3L8A
STM8AL3188
STM8AL3189
STM8AL318A
STM8AL3L68*
STM8AL3L69
STM8AL3L6A
STM8AL3168*
STM8AL3169
STM8AL316A
64 pins
LQFP
80 pins
LQFP
STM8AL3L46
STM8AL3L48
STM8AL3146
STM8AL3148
STM8AL3133
STM8AL3135
STM8AL3136
STM8AL3138
STM8AL3033
STM8AL3035
STM8AL3036*
STM8AF6268
STM8AL3123
STM8AL3125
STM8AL3126
STM8AL3023
STM8AL3025
STM8AL3026
20 pins
TSSOP
28 pins
TSSOP
32 pins
LQFP/QFN
48 pins
LQFP
Pin count
Note:
* Sample available now
Legend:
STM8AL3Lxx LCD Standard low-power line
STM8AL31xx Standard low-power line
STM8AL30xx Value low-power line
STM8AL description
STM8AL motor control features
The STM8AL runs at up to 16 MHz
CPU frequency with the capability of
running from the low-speed internal
RC oscillator or RTC external clock.
The STM8AL is the perfect response to many of the emerging BLDC applications in
cars, such as:
With 4 to 64 Kbytes, it covers the
majority of satellite applications (no
LIN, no CAN). The power range of
1.65 to 3.6 V primarily targets batterypowered equipment.
STM8AL low-power feature
The following modes are ideal for
applications that need constant
monitoring and control of the power
budget.
QQ
QQ
QQ
QQ
Low-power run mode: all
functions running at lower speed.
Execution is done from RAM.
Consumption is less than 50 µA at
high temperature.
Low power wait mode: the RTC
and a few other peripherals active,
such as a timer, with a consumption
below 20 µA.
Active Halt mode: the CPU, main
clocks and peripherals are off. The
RTC can be still running. Wake up
can be done through an interrupt on
the peripherals. SRAM and context
are kept.
Halt mode: the CPU, main clocks
and peripherals are off, the RTC is
off, SRAM and context are kept.
Electric-valve control
BLDC motor control
The same development environment as the STM8S can be used to build
applications for automotive motor control.
QQ
QQ
Software examples for 6‑step mode are available with sampling during PWM
off‑time or on‑time for highest motor efficiency.
STM8AL LCD and touch sensing
The STM8AL embeds a hardware cell for LCD or touch-sensing interfaces, making
the STM8AL line ideal for any independent user commands.
QQ
QQ
QQ
4 x 28 to 8 x 40 LCD
Contrast booster
Free “charge transfer” acquisition library
STM8AL power budget
4.48 mA
2.28 mA
3.8 mA
0.9 mA
1.90 mA
0.6 mA
Limited temperature effect
50 µA
40 µA
195 µA/MHz
90 µA/MHz
Dynamic run Dynamic run
from Flash
from RAM
12 µA
1 µA
Dynamic run Low-power
from Flash run from RAM
@ 1 MHz
@ 32 kHz
Notes:
- POR/PDR on
- RAM content preserved
- BOR option at 2.4 µA
- Startup time from active Halt 5 µs
- Run and Wait consumption values are independent of VDD
- Active Halt and Halt values measured at VDD = 1.8 V
Active
Halt RTC
11 µA
0.5 µA
Halt
Legend
Max (125 °C)
Typ (25 °C)
21
STM8AF device summary
Part number
Timer functions
Flash
Internal
Data
8‑bit
16‑bit
Package
size
RAM size EEPROM
(Kbytes) (Kbytes) (Bytes) timer (IC/ (IC/OC/ Others
OC/PWM)
PWM)
STM8AF52 CAN line – Up to 24 MHz CPU
3x16‑bit WDG,
1x8‑bit
10x10‑bit
38(9)
(9/9/9) WWDG,
AWU
STM8AF5268
LQFP48
(7x7)
32
2048
1024
STM8AF5269
LQFP64
(10x10)
32
2048
1024
1x8‑bit
STM8AF5288
LQFP48
(7x7)
64
4096
2048
1x8‑bit
STM8AF5289
LQFP64
(10x10)
64
4096
2048
1x8‑bit
STM8AF528A
LQFP80
(14x14)
64
4096
2048
1x8‑bit
STM8AF52A8
LQFP48
(7x7)
128
6144
2048
1x8‑bit
STM8AF52A9
LQFP64
(10x10)
128
6144
2048
1x8‑bit
STM8AF52AA
LQFP80
(14x14)
128
6144
2048
1x8‑bit
STM8AF6226
LQFP32
(7x7)
8
512
384
STM8AF6246
LQFP32
(7x7)
16
1024
512
1x8‑bit
STM8AF6248
LQFP48
(7x7)
16
1024
512
1x8‑bit
STM8AF6266
LQFP32
(7x7),
VFQFPN32
(5x5)
Pitch 0.5
32
2048
1024
1x8‑bit
STM8AF6268
LQFP48
(7x7)
32
2048
1024
1x8‑bit
STM8AF6269
LQFP64
(10x10)
32
2048
1024
1x8‑bit
STM8AF6286
LQFP32
(7x7)
64
4096
2048
1x8‑bit
STM8AF6288
LQFP48
(7x7)
64
4096
2048
1x8‑bit
STM8AF6289
LQFP64
(10x10)
64
4096
2048
1x8‑bit
STM8AF628A
LQFP80
(14x14)
64
4096
2048
1x8‑bit
STM8AF62A8
LQFP 48
(7x7)
128
6144
2048
1x8‑bit
STM8AF62A9
LQFP64
(10x10)
128
6144
2048
1x8‑bit
STM8AF62AA
LQFP80
(14x14)
128
6144
2048
1x8‑bit
The STM8AL device summary will be available in Q3/2011
22
I/Os
A/D
Serial
(high
converter current)
interface
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
16x10‑bit
54(9)
10x10‑bit
38(9)
16x10‑bit
54(9)
16x10‑bit
70(11)
10x10‑bit
38(9)
16X10‑bit
54(9)
3x16‑bit WDG,
16x10‑bit 70(11)
(9/9/9) WWDG,
AWU
STM8AF62 Standard line – 24 MHz CPU
3x16‑bit WDG,
1x8‑bit
7x10‑bit
25(9)
(8/8/8) WWDG,
AWU
3x16‑bit WDG,
(8/8/8) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(8/8/8) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(8/8/8) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
3x16‑bit WDG,
(9/9/9) WWDG,
AWU
LIN‑UART,
SPI, I²C,
CAN
LIN‑UART,
SPI, I²C,
CAN
LIN‑UART,
SPI, I²C,
CAN
LIN‑UART,
SPI, I²C,
CAN
LIN‑UART,
SPI, I²C,
CAN
LIN‑UART,
SPI, I²C,
CAN
LIN‑UART,
SPI, I²C,
CAN
LIN‑UART,
SPI, I²C,
CAN
Supply
voltage
(V)
Supply current (ICC)
Operating
Lowest Run mode temperature
power
(per MHz)
(°C)
mode (µA)
(µA)
3 to 5.5
5
500
‑40 to +150
3 to 5.5
5
500
‑40 to +150
3 to 5.5
5
500
‑40 to +150
3 to 5.5
5
500
‑40 to +150
3 to 5.5
5
500
‑40 to +150
3 to 5.5
5
500
‑40 to +150
3 to 5.5
5
500
‑40 to +150
3 to 5.5
5
500
‑40 to +150
LIN‑UART,
SPI, I²C
3 to 5.5
5
500
‑40 to +150
7x10‑bit
25(9)
LIN‑UART,
SPI, I²C
3 to 5.5
5
500
‑40 to +150
10x10‑bit
38(9)
LIN‑UART,
SPI, I²C
3 to 5.5
5
500
‑40 to +150
7x10‑bit
25(9)
LIN‑UART,
SPI, I²C
3 to 5.5
5
500
‑40 to +150
10x10‑bit
38(9)
LIN‑UART,
SPI, I²C
3 to 5.5
5
500
‑40 to +150
16x10‑bit
54(9)
LIN‑UART,
USART,
SPI, I²C
3 to 5.5
5
500
‑40 to +150
7x10‑bit
25(9)
LIN‑UART,
SPI, I²C
3 to 5.5
5
500
‑40 to +150
10x10‑bit
38(9)
3 to 5.5
5
500
‑40 to +150
16x10‑bit
54(9)
3 to 5.5
5
500
‑40 to +150
16x10‑bit
70(11)
3 to 5.5
5
500
‑40 to +150
10x10‑bit
38(9)
3 to 5.5
5
500
‑40 to +150
10x10‑bit
54(9)
3 to 5.5
5
500
‑40 to +150
16x10‑bit
70(11)
3 to 5.5
5
500
‑40 to +150
LIN‑UART,
USART,
SPI, I²C
LIN‑UART,
USART,
SPI, I²C
LIN‑UART,
USART,
SPI, I²C
LIN‑UART,
USART,
SPI, I²C
LIN‑UART,
USART,
SPI, I²C
LIN‑UART,
USART,
SPI, I²C
STM8T14x – Proximity and touchkey MCUs
STMicroelectronics’ STM8T142 is the latest member of STM8T14x touch-sensing capacitive sensors. It uses a
ProxSenseTM charge transfer capacitive acquisition method and allows proximity detection ranges up to 20 cm.
The capacitive electrode is usually simply made using a conductive material such as a copper pad or conductive
ITO layer. The STM8T142 is a single-channel electrode sensor with two independent outputs to report touch or
proximity events.
STM8T142 device description
The STM8T142 has unique features to optimize sensitivity as well as provide
outstanding immunity to RF interference.
It embeds sampling capacitors (Cs) and features an electrode parasitic capacitance
compensation circuitry (EPCC). EPCC automatically compensates for ground
parasitic capacitance sources (such as ground planes, printed circuit board tracks,
and large metal objects) which significantly reduce the proximity detection range.
A specific algorithm called electrode automatic tuning optimizes the system
performances by selecting the most appropriate Cs value and EPCC parameters to
always get maximum performances.
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
QQ
Dual outputs for touch and proximity detection
Internal sampling capacitors
On-chip integrated voltage regulator
Electrode automatic tuning
Electrode parasitic capacitance compensation
Environment control system
8 touch and 4 proximity sensitivity levels
4 low-power modes
Data streaming mode for easy application fine tuning
Current consumption down to 9 μA
Supply voltage: 2 to 5.5 V
8‑pin packages:
QQ UFDFPN8 (3 x 2 x 0.6 mm)
QQ SO8 narrow packages
STM8T142 block diagram
STM8T142 applications
QQ
QQ
CX
Advanced
ProxSense
engine with
internal
sampling
capacitor
and EPCC
VREG
Voltage
regulator
VDD
QQ
VSS
POR
QQ
1 MHz
RC oscillator
QQ
MCU
system engine
TOUT/DATA
(Touch output)
POUT
(Proximity output)
QQ
QQ
QQ
Consumer electronics
Ear/face proximity detection
for smartphone devices
Companion device for
navigation joysticks/optical
track pads
Hand detection for nomad
equipment (tablet PCs)
Ear/head detection for MP3/
walkman ear buds and
Bluetooth headsets
On/off touch-sensing button
such as GPS system home
button
Hand detection for mice/
keyboards
Wall switch backlight activation
on user approach and light
controls on user touch
23
STM8T14x features and benefits
Features
On‑chip voltage regulator
Electrode automatic tuning
Internal sampling capacitors
Electrode parasitic capacitance compensation
Advanced environment compensation filter and calibration features
4 selectable power modes
Benefits
Class‑leading sensitivity and high immunity to RF interference
No production‑line or user calibration
Ultra‑low power consumption suitable for portable equipments
Low consumption (9 µA in ultra‑low‑power mode, 50 µA in run mode)
Low pin count miniature packages
Few external components required
8 pins, ultra‑thin package for space‑constrained applications
Cost‑optimized bill‑of‑material
STM8T14x device summary
Part
number
Package
Touch‑sensing
channels (max)
STM8T141
SO8
(4.9x6),
UFDFPN8
(2x3)
1
STM8T142
SO8
(4.9x6),
UFDFPN8
(2x3)
1
Response
Outputs time
(mS)
1
2
Technology
Supply
voltage
(V)
Other functions
Supply current (ICC)
Lowest
power
mode (µA)
Operating
Run mode temperature
(per MHz)
(°C)
(µA)
50
Capacitive
charge transfer Driven shield
2 to 5.5
11
30
‑40 to +85
50
Electrode automatic
tuning, electrode
Capacitive
parasitic capacitance 2 to 5.5
charge transfer compensation,
internal sampling
capacitor
9
50
‑40 to +85
STM8T142 typical application diagram
Touch output
TOUT/DATA
POUT
Proximity output
STM8T142
Sensing
electrode
RX
CX
VDD
VDD
1 µF
VSS
VREG
1 µF
24
100 nF
General
description
Proximity
capability, signal
processing:
calibration,
filtering
Touch and
proximity
detection (up to
20 cm), signal
processing:
calibration,
filtering
STM8 tools
Discovery kits
STM8S‑DISCOVERY and STM8L‑DISCOVERY are the quickest and cheapest way to discover the STM8
families. They include a USB‑based in‑circuit debugger and programmer.
Users can run the examples, edit the code and program as often as necessary. The samples can be
used for demonstration purposes, and the ST‑LINK detached in order to reprogram the application.
STM8S‑DISCOVERY
STM8L‑DISCOVERY
Evaluation boards
ST evaluation boards: general‑purpose evaluation boards for STM8A, STM8L and STM8S devices with hardware features for evaluating microcontroller
performance, low‑power options and full range of peripherals such as SPI, I²C, EEPROM, RS‑232 and more... (Order code types: STM8xxx‑EVAL).
The STM8 evaluation boards provide complete prototyping environments for the STM8 product families,
ideal for demonstrating the device capabilities and rapidly evaluating peripherals and features including
CAN 2.0A/B compliant interface, I²C, SPI, two USART channels with smartcard, IrDA and LIN support.
QQ STM8/128‑EVAL (STM8S)
QQ STM8A/128‑EVAL (STM8A)
QQ STM8L101‑EVAL (STM8L101)
QQ STM8L1526‑EVAL (STM8L15x, 32 KB Flash)
QQ STM8L1528-EVAL (STM8L15x, 64 KB Flash)
STM8L1528-EVAL
STEVAL‑IAS003V1 is an STM8L101 low‑power demonstrator LCD glass directly driven by the
microcontroller. It features:
QQ 1.25 µA average consumption
QQ 3‑digit LCD glass driven by software
QQ CR1220 battery operated (not included)
STM8L15LPBOARD demonstrates 7 different power modes of the STM8L15x.
It provides the means to measure the current sourced by the battery.
STM8L15LPBOARD
Starter kits
Complete sets of hardware and software tools to help users discover target device features and start
application development quickly and easily:
QQ EvoPrimer STM8L: Fun, stimulating learning and development platforms with touchscreen LCD,
MEMS‑based controls and integrated debugging/programming via USB for the STM8L15x. Includes
Raisonance RIDE and STM8 C compiler (compiles up to 32 Kbytes of code).
(Order code: STM8L1526PRIMER)
STM8L1526PRIMER
QQ
Raisonance REva starter kits for STM8S, with RIDE integrated development environment,
C compiler for STM8, RLink (USB/SWIM) in‑circuit debugger/programmer, demonstration
motherboard and daughter boards with STM8S target devices (STM8/128-SK/RAIS).
Each REva daughter board can be ordered separately (STM8S/8‑D/RAIS, STM8S/32‑D/RAIS,
STM8/128‑D/RAIS).
STM8/128-SK/RAIS
25
Software
Application development is supported by a range of software tools that include integrated development environments (IDE) and C compiler/assembler toolchains.
Free software development tools include:
QQ ST MCU Toolset with ST Visual Develop (STVD) IDE and ST Visual Programmer (STVP) programming interface in a single, free download.
QQ EWSTM8, IAR Embedded Workbench for STM8 with its optimizing C compiler and supporting ST STice and ST‑LINK hardware debug tools.
QQ Ride, Raisonance’s free IDE for ST microcontrollers, which includes the innovative RBuilder application builder and the RFlasher programming interface.
QQ C Compilers from Cosmic, IAR and Raisonance, which are available in free versions that output from 8 to 32 Kbytes.
Debugging
High‑end emulator
The STice in‑circuit emulation system offers the most advanced debugging and diagnostic features
available (freely configurable advanced breakpoints, trace, code coverage, profiling) when running
applications in place of the target microcontroller, plus the added flexibility of in‑circuit debugging
and programming capability for start‑to‑finish control of application development (order code types:
STICE‑SYSxxx)
In‑circuit debugger/programmer
In‑circuit debugger/programmers provide low‑cost solutions for programming the target
device on an application board, and debugging the application while it runs on the target
microcontroller. They feature all standard debugging functions along with advanced breakpoints.
QQ
QQ
STICE‑SYSxxx
STX‑RLINK
RLink from Raisonance for STM8A, STM8L and STM8S microcontrollers (order code: STX-RLINK)
ST‑LINK from ST for STM8A, STM8L and STM8S microcontrollers
ST‑LINK
Programming
You can program the STM8 Flash microcontroller on your application board via a 4‑pin single‑wire interface module (SWIM) connector. In‑circuit programmers
include:
QQ RLink: Raisonance’s in‑circuit programmer/debugger for STM8A, STM8L and STM8S with USB host interface
QQ ST‑LINK: ST’s in‑circuit debugger/programmer for STM8A, STM8L and STM8S with USB host interface
QQ Flasher STM8: in‑circuit programmer with standalone mode for production environment from Segger
QQ FlashRunner: in‑circuit programming system for production lines featuring standalone operation and easy integration in production and test equipment from
SMH Technologies
QQ Production programming solutions include multi‑site (gang) and automated programming solutions from third‑parties
26
STM8 touch‑sensing tools
Evaluation boards
Touch-sensing library evaluation boards (STM8/128‑EV/TS and STMT/8L‑EV1): STMicroelectronics
proposes two dedicated boards to evaluate the touch-sensing library on both STM8S and STM8L series.
The STM8/128‑EV/TS is an ideal platform to learn and play with the library using an STM8S device.
The board comes pre‑programmed with a demonstration firmware that manage 5 touch keys and
1 slider.
The STMT/8L‑EV1 board is based on STM8L device and manages 10 keys, 1 wheel and 1 slider. The
user can easily evaluate the touch‑sensing software features and performances and display or change
parameters through an LCD display interface.
QQ STM8/128‑EV/TS (STM8S)
QQ STMT/8L‑EV1 (STM8L)
STM8/128‑EV/TS
STMT/8L‑EV1
Proximity and touch‑key evaluation boards:
The STM8T141‑EVAL evaluation kit is a low‑cost tool designed to quickly assess the STM8T141.
The board is delivered with an on‑board electrode and four plug‑in modules that are programmed in two
different configurations (touch and proximity) to evaluate device performance.
The board is battery operated but can be powered using a USB cable. It allows the proximity range in
different system ground configurations to be evaluated.
An external cable antenna is supplied that replaces the on‑board electrode when testing the shield
feature.
Blank plug‑in modules are available in boxes of 10 pieces (STM8T141AM‑MOD). They can be used
independently or with the evaluation kit.
QQ STM8T141-EVAL (STM8T141)
QQ STM8T141AM-MOD (STM8T141)
STM8T141‑EVAL
The STM8T142-EVAL evaluation kit is designed to quickly assess the STM8T142 and includes several
antenna boards and an adapter board for STM8T142 programming and data streaming.
QQ STM8T142-EVAL* (STM8T142)
Note:
* Available in Q2/2011
STM8T141AM‑MOD
In‑circuit programmers
A programming kit composed of a socket board (STM8T14x‑SB) and a USB dongle (ST‑TSLINK) allows
user options (including device sensitivity, output mode, shield, and detection timeout duration) to be
changed. The socket board is able to program SO8 and UFDFPN8 packages, as well as the DIP14
modules.
QQ STM8T14x-SB
QQ ST-TSLINK
STM8T14x‑SB + ST‑TSLINK
27
STM8 tool summary
Part
number
Evaluation
Evaluation board
In‑circuit
debugger
Starter kit
Emulator
STice system
STM8Sx
STM8/128‑EVAL
STM8/128‑EV/TS
STM8S‑DISCOVERY ST‑LINK
STM8/128‑SK/RAIS STX‑RLINK
Accessories
STM8S/8‑D/RAIS
STM8S/32‑D/RAIS
STM8/128‑D/RAIS
STICE‑SYS001
STM8Ax
STM8A/128‑EVAL
‑
ST‑LINK
STX‑RLINK
STICE‑SYS001
STM8L101 STM8L101‑EVAL
‑
ST‑LINK
STX‑RLINK
STICE‑SYS005
STM8L15x STM8L1526‑EVAL
STM8L1528‑EVAL
STM8L15LPBOARD
STMT/8L‑EV1
STM8L‑DISCOVERY ST‑LINK
STM8L1526PRIMER STX‑RLINK
STICE‑SYS007
STICE ‑SYS009
STM8T14x STM8T141‑EVAL
‑
STM8T142-EVAL
(available in Q2/2011)
STM8T141AM‑MOD
‑
‑
Programming tool
Connection
accessories*
Flex
CF/FP60
CF/FP120
Adapter
AD/DIP32C‑A02
AD/QFN20J‑Z01
AD/TSSO20A‑A02
AD/QFN32A‑Z02
AD/QFN32A‑Z03
AD/QFP32B‑A03
AD/QFP32B‑A05
AD/QFP44C‑A02
AD/QFP48B‑A03
AD/QFP64C‑B02
AD/QFP64F‑B01
AD/QFP80F‑B01
Socket
AS‑DIP‑SO
AS/QFN20JA
AS/TSSO20AB
AS/QFN32AA
AS/QFP32BC
AS/QFP44CC
AS/QFP48BA
AS/QFP64CA
AS/QFP64FC
AS/QFP80FB
In‑circuit debug/
Pgm adapter
AD‑ICD/ICP
Flex
CF/FP60
CF/FP120
Adapter
AD/QPF32B‑A03
AD/QFP48B‑A03
AD/QPF64C‑B02
AD/QPF80F‑B01
Socket
AS/QFP32BC
AS/QFP48BA
AS/QFP64CA
AS/QFP80FB
In‑circuit debug/
Pgm adapter
AD‑ICD/ICP
Flex
CF/FP60
Adapter
AD/QFN20J‑Z01
AD/QFN28H‑Z01
AD/QFN32A‑Z01
AD/QFP32B‑A04
AD/TSSO20A‑A01
Socket
AS/QFN20JA
AS/QFN28HA
AS/QFN32AA
AS/QFP32BC
AS/TSSO20AB
In‑circuit debug/
Pgm adapter
AD‑ICD/ICP
Flex
CF/FP60
Adapter
AD/QFN28H‑Z01
AD/QFN32A‑Z01
AD/QFN48B‑Z02
AD/QFP32B‑A04
AD/QFP48B‑A04
Socket
AS/QFN28HA
AS/QFN32AA
AS/QFN48BA
AS/QFP32BC
AS/QFP48BA
In‑circuit debug/
Pgm adapter
AD‑ICD/ICP
‑
Software
In‑circuit programmer
STVD
STVP
IAR EWSTM8
Raisonance RIDE
Cosmic C compiler
IAR C compiler
Raisonance C compiler
STM8‑TOUCH‑LIB
ST‑LINK
STX‑RLINK
Flasher Segger
FlashRunner SMH
Technologies
WriteNow! Algocraf
‑
ST‑TSLINK +
STM8T14X‑SB
3rd‑party
programmer
Algocraft
BP Microsystems
Data I/O
Dataman
Elnec
HI‑LO
Phyton
RK‑System
Segger
SMH Technologies
System General
Xeltek
Elnec
Note:
* For more information, consult www.st.com/stm8tools
© STMicroelectronics - January 2011 - Printed in United Kingdom - All rights reserved
The STMicroelectronics corporate logo is a registered trademark of the STMicroelectronics group of companies
All other names are the property of their respective owners
Order code: BRSTM80111
For more information on ST products and solutions, visit www.st.com
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement