ST Life.augmented

STM8AF5179

Automotive CAN and LIN line 8-bit MCU with 48 Kbytes Flash, 24 MHz CPU, integrated EEPROM
  • NRND NRND

The STM8AF52xx, STM8AF62xx, STM8AF51xx, and STM8AF61xx automotive 8-bit microcontrollers described in this datasheet offer from 32 Kbytes to 128 Kbytes of non volatile memory and integrated true data EEPROM. They are referred to as high density STM8A devices in the STM8S and STM8A microcontroller families reference manual (RM0016).

The STM8AF51xx and STM8AF52xx series feature a CAN interface.

All devices of the STM8A product line provide the following benefits: reduced system cost, performance and robustness, short development cycles, and product longevity.

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

Device performance is ensured by 20 MIPS at 24 MHz CPU clock frequency and enhanced characteristics which include robust I/O, independent watchdogs (with a separate clock source), and a clock security system.

Short development cycles are guaranteed due to application scalability across a common family product architecture with compatible pinout, memory map, and modular peripherals. Full documentation is offered with a wide choice of development tools.

Product longevity is ensured in the STM8A family thanks to their advanced core which is made in a state-of-the art technology for automotive applications with 3.3 V to 5.5 V operating supply.

All STM8A and ST7 microcontrollers are supported by the same tools including STVD/STVP development environment, the STice emulator and a low-cost, third party in-circuit debugging tool.

pdf Download Datasheet

Key Features

  • CoreMax fCPU: 24 MHzAdvanced STM8A core with Harvard architecture and 3-stage pipelineAverage 1.6 cycles/instruction resulting in 10 MIPS at 16 MHz fCPUfor industry standard benchmark
  • MemoriesProgram memory: 32 to 128 Kbytes Flash program; data retention 20 years at 55 °CData memory: up to 2 Kbytes true data EEPROM; endurance 300 kcyclesRAM: 2 Kbytes to 6 Kbytes
  • Clock managementLow-power crystal resonator oscillator with external clock inputInternal, user-trimmable 16 MHz RC and low-power 128 kHz RC oscillatorsClock security system with clock monitor
  • Reset and supply managementWait/auto-wakeup/Halt low-power modes with user definable clock gatingLow consumption power-on and power-down reset
  • Interrupt managementNested interrupt controller with 32 vectorsUp to 37 external interrupts on 5 vectors
  • Timers2 general purpose 16-bit timers with up to 3 CAPCOM channels each (IC, OC, PWM)Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization8-bit AR basic timer with 8-bit prescalerAuto-wakeup timerWindow and independent watchdog timers
  • I/OsUp to 68 user pins (11 high sink I/Os)Highly robust I/O design, immune against current injection
  • Communication interfacesHigh speed 1 Mbit/s CAN 2.0B interfaceUSART with clock output for synchronous operation - LIN master modeLINUART LIN 2.1 compliant, master/slave modes with automatic resynchronizationSPI interface up to 10 Mbit/s or fMASTER/2I2C interface up to 400 Kbit/s
  • Analog to digital converter (ADC)10-bit resolution, 2 LSB TUE, 1 LSB linearity and up to 16 multiplexed channels
  • Operating temperature up to 150 °C
  • Qualification conforms to AEC-Q100 rev G

Circuit Diagram

Design Resources

Top

Technical Documentation

Product Specifications

Description Version Size
pdf
DS5697: Automotive 8-bit MCU, with up to 128 Kbytes Flash, data EEPROM, 10-bit ADC, timers, LIN, CAN, USART, SPI, I2C, 3 to 5.5 V
9.0 1,617 KB

Application Notes

Description Version Size
pdf
AN1015: Software techniques for improving microcontroller EMC performance
1.7 104 KB
pdf
AN1181: Electrostatic discharge sensitivity measurement
1.4 59 KB
pdf
AN1709: EMC design guide for ST microcontrollers
1.7 657 KB
pdf
AN2639: Soldering recommendations and package information for Lead-free ECOPACK® microcontrollers
2.4 209 KB
pdf
AN2658: Using the analog to digital converter of the STM8S microcontroller
2.3 183 KB
pdf
AN2659: STM8 in-application programming (IAP) using a customized user-bootloader
4.0 281 KB
pdf
AN2669: How to configure the STM8A microcontroller clocks
2.3 98 KB
pdf
AN2677: Getting started with the STM8A
3.2 2,264 KB
pdf
AN2719: Precision improvement techniques for the A/D converter of the STM8 microcontroller
2.4 238 KB
pdf
AN2737: Basic in-application programming example using the STM8 I²C and SPI peripherals
3.3 186 KB
pdf
AN2752: Getting started with the STM8S and STM8A
5.0 2,223 KB
pdf
AN2780: Real-time keeping on STM8S and STM8A devices and usage of auto-wakeup unit (AWU) and beeper
2.0 387 KB
pdf
AN2781: UART emulation software in STM8S and STM8A microcontrollers
2.0 102 KB
pdf
AN2792: STM8A easy programmer
1.2 130 KB
pdf
AN2800: STM8A uart emulator
1.2 912 KB
pdf
AN2822: STM8S and STM8A high speed internal oscillator calibration
2.0 196 KB
pdf
AN2857: STM8S and STM8A family power management
3.0 270 KB
pdf
AN2860: EMC guidelines for STM8 microcontrollers
5.0 262 KB
pdf
AN2867: Oscillator design guide for STM8S, STM8A, and STM32F1 microcontrollers
6.0 279 KB
pdf
AN2869: Guidelines for designing touch sensing applications
6.0 980 KB
pdf
AN3023: Using the analog-to-digital converter of the STM8A microcontroller
1.1 284 KB
pdf
AN3181: Guidelines for obtaining IEC 60335 Class B certification in an STM8 application
2.0 428 KB
pdf
AN3208: Microstepping motor drive with STM8A and STM8S microcontrollers
1.1 285 KB
pdf
AN3258: STM8A/S HSI oscillator calibration using LIN automatic resynchronization
1.1 176 KB
pdf
AN3281: STM8 I²C optimized examples
2.0 201 KB
pdf
AN4101: LIN communication with STM8A-DISCOVERY
1.0 183 KB
pdf
AN4178: LIN communication with two STM8AF boards of STM8A-DISCOVERY
1.0 103 KB
pdf
AN4243: The L6230 DMOS driver for three-phase brushless DC motor
1.0 933 KB

Technical Notes & Articles

Description Version Size
pdf
TN0189: STM8 bootloader frequently asked questions
2.3 321 KB

User Manual

Description Version Size
pdf
UM0470: STM8 SWIM communication protocol and debug module
3.3 532 KB
pdf
UM0560: STM8 bootloader
7.0 655 KB
pdf
UM1583: J2602 software package
1.0 155 KB
pdf
UM1593: LIN 2.1 software package
1.0 1,018 KB

Reference Manual

Description Version Size
pdf
RM0016: STM8S and STM8AF microcontroller families
9.0 3,475 KB

Programming Manual

Description Version Size
pdf
PM0044: STM8 CPU programming manual
3.3 899 KB
pdf
PM0051: How to program STM8S and STM8A Flash program memory and data EEPROM
3.2 192 KB

Errata Sheet

Description Version Size
pdf
ES0144: Device limitations for STM8AFxxxx automotive MCUs featuring up to 128 Kbytes of Flash program memory
4.0 612 KB

Presentations & Training Material

Presentations

Description Version Size
pdf
STM32 and STM8 embedded software solutions
1,771 KB

Related Tools and Software

Related Tools and Software

Part Number Description
AD/Stice_Connect Connection Adapter to use with STICE-SYS00x emulation systems
AS/Stice_Connect Adapter Socket for application board - to use with STICE-SYS00x emulation systems
CF/Stice_Connect Connexion flex to use with STICE-SYS00x emulation systems
ST-LINK In-circuit debugger and programmer for STM8 and STM32 MCUs; with IAR EWARM and Keil RVMDK and ST toolset
ST-LINK/V2 ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32
STICE Full-featured emulator offers flexible, modular debugging and programming solution
STM-STUDIO STM Studio run-time variables monitoring and visualization tool
STM8/128-MCKIT Motor control starter kit for STM8S (128KB flash) microcontrollers
STM8A-DISCOVERY Discovery kit for STM8A Automotive series - with STM8AF5288 and STM8AL3L68 MCUs
STM8A/128-EVAL Evaluation board for STM8A (128KB Flash) MCUs
STSW-MCU005 STM32 and STM8 Flash loader demonstrator
STSW-STM8004 STM8 optimized I2C examples (AN3281)
STSW-STM8006 Example of implementation of user bootloader (AN2659)
STSW-STM8007 STM8a fiirmware library
STSW-STM8020 STM8S and STM8A BLDC and ACIM motor control firmware library V1.0
STSW-STM8025 STM8S DALI library example
STSW-STM8026 STM8S optimized examples package
STSW-STM8045 Audio software codec for the STM8S
STSW-STM8048 Precision improvement techniques for the A/D converter of the STM8 microcontroller
STSW-STM8049 Basic in-application programming example using the STM8 I2C and SPI peripherals
STSW-STM8050 Real-time keeping on STM8S devices and usage of auto-wakeup unit (AWU) and beeper
STSW-STM8051 UART emulation software in STM8S microcontrollers
STSW-STM8052 STM8S high speed internal oscillator calibration
STSW-STM8053 STM8S family power management
STSW-STM8060 Using the STM8S-DISCOVERY GPIOs and interrupt controller to drive LEDs (AN3266)
STSW-STM8062 STM8S in-application programming (IAP) using a customized bootloader
STSW-STM8063 Interfacing an HD44780 2-Line LCD display with the STM8SVLDISCOVERY
STSW-STM8064 Setup screensaver STM8 1024x768
STSW-STM8065 Setup screensaver STM8 1280x1024
STSW-STM8068 Erase/write routines for STM8 ROM bootloader (UM0560)
STSW-STM8069 STM8S/A Standard peripheral library
STSW-STM8075 STM8 Class B firmware package variations (AN3181)
STSW-STM8076 Analog-to-digital converter on STM8L and STM8AL devices: description and precision improvement techniques
STVD ST Visual develop IDE for developing ST7 and STM8 applications
STVP ST Visual Programmer for programming ST7, STM8, STM8T and STM32
STX-RLINK In-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers

Publications and Collaterals

Brochure

Description Version Size
pdf
STM8 8-bit MCU family
1,865 KB

Sample & Buy

Top
Part Number Marketing StatusPackagePacking TypeOperating Temperature (min) Operating Temperature (max) Automotive GradeOrder From STUnit Price (US$)*
@
Distributor AvailabilityRoHS Compliance GradeDownload
Material Declaration**
STM8AF5179TBSSSXNRNDLQFP 64 10x10x1.4Tape And Reel-40125Yes-No data reported, please contact our DistributorsEcopack2-

(*) 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
(**) 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.
Feedback Form
Customer Feedback