Automotive 8-bit MCU with 8 Kbytes Flash, LIN, 16 MHz CPU, integrated EEPROM

The STM8AF6213, STM8AF6223, STM8AF6223A and STM8AF6226 automotive 8-bit microcontrollers offer 4 to 8 Kbytes of Flash program memory, plus integrated true data EEPROM. The STM8S series and STM8AF series 8-bit microcontrollers reference manual (RM0016) refers to devices in this family as low-density. They provide the following benefits: performance, robustness and reduced system cost.

Device performance and robustness are ensured by advanced core and peripherals made in a state-of-the-art technology, a 16 MHz clock frequency, robust I/Os, independent watchdogs with separate clock source, and a clock security system.

The system cost is reduced thanks to an integrated true data EEPROM for up to 300 kwrite/erase cycles and a high system integration level with internal clock oscillators, watchdog, and brown-out reset.

Full documentation is offered as well as a wide choice of development tools.

Key Features

  • AEC-Q100 qualified
  • Core
    • Max fCPU : 16 MHz
    • Advanced STM8A core with Harvard architecture and 3-stage pipeline
    • Extended instruction set
  • Memories
    • Program memory: 4 to 8 Kbyte Flash program; data retention 20 years at 55 °C after 1 kcycle
    • Data memory: 640 byte true data EEPROM; endurance 300 kcycle
    • RAM: 1 Kbyte
  • Clock management
    • Low-power crystal resonator oscillator with external clock input
    • Internal, user-trimmable 16 MHz RC and low-power 128 kHz RC oscillators
    • Clock security system with clock monitor
  • Reset and supply management
    • Wait/auto-wakeup/Halt low-power modes with user definable clock gating
    • Low-consumption power-on and power-down reset
  • Interrupt management
    • Nested interrupt controller with 32 interrupts
    • Up to 28 external interrupts on 7 vectors
  • Timers
    • Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization
    • 16-bit general purpose timer with 3 CAPCOM channels each (IC, OC, PWM)
    • 8-bit AR basic timer with 8-bit prescaler
    • Auto-wakeup timer
    • Window and independent watchdog timers
  • I/Os
    • Up to 28 I/Os on a 32-pin package including 21 high sink outputs
    • Highly robust I/O design, immune against current injection
  • Communication interfaces
    • LINUART LIN 2.2 compliant, master/slave modes with automatic resynchronization
    • SPI interface up to 8 Mbit/s or fMASTER /2
    • I2 C interface up to 400 Kbit/s
  • Analog to digital converter (ADC)
    • 10-bit, ± 1 LSB ADC with up to 7 muxed channels + 1 internal channel, scan mode and analog watchdog
    • Internal reference voltage measurement
  • Operating temperature up to 150 °C

Design

Quality & Reliability

Product Certifications
Description Version Size
CAN conformance test certificate from C&S group Gmbh for STM8AF microcontrollers 1.0 199 KB
LIN 2.1 master conformance test certificate from IHR Gmbh for STM8AF microcontrollers 1.0 216 KB
LIN 2.1 slave conformance test certificate from IHR Gmbh for STM8AF microcontrollers 1.0 216 KB
SAE J2602 master conformance test certificate from IHR Gmbh for STM8AF microcontrollers 1.0 117 KB
SAE J2602 slave conformance test certificate from IHR Gmbh for STM8AF microcontrollers 1.0 114 KB

Publications and Collaterals

Flyers
Description Version Size
Get ready for the largest IoT development ecosystem 17.02 741 KB
STM8CubeMX eases STM8 configuration 1.0 532 KB
Brochures
Description Version Size
STM8 8-bit MCU family 17.03 1 MB

HW Model & CAD Libraries

HW Model & CAD Libraries
Description Version Size
STM8AF CAD Symbol and Footprint files 1.0 743 KB

Presentations & Training Material

Presentations
Description Version Size
STM32 and STM8 Functional Safety Packages 2 1 MB
STM32 and STM8 embedded software solutions 2.0 2 MB

Technical Documentation

Product Specifications
Description Version Size
DS9884 DS9884: Automotive 8-bit MCU, with up to 8 Kbyte Flash, data EEPROM, 10-bit ADC, timers, LIN, SPI, I²C, 3 to 5.5 V 6.0 2 MB
Technical Notes & Articles
Description Version Size
TN1163 TN1163: Description of WLCSP for microcontrollers and recommendations for its use 4.0 1 MB
TN0189 TN0189: STM8 bootloader frequently asked questions 2.4 320 KB
TN1205 TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages 3.0 753 KB
TN1206 TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages 3.0 830 KB
TN1207 TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages 1.0 755 KB
TN1208 TN1208: Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages 1.0 743 KB
Reference Manuals
Description Version Size
RM0016 RM0016: STM8S series and STM8AF series 8-bit microcontrollers 12.1 4 MB
Programming Manuals
Description Version Size
PM0051 PM0051: How to program STM8S and STM8A Flash program memory and data EEPROM 3.3 192 KB
PM0044 PM0044: STM8 CPU programming manual 3.4 899 KB
Errata Sheets
Description Version Size
ES0220 ES0220: Device limitations for STM8AF62xx automotive MCUs featuring up to 8 Kbytes of Flash program memory 2.0 326 KB

Tools and Software

Development Tools
Embedded Software
Evaluation Tools
Hardware Development Tools
Software Development Tools
MCUs Embedded Software
Product Evaluation Tools
Support & Community


Sample & Buy

Part Number Package Packing Type Operating Temperature (°C) (min) Operating Temperature (°C) (max) Marketing Status Unit Price (US$) * Quantity ECCN (EU) ECCN (US) Country of Origin More info Order from ST Order from Distributors
STM8AF6223PDU TSSOP 20 Tube -40 150 Active 0.766 10000 NEC EAR99 PHILIPPINES MORE INFO DISTRIBUTOR AVAILABILITY
STM8AF6223IPCX TSSOP 20 Tape And Reel -40 - Active 0.674 10000 NEC EAR99 PHILIPPINES MORE INFO DISTRIBUTOR AVAILABILITY
STM8AF6223PCU TSSOP 20 Tube -40 125 Active 0.656 10000 NEC EAR99 PHILIPPINES MORE INFO DISTRIBUTOR AVAILABILITY
STM8AF6223IPCU TSSOP 20 Tube -40 - Active 0.674 10000 NEC EAR99 PHILIPPINES MORE INFO
STM8AF6223PDX TSSOP 20 Tape And Reel -40 150 Active 0.766 10000 NEC EAR99 PHILIPPINES MORE INFO
STM8AF6223PAX TSSOP 20 Tape And Reel -40 85 Active 0.613 10000 NEC EAR99 PHILIPPINES MORE INFO DISTRIBUTOR AVAILABILITY
STM8AF6223PCX TSSOP 20 Tape And Reel -40 125 Active 0.656 10000 NEC EAR99 PHILIPPINES MORE INFO
STM8AF6223PAU TSSOP 20 Tube -40 85 Active 0.613 10000 NEC EAR99 PHILIPPINES MORE INFO Get Sample Add to cart DISTRIBUTOR AVAILABILITY
test

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

Quality & Reliability

Part Number Marketing Status Package Grade RoHS Compliance Grade Material Declaration**
STM8AF6223PDU ActiveTSSOP 20AutomotiveEcopack2 0 0
STM8AF6223IPCX ActiveTSSOP 20AutomotiveEcopack2 0 0
STM8AF6223PCU ActiveTSSOP 20AutomotiveEcopack2 0 0
STM8AF6223IPCU ActiveTSSOP 20AutomotiveEcopack2 0 0
STM8AF6223PDX ActiveTSSOP 20AutomotiveEcopack2 0 0
STM8AF6223PAX ActiveTSSOP 20AutomotiveEcopack2 0 0
STM8AF6223PCX ActiveTSSOP 20AutomotiveEcopack2 0 0
STM8AF6223PAU ActiveTSSOP 20AutomotiveEcopack2 0 0
test

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

×