BRSTM 8
BRSTM 8
BRSTM 8
STM8 ecosystem................................................................................. 15
Hardware Tools.......................................................................................... 15
Software Tools............................................................................................ 15
Tools suites, software libraries and examples....................................... 16
Collaterals.................................................................................................. 16
STM8 series
STM8 CORE
ST’s 8‑bit microcontroller platform is implemented around a high‑performance 8‑bit core and Complete instructions
a state‑of‑the‑art set of peripherals. This platform is manufactured using an ST‑proprietary
130 nm embedded non‑volatile memory technology. It is able to reach 1.6 cycles per B4 B3 B2 B1
instruction and up to 24 MHz clock frequency, allowing customers to run their applications at 3
low speed with high performance. 32-bit Data
The flexibility of the architecture minimizes switching noise, resulting in improved system memory memory
robustness and lower power consumption.
An innovative clock implementation provides strong benefits such as fast wake-ups in only
Fetch
4 μs. 3-stage Decode
It enables immediate clock switching on the fly to allow clock accelerations for PWM or pipeline Execute
calculation routines. STM8 core
The 32‑bit robust NVM memory addressed through a 3‑stage pipeline interface, the
16‑bit index registers and stack pointers and the advanced instruction set with hardware
multiplication/division are key elements that significantly improve the efficiency of this 8‑bit
device family.
The STM8 allows fast and safe development through enhanced stack pointer operations,
advanced addressing modes and new instructions.
Mainstream Automotive Ultra‑low‑power
STM8 S STM8 A
ASIL
Ready
Ideal combination
Industrial, consumer Long‑term Long‑term of low‑power
and mass market guarantee guarantee performance and
features
Robust and reliable AEC-Q100 AEC-Q100 High-end analog IPs
Up to 125 ° C Up to 150 ° C Up to 125 ° C Active Halt < 1 μA
www.st.com/stm8s www.st.com/stm8af www.st.com/stm8al www.st.com/stm8l
PORTFOLIO OVERVIEW
4 A large product portfolio to meet all your needs
Standard Ultra‑low‑power
STM8AF62
STM8L152
STM8S105 STM8AF52
General purpose STM8L151
STM8S103 STM8AL31E
STM8L101
STM8AL31
STM8S007 STM8L052
STM8S005 STM8L051
Value
STM8S003 STM8L050
STM8S001 STM8L001
Specific STM8S903
ST’s STM8S series of mainstream 8-bit microcontrollers covers a large variety of applications in the
industrial, consumer and computer markets, particularly where large volumes are concerned. Based on
the STM8 proprietary core, the STM8S series benefits from ST’s 130 nm technology and advanced core
architecture performing up to 20 MIPS at 24 MHz. Embedded EEPROM, RC oscillators and a full set of
standard peripherals provide a robust and reliable solution for designers.
The associated toolchain, from affordable Discovery kits to more complex evaluation kits and third-party
tools, make it easy to develop with STM8S microcontrollers.
STM8S 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.
• STM8 24 MHz CPU
• 4 to 128 Kbytes of embedded Flash memory, up to 6 Kbytes of SRAM STM8 S
• Supply voltage: 2.95 to 5.5 V
• Up to four low‑power modes: down to 5 µ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
6
• Free class B self‑diagnostic library for IEC 60335/IEC 60730 compliant applications
• Many software libraries and examples are available for download
• • •
• SWIM debug module 1024 to
STM8S207/208 24 32 to 128 6
2048
STM8S
Application-specific line
16 8 1 640 • •
STM8S PORTFOLIO
STMicroelectronics proposes an ultra‑low‑power series of MCUs based on 8‑bit and 32‑bit cores.
The STM8L MCU series is based on the STM8 proprietary core and is the entry point of our low‑power MCU
solutions.
The STM8L series combines high performance and ultra‑low power consumption using a new proprietary
ultra-low-leakage process and optimized architecture. This series is declined in four different lines, making
the STM8L an optimal series to support many applications with special care on power savings.
The STM8L101 is the entry‑line 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/152 and STM8L162 Performance lines offer
more features with advanced digital and analog features. The STM8L Value line is a streamlined version of
the STM8L151 series, offering the best price/performance ratio.
STM8L DESCRIPTION
Upgrade or downgrade to a different memory size, or package across lines without changing your initial design or software.
• STM8 16 MHz CPU
• 2 to 64 Kbytes of embedded Flash memory, up to 4 Kbytes of SRAM and up to 2 Kbytes of EEPROM
• Four lines: pin‑to‑pin, software and peripheral compatibility
• Supply voltage: 1.65 to 3.6 V
• Up to four ultra‑low‑power modes: down to 350 nA with SRAM and context retention STM8 L
8 • 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
• Free touch‑sensing library
• LCD driver
• AES-128 encryption
STM8L
STM8L BLOCK DIAGRAM
System Timers STM8L APPLICATIONS
1x8-bit timer, • Medical equipment
Power supply
2 to 3x 16-bit timers. • Glucose meters and insulin
1.8 to 3.6 V STM8 CPU
(1.8 V internal regulator), 16 MHz 1x16-bit PWM, pumps
Synchronized AC timer • Blood pressure and cholesterol
POR / PDR / PVD / BOR,
Internal RC oscillators monitors
38 kHz or 1 to 16 MHz, 2- to 64-Kbyte Connectivity • Patient monitoring
Xtal oscillator Flash memory • Metering (electricity/gas/water/
32 kHz or 1 to 16 MHz, Up to 4-Kbyte SRAM 3 x USART heat meters, and scales)
Clock control, (IrDA, smartcard)
2 x watchdogs 256-byte EEPROM • Alarm systems (central units,
SPI,
(independent + window), Boot ROM I²C sensors, door locks, and fire
Auto-wakeup (AWU), alarms)
4-channel DMA
Real time clock (RTC) Analog • GP portable devices
Nested vector • Mobile phones, and accessories
interrupt 1 to 2x 12-bit DAC,
controller (NVIC) • Gaming and remote controls
I/Os 12-bit ADC with 25
SWIM debug channels, • GPS watches and sports
Up to 68 I/Os module 2x comparators, equipment
Temperature sensor
Display
LCD driver Encryption
Note: * STM8L15x/STM8L16x only
(4x44 or 8x40) AES 128-bit
STM8L PRODUCT LINES
STM8L162 16 64 1 2048 • • •
STM8L PORTFOLIO
STM8L portfolio
Flash size (bytes)
STM8L162R8 STM8L162M8
STM8L152K8 STM8L152C8 STM8L152R8 STM8L152M8
64 K STM8L151C8 STM8L151R8 STM8L151M8
STM8L052R8
STM8L152K4 STM8L152C4 9
16 K STM8L151G4 STM8L151K4 STM8L151C4
192 µA/MHz
90 µA/MHz
5.1 µA
3.0 µA
1.2 µA
0.3 µA
Dynamic Run Dynamic Run Low-power Run Low-power Wait Active Halt Halt
from Flash from RAM @ 32 kHz @ 32 kHz with RTC
Notes:
- POR/PDR on
- RAM content preserved
- BOR option at 2.4 µA
- Startup time from Active Halt 5 µs
The STM8L series is available in four different lines making the STM8L an optimal
series to support many applications requiring special care on power savings.
• STM8L101 line
10 • Lowest power mode: 0.30 µA
• Dynamic run mode: 150 µA/MHz
• STM8L151/152 line
• Lowest power mode: 0.35 µA
STM8 L
• Dynamic run mode: 180 µA/MHz
• STM8L162 line
• Lowest power mode: 0.35 µA
• Dynamic run mode: 180 µA/MHz
This series 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 system cost improvement.
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 the STM8A is the ideal and
economic solution for the growing market of 8‑bit automotive applications.
With the multiplication of electronic subsystems, saving power is becoming a key consideration, and the
ultra-low-power STM8AL series responds to the specific needs of low power in automotive applications.
STM8AF 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.
• STM8 up to 24 MHz CPU
• 4 to 128 Kbytes of embedded Flash memory, 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 STM8 A
• Up to 150 °C ambient temperature
11
• Qualified to AEC‑Q100
• Certified CAN drivers
• Free certified LIN drivers
• Touch‑sensing and LCD lines
STM8AF
STM8AF BLOCK DIAGRAM
STM8AF APPLICATIONS
System Timers
• CAN controllers
16-bit timer, 4 CAPCOM
Power supply • LIN nodes
3 comparator outputs,
2.95 to 5.5 V
2 x 16-bit timer • Actuators
(1.8 V internal regulator),
STM8 CPU 2/3 CAPCOM,
POR / BOR, Up to 24 MHz • Sensors
8-bit timer,
Xtal oscillator 1-24 MHz,
Beeper • Safety microcontrollers
Internal RC oscillators
1/2/4 kHz • Car radios
128 kHz and 16 MHz,
Clock control, • Immobilizers
Clock detector, Connectivity
4- to 128-Kbyte • DC motor control
2 x watchdogs Flash memory CAN 2.0 B,
(independent + window), • HVAC
Up to 6-Kbyte SRAM UART
Autowakeup LIN-UART
Up to 2-Kbyte EEPROM Smartcard / IrDA,
Nested vector SPI,
I/Os interrupt I²C
Up to 68 I/Os
controller (NVIC)
Analog
ASIL
Touch-sensing SWIM debug
controller module 10-bit ADC Ready
16 channels
STM8AF DESCRIPTION
STM8AF is the mainstay of the STM8A multi‑purpose 8‑bit microcontrollers for automotive applications. Based on our proprietary STM8 core
able to deliver up to 6 DMIPS à 24Mhz, the STM8AF62 line features a full set of timers, interfaces (LIN 2.1, UART, SPI, I²C), 10‑bit ADC, internal
and external clock control system, watchdogs, auto wake‑up unit, and an integrated single‑wire debug module.
Conceived to offer a smart combination of features, to be easy to use and reliable, it covers a wide range of operating conditions such as up
to 150 °C ambient temperature and down to 3.0 V supply. It is the perfect solution for automotive applications where no compromises can be
made.
STM8AF PORTFOLIO
Flash memory / RAM size (bytes)
STM8AF52A6 STM8AF52A8 STM8AF52A9 STM8AF52AA
128 K / 6 K
12 STM8AF62A6 STM8AF62A8 STM8AF62A9 STM8AF62AA
STM8AF6388
64 K / 6 K STM8AF5286 STM8AF5288 STM8AF5289 STM8AF528A
STM8AF6286 STM8AF6288 STM8AF6289 STM8AF628A
STM8AF5268 STM8AF5269
32 K / 6 K
STM8AF6269
STM8AF6366
32 K / 2 K
STM8AF6266 STM8AF6268
16 K / 2 K STM8AF6246 STM8AF6248
8K / 2 K STM8AF6226
STM8AF6223A
8K / 1 K
STM8AF6223
STM8AF6213A
4K / 1 K
STM8AF6213 Pin count
20-pin 32-pin 48-pin 64-pin 80-pin
TSSOP LQFP/QFN LQFP LQFP LQFP
Legend:
CAN + LIN LIN
STM8AL DESCRIPTION
ST’ STM8AL ultra‑low‑power series for automotive applications puts green energy,
application safety and power efficiency at the forefront. It is particularly suited to
battery‑operated functions such as remote keyless entry and tire pressure monitoring,
as well as for applications where power consumption is critical over time: companion STM8 A
microcontroller, immobilizers and sensors.
Based on the STM8A embedded features for system cost reduction and reliability,
the STM8AL series supports LIN communications and offers more features to increase
computation performance, save power consumption and save memory space, using the LCD
driver, RTC, DMA, comparators, 12‑bit ADC and DAC. It offers a unique combination of flexible,
innovative and cost‑effective solutions for automotive applications.
• 12-bit ADC
STM8 A Data
• 12-bit DAC Flash memory RAM Four DMA
EEPROM LCD Interface
STM8 core - 16 MHz
4.48 mA
14 2.28 mA Limited temperature effect
3.8 mA 0.9 mA
1.90 mA
50 µA
0.6 mA 12 µA
40 µA 11 µA
195 µA/MHz 90 µA/MHz
1 µA 0.5 µA
Dynamic run Dynamic run Dynamic run Low-power run Active Halt Halt
from Flash from RAM from Flash from RAM RTC
@ 1 MHz @ 32 kHz
Legend
Typ (25 °C) Max (125 °C)
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
STM8 ecosystem
HARDWARE TOOLS
STM8S‑DISCOVERY
STM8SVLDISCOVERY NUCLEO-8S208RB
STM8‑SO8-DISCO STM8A‑DISCOVERY NUCLEO-8L152R8
STM8L‑DISCOVERY
15
Ordering information
Order number Description
STM8-SO8-DISCO Discovery kit with STM8L001J3,STM8L050J3,STM8S001J3 MCUs
STM8S‑DISCOVERY Discovery kit for STM8S series with STM8S105C6 MCU
STM8SVLDISCOVERY Discovery kit for STM8S Value Line with STM8S003K3T6C MCU
STM8A‑DISCOVERY Discovery kit for STM8A Automotive series with STM8AF52C6 and STM8AL3L68 MCUs
STM8L‑DISCOVERY Discovery kit for STM8L series with STM8L152C6 MCU
NUCLEO-8S208RB Nucleo-64 development board with STM8S208RB MCU, supports Arduino and ST morpho connectivity
NUCLEO-8L152R8 Nucleo-64 development board with STM8L152R8 MCU, supports Arduino and ST morpho connectivity
SOFTWARE TOOLS
STM8CubeMX IDEs STMStudio
macOS®
COLLATERALS
www.st.com is a valuable source of information and support with a documentation repository, forums, video and social media that help provide
solutions for any issues or challenges that you may encounter.
Please download our mobile version of the ST MCU Finder which makes MCU selection easy. It is available for Apple, Windows and Android
mobile platforms.
ST MCU finder
st.com/stm8 Join the STM8 community!
www.st.com/stmcufinder
community.st.com/stm8
@ST_World
STMicroelectronics
macOS®
Order code: BRSTM81018 For more information on ST products and solutions, visit www.st.com/stm8