brstm8

STM8 8‑bit MCU family
Come grow with us!
Simply Smarter
STM8
Content
STM8 series.............................................................................................. 3
STM8 MCU longevity commitment.......................................................... 3
STM8 core .................................................................................................... 3
Portfolio overview........................................................................................ 4
Superior and innovative capabilities...................................................... 5
STM8S mainstream series............................................................... 6
STM8S description....................................................................................... 6
STM8S block diagram................................................................................ 6
STM8S applications ................................................................................... 6
STM8S product lines................................................................................... 7
STM8S portfolio............................................................................................ 7
STM8L ultra‑low‑power series....................................................... 8
STM8L description....................................................................................... 8
STM8L block diagram................................................................................. 8
STM8L applications..................................................................................... 8
STM8L product lines.................................................................................... 9
STM8L portfolio............................................................................................ 9
STM8L ultra‑low‑power modes................................................................ 10
STM8A automotive series.............................................................. 11
STM8A description.................................................................................... 11
STM8AF block diagram............................................................................ 11
STM8AF applications ............................................................................... 11
STM8AF description.................................................................................. 12
STM8AF product lines............................................................................... 12
STM8AF portfolio........................................................................................ 12
STM8AL description ................................................................................. 13
STM8AL3LE88 block diagram.................................................................. 13
STM8AL applications ............................................................................... 13
STM8AL product lines............................................................................... 13
STM8AL portfolio........................................................................................ 14
STM8AL ultra‑low‑power modes............................................................. 14
STM8 tools.............................................................................................. 15
Ordering information............................................................................... 15
Free tools suites, software libraries and examples.............................. 15
STM8 series
More than one million units delivered worldwide every day!
We plan for longevity with a sustainable growth
STM8 MCU LONGEVITY COMMITMENT
STMicroelectronics provides a minimum longevity of 10 years for its STM8 microcontrollers!
• STM8AF series of multi‑purpose 8‑bit microcontrollers for automotive applications
• STM8AL series of ultra‑low‑power 8-bit microcontrollers for automotive applications
• STM8L series of ultra‑low‑power 8-bit microcontrollers
• STM8S series of mainstream 8-bit microcontrollers
STM8 CORE
ST’s 8‑bit microcontroller platform is implemented around a high‑performance 8‑bit core and
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
instruction and up to 24 MHz clock frequency, allowing customers to run their applications at
low speed with high performance.
The flexibility of the architecture minimizes switching noise, resulting in improved system
robustness and lower power consumption.
An innovative clock implementation provides strong benefits such as fast wake-ups in only
4 μs.
It enables immediate clock switching on the fly to allow clock accelerations for PWM or
calculation routines.
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.
Complete instructions
B4 B3 B2 B1
32-bit
memory
3-stage
pipeline
Fetch
Decode
Execute
Data
memory
STM8 core
The STM8 allows fast and safe development through enhanced stack pointer operations,
advanced addressing modes and new instructions.
STM8
3
STM8S
Mainstream
STM8A
Automotive
STM8L
Ultra‑low‑power
SUPERIOR AND INNOVATIVE CAPABILITIES
Parameters
STM8S
STM8A
STM8AF
STM8AL
STM8L
Global features
Voltage domain
Max. temperature
STM8 S
STM8 A
STM8 L
2.95 to 5.5 V
3.0 to 5.5 V
1.65 to 3.6 V
1.65 to 3.6 V
‑ 40 to +125 °C
‑ 40 to +150 °C
‑ 40 to +125 °C
‑ 40 to +125 °C
RC 128 KHz
RC 128 KHz
Internal clock, high speed
Internal clock, low speed
Internal RC up to 16 MHz 1%
24 MHz
16 MHz
16 MHz
16 MHz
Min. clock speed
128 KHz
128 KHz
128 KHz
300 KHz
0.5 µA
5 µA
0.5 µA
0.3 µA
10 µA (Run in 50 µs)
25 µA (Run in 50 µs)
0.8 µA (Run in 4 µs)
0.8 µA (Run in 4 µs)
1.8 mA @ 16 MHz from RAM
4.4 mA @ 16 MHz from RAM
1.6 mA @ 16 MHz from RAM
1.6 mA @ 16 MHz from RAM
Low power, Halt
Data EEPROM,
3 and 5 V families, precise RC,
LIN, CAN, grade 0
Data EEPROM,
1.65 and 3 V families,
strong analog, LCD drivers,
low‑leakage technology
Low power, Active Halt
Power consumption, Run
AEC‑Q100
Up to 150 °C
www.st.com/stm8af
www.st.com/stm8al
Robust and reliable
Up to 125 ° C
www.st.com/stm8s
4
Ideal combination of
low‑power performance
and features
Long-term guarantee
High-end analog IPs
Active Halt < 1 μA
www.st.com/stm8l
SAE EMI level
RTC
Ultra-low-power
STM8S208
STM8AL3LE
STM8S207
STM8AL3L
STM8L162
USART
STM8AF52
STM8S105
STM8L151
STM8AL31E
STM8S103
STM8L101
STM8S007
STM8L052
STM8S005
STM8L051
STM8S003
STM8S903
Yes, 4 channels
No
No
Yes, +/‑ 0.5 ppm
Yes, +/‑ 0.5 ppm
1 Mbit/s, up to 2 UARTs
1 Mbit/s
Yes
1 Mbit/s, up to 2 UARTs
1 Mbit/s, up to 2 UARTs
10 Mbit/s
100 and 400 Kbit/s
12 MHz max PWM
12 MHz max PWM
8 MHz max PWM
8 MHz max PWM
1Mbit/s, up to 3 mailboxes
1Mbit/s, up to 3 mailboxes
-
‑
5
ADC
Up to 16 channels, 10 bits,
2.3 μs, TUE 2.2 mV
Up to 16 channels, 10 bits,
3.5 μs,TUE 2.2 mV
28 channels, 12 bits, 1 μs,
TUE 0.4 mV
28 channels, 12 bits, 1 μs,
TUE 0.4 mV
DAC
‑
‑
2 channels, 12 bits, 1 MSPS,
TUE 3.5 mV
2 channels, 12 bits, 1 MSPS,
TUE 3.5 mV
Comparators
‑
‑
3 μs propagation delay,
0.2 μA consumption
3 μs propagation delay,
0.2 μA consumption
Touch Sensing
STM8S RC library
‑
STM8L CT library
STM8L CT library
Internal voltage reference
1.8 V or
+ 1.2V +/‑2.5% on
STM8S903
1.22V +/‑2.4%
1.22 V +/‑1.6%
1.22 V +/‑1.6%
‑
+/‑1 °C
+/‑1 °C
Temperature sensor
4- to 128-Kbyte,
20- to 80-pin
Automotive
Ultra-low-power
2- to 64-Kbyte,
20- to 80-pin
CAN
LIN
LCD
AES
‑
The need for connectivity
CAN
BeCAN 2.0B
BeCAN 2.0B
-
‑
UART
Smartcard, IrDA, single wire,
LIN 2.1
LIN 2.1 compliant
(master/slave)
LIN 2.1 compliant
(master/slave)
Smartcard, IrDA, single wire,
LIN 2.0
SPI
Yes
I²C
Yes
CEC
Software IP
DALI
Software IP
SWIM
Non‑intrusive debug and programming
IR interface
4- to 128-Kbyte,
20- to 80-pin
Mainstream
1.5 (16 MHz)
Yes, 4 channels
I²C
STM8L152
STM8AL31
Specific
2.5 (24 MHz)
No
The need for analog
STM8AF62
Value
2.5 (24 MHz)
No
SPI
CAN
Standard
General purpose
2.5 (24 MHz)
The need for speed
A large product portfolio to meet all your needs
Performance
Independent 300‑kcycle EEPROM
Boot ROM
3‑phase MC timer
PORTFOLIO OVERVIEW
2 Watchdogs (One window)
Data EEPROM endurance
DMA
Best market value
RC 38 KHz
Max. clock speed
Watchdog
Data EEPROM,
3 and 5 V families, precise RC
RC 128 KHz
LCD
‑
Software IP
Unique ID
LNB
‑
‑
Hardware IP
Software IP
4 x 28
(112 pixels)
4 x 44 or 8 x 40 segments
(320 pixels)
Individual die identification on 96 bits
STM8SPLNB1 DiSEqC™
‑
Note: Typical values are indicated. Depending on part numbers, other characteristics may apply. Refer to datasheet for more details.
‑
‑
STM8S PRODUCT LINES
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
6
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
• 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 are available for download
Control
16-bit timer, 4 CAPCOM +
3 comparator outputs
2x16-bit timer
2/3 CAPCOM
8-bit timer
Beeper
1/2/4 kHz
• USART, SPI, I²C
• 8‑
and 16‑bit timers
• 16 MHz crystal
oscillator and 128 kHz
internal RC oscillators
• SWIM debug module
FCPU
(MHz)
STM8S003/005/007
Value line
16
8 to 64
1 to 6
128
STM8S103/105
16
4 to 32
1 to 2
640 to
1024
STM8S207/208
24
32 to 128
6
1024 to
2048
STM8S
Application-specific
line
16
8
1
640
Up to 2-Kbyte EEPROM
Boot ROM
Connectivity
CAN 2.0 B
2xU(S)ART
LIN
Smartcard / IrDA
SPI
I²C
STM8S APPLICATIONS
• Appliances, power tools
10-bit ADC
16 channels
64 K
STM8S207K8
STM8S208SB
STM8S207SB
STM8S208S8
STM8S207S8
STM8S208CB
STM8S207CB
STM8S208C8
STM8S207C8
STM8S007C8
STM8S208RB
STM8S207RB
STM8S208R8
STM8S207R8
STM8S208S6
STM8S207S6
STM8S105S6
STM8S208R6
STM8S207R6
STM8S105S4
STM8S208C6
STM8S207C6
STM8S105C6
STM8S005C6
STM8S105C4
44 pins
LQFP
48 pins
LQFP
64 pins
LQFP
• HVAC
• Power management
• Factory automation
32 K
• Devices with rechargeable
batteries
• Motor control
• e‑vehicles
16 K
8K
• Toys and games
• Sensors
• User interfaces
Analog
•
•
•
7
• Power supplies
Nested vector
interrupt
controller (NVIC)
SWIM debug
module
•
Flash size (bytes)
• Lighting
STM8 CPU
Up to 24 MHz
•
STM8S PORTFOLIO
128 K
4- to 128-Kbyte
Flash memory
Up to 6-Kbyte SRAM
Flash
Data
Additional
RAM
CAN 2nd
LNB
memory
EEPROM
analog
(Kbytes)
2.0B UART
firmware
(Kbytes)
(bytes)
channels
Product line
• 10‑bit ADC
STM8 S
STM8S
BLOCK
DIAGRAM
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
AWU
2x watchdogs
(independent and window)
Up to 68 I/Os
STM8 core ‑ Up to 24 MHz
STM8S mainstream series
The STM8S series consists of four lines with differentiated features with full compatibility and upgradability to simplify design changes.
• The STM8S003/005/007 Value line is the entry‑level series with a basic features set.
• The STM8S103/105 Access line offers more features and a larger variety of packages.
• The STM8S207/208 Performance line features a full set of peripherals and provides performance for medium to higher-end applications.
• The STM8S Application-specific line provides more analog features and dedicated firmware solutions.
4K
STM8S903F3
STM8S103F3
STM8S003F3
STM8S103F2
20 pins
TSSOP/QFN/SO
Legend:
Performance line
STM8S207K6
STM8S105K6
STM8S005K6
STM8S105K4
STM8S903K3
STM8S103K3
STM8S103K3
STM8S00KF3
32 pins
LQFP/QFN/SDIP
Access line
Application specific line
Value line
STM8S208MB
STM8S207MB
STM8S208M8
STM8S207M8
80 pins
LQFP
Pin count
STM8L PRODUCT LINES
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 STM8L051/52 Value line is a streamlined
version of the STM8L151 series, offering the best price/performance ratio.
• 12‑bit ADC
STM8 core – Up to 16 MHz
STM8L ultra‑low‑power series
• 12‑bit
Flash
memory
(Kbytes)
RAM
(Kbytes)
Data
EEPROM
(bytes)
Four
DMA
channels
LCD
interface
STM8L051/052
Value line
8 to 64
1 to 4
256
•
•
STM8L101
2 to 8
1.5
STM8L151/152
4 to 64
1 to 4
256 to 2048
•
•
64
2
2048
•
•
Product line
DAC
• USART, SPI, I²C
with 32 kHz oscillator
• 8‑ and 16‑bit timers
• Temperature sensor
• Comparators
• SWIM debug module
• RTC
STM8L162
8
STM8 L
STM8L portfolio
Flash size (bytes)
64 K
Control
1x 16-bit PWM
Synchronized AC timer
2 to 3x 16-bit timers
1x 8-bit timer
Encryption
AES (128 bits)
Note: * STM8L15x/STM8L16x only
STM8L162R8
STM8L162M8
STM8L152C8
STM8L152R8
STM8L152M8
STM8L151C8
STM8L151R8
STM8L151M8
STM8L152C6
STM8L052R8
STM8L152K6
STM8L152C6
STM8L152R6
STM8L151K6
STM8L151C6
STM8L151R6
STM8L152K8
32 K
STM8L151G6
STM8L052C6
STM8L152K4
STM8L152C4
STM8L151G4
STM8L151K4
STM8L151C4
STM8L151F3
STM8L151G3
STM8L151K3
STM8L151C3
STM8L101F3
STM8L101G3
STM8L101K3
STM8L151F2
STM8L151G2
STM8L151K2
STM8L151C2
STM8L101F2
STM8L101G2
32 pins
LQFP/QFN/WLCSP
48 pins
LQFP/QFN
16 K
8K
9
STM8L051F3
STM8L15x/16x
- 64K
block diagram
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
•
STM8L PORTFOLIO
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
• 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
AES
128‑bit
crypto
STM8 CPU
Up to 16 MHz
Nested vector
interrupt
controller (NVIC)
SWIM debug
module
4-channel DMA
Display
LCD driver
(4 x 28 or 8 x 40)
2- to 64-Kbyte
Flash memory
1.5- to 4-Kbyte SRAM
1- to 2-Kbyte EEPROM*
Boot ROM*
Connectivity
1 to 3x USART
1 to 2x SPI
I²C
Touch sensing
Charge-transfer driver
up to 16 channels
Analog
1 to 2x 12-bit DAC
12-bit ADC
25 channels
2x comparators
Temperature sensor
STM8L APPLICATIONS
• Medical equipment
Glucose meters and insulin
pumps
• Blood pressure and colesterol
monitors
• Patient monitoring
• Metering (electricity/gas/water/
heat meters, and scales)
• Alarm systems (central units,
sensors, door locks, and fire
alarms)
• GP portable devices
• Mobile phones, and accessories
• Gaming and remote controls
• GPS watches and sports
equipment
•
Note: * STM8L15x/STM8L16x only
4K
2K
STM8L101F1
20 pins
TSSOP/QFN
28 pins
QFN/WLCSP
Legend:
Performance line with LCD and AES
64 pins
LQFP
Performance line with LCD (LCD only on STM8L152xx)
80 pins
LQFP
Entry-line
Pin count
Value line
STM8L ULTRA‑LOW‑POWER MODES
STM8A automotive series
Typical current
@ 25 °C
192 µA/MHz
90 µA/MHz
5.1 µA
3.0 µA
1.2 µA
0.3 µA
Dynamic Run
from Flash
Dynamic Run
from RAM
Low-power Run
@ 32 kHz
Low-power Wait
@ 32 kHz
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
10
STM8 L
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
• Lowest power mode: 0.30 µA
• Dynamic run mode: 150 µA/MHz
• STM8L151/152 line
• Lowest power mode: 0.35 µA
• Dynamic run mode: 180 µA/MHz
• STM8L162 line
• Lowest power mode: 0.35 µA
• Dynamic run mode: 180 µA/MHz
• STM8L051/052 Value 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.
STM8A 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
• 8 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
• Up to 150 °C ambient temperature
• Qualified to AEC‑Q100
• Certified CAN drivers
• Free certified LIN drivers
• Touch‑sensing and LCD lines
STM8 A
STM8A block
diagram
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
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
Beeper 1/2/4 kHz
8- to 128-Kbyte
Flash memory
Up to 6-Kbyte SRAM
Up to 2-Kbyte EEPROM
Boot ROM
STM8AF APPLICATIONS
• CAN controllers
• LIN nodes
• Actuators
• Sensors
STM8 CPU
Up to 24 MHz
Nested vector interrupt
controller (NVIC)
SWIM debug
module
Connectivity
CAN 2.0 B
UART
LIN-UART
Smartcard / IrDA
SPI
I²C
Analog
10-bit ADC
16 channels
• Safety microcontrollers
• Car radios
• Immobilizers
• DC motor control
• HVAC
ASIL
Ready
11
STM8AF DESCRIPTION
STM8AL 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 20 MIPS at 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.
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
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.
STM8AF PRODUCT LINES
Product line
Flash
memory
(Kbytes)
RAM
(Kbytes)
Data
EEPROM
(bytes)
CAN
2.0B
LIN
2.1
Additional
analog
channels
Automotive
Grade 0
(150 °C)
STM8AL block diagram
STM8AL3LE88
BLOCK DIAGRAM
• USART, SPI, I²C
• 8‑
and 16‑bit timers
• 16 MHz crystal oscillators
and 128 kHz internal RC
oscillators
• SWIM debug module
STM8AF52
STM8AF62
32 to 128
8 to 128
6
1 to 6
1024 to
2048
•
640 to 2048
•
•
•
•
•
STM8AF PORTFOLIO
Flash size (bytes)
12
128 K
64 K
32 K
16 K
8K
STM8AF6223
4K
STM8AF6213
STM8AF52A8
STM8AF52A9
STM8AF52AA
STM8AF62A6
STM8AF62A8
STM8AF62A9
STM8AF62AA
STM8AF5286
STM8AF5288
STM8AF5289
STM8AF528A
STM8AF6286
STM8AF6288
STM8AF6289
STM8AF628A
STM8AF5268
STM8AF5269
STM8AF6266
STM8AF6268
STM8AF6269
STM8AF6246
STM8AF6248
Digital
1x 16-bit timer, 4 CAPCOM
3 complemented outputs
2x 16-bit timers,
4 CAPCOM
1x 8-bit timers
IR I/F
Beeper 1/2/4 kHz
STM8 CPU
16 MHz
Low power
implementaion
Nested vector interrupt
controller (NVIC)
SWIM debug
module
4-channel DMA
Memory to memory
Peripherals to memory
Encryption
AES (128 bits)
Display
LCD driver 4 x 28
Internal booster
Active in Halt mode
64-Kbyte
Flash memory
2-Kbyte SRAM
1-Kbyte EEPROM
Boot ROM
Connectivity
41 I/Os (with HS)
UART
LIN-UART
Smartcard / IrDA
1x SPI
1x I²C
STM8AL APPLICATIONS
• Remote keyless entry
• Tire pressure monitors
• Alarms
• BLDC electric motor control
• Sensors
13
Analog
2x ULP comparators
12-bit ADC (1 µs)
25 channels
12-bit DAC
1 channel
Temperature sensor
Internal voltage reference
1.2 V
STM8AF6226
STM8AL PRODUCT LINES
20 pins
TSSOP20
Legend:
LIN
STM8AF52A6
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
32.768 kHz oscillator
Clock detection
Auto wake-up
2x watchdogs (HS/LS)
32 pins
LQFP/QFN
48 pins
LQFP
64 pins
LQFP
80 pins
LQFP
Pin count
• 12‑bit ADC
LIN+CAN
DAC
• USART, SPI, I²C
• RTC with 32 kHz oscillator
• 8‑ and 16‑bit timers
• Temperature sensor
• Comparators
• SWIM debug module
• AES-128 encryption
Flash
memory
(Kbytes)
RAM
(Kbytes)
Data
EEPROM
(bytes)
Four
DMA
channels
STM8AL31
16 to 64
4
2048
•
STM8AL3L
16 to 64
4
2048
•
Product line
• 12‑bit
STM8 core ‑ 16 MHz
STM8 core ‑ 24 MHz
• 10‑bit ADC
STM8 A
LCD
interface
•
STM8AL PORTFOLIO
Flash size (bytes)
64 K
32 K
16 K
8K
STM8AL31E88
STM8AL31E89
STM8AL31E8A
STM8AL3188
STM8AL3189
STM8AL318A
STM8AL3LE88
STM8AL3LE89
STM8AL3LE8A
STM8AL3L88
STM8AL3L89
STM8AL3L8A
STM8AL3166
STM8AL3168
STM8AL3L66
STM8AL3L68
STM8AL3146
STM8AL3148
STM8AL3L46
STM8AL3L48
STM8AL3136
STM8AL3138
32 pins
LQFP
48 pins
LQFP
All families are supported with affordable kits and hardware solutions
STM8 S
64 pins
LQFP
Legend:
Without hardware Crypto/Hash coprocessor
STM8 tools
80 pins
LQFP
STM8 A
STM8 L
Pin count
With hardware Crypto/Hash coprocessor
STM8AL ULTRA‑LOW‑POWER MODES
STM8S‑DISCOVERY
STM8A‑DISCOVERY
STM8L‑DISCOVERY
STM8SVLDISCOVERY
4.48 mA
Order number
0.9 mA
3.8 mA
1.90 mA
Dynamic run
from Flash
Legend
Typ (25 °C)
Dynamic run
from RAM
12 µA
40 µA
90 µA/MHz
Dynamic run
from Flash
@ 1 MHz
Low-power run
from RAM
@ 32 kHz
Discovery kit for STM8S series with STM8S105C6 MCU
STM8SVLDISCOVERY
50 µA
15
Description
STM8S‑DISCOVERY
0.6 mA
195 µA/MHz
ORDERING INFORMATION
Limited temperature effect
2.28 mA
14
Discovery kit for STM8S Value Line with STM8S105C6 MCU
STM8L‑DISCOVERY
Discovery kit for STM8L series with STM8L152C6 MCU
STM8A‑DISCOVERY
Discovery kit for STM8A Automotive series with STM8AF52C6 and STM8AL3L68 MCUs
11 µA
1 µA
0.5 µA
Active Halt
RTC
Halt
FREE TOOLS SUITES, SOFTWARE LIBRARIES AND EXAMPLES
Company
Solution name
Solution Category
Price
Standard Peripheral Library
Collection of embedded software drivers and
examples
Free
STVD
IDE
Free
IDE with C compiler
Free up to 32 Kbytes code
IDE with C compiler
Free up to 8 Kbytes code
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
IDEA
IAR-EWSTM8
Open source
SDCC*
Note: * Available on ST external website only http://sdcc.sourceforge.net/
Open source C Compiler (GPL)
Free
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. The existing community around ARM Cortex cores is already big enough that
developers will likely find existing solutions or examples ready to be imported.
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.com
ST MCU finder
www.st.com/stmcufinder
Various social media
ST forums on microcontrollers
twitter.com/@ST_World
youtube.com/STonlineMedia
Mbed.org
Information
MCU selection
Communities and social media
© STMicroelectronics - October 2015 - 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: BRSTM81015
For more information on ST products and solutions, visit www.st.com/stm8