STM8AF6248:Automotive 8-bit MCU with 16 Kbytes Flash, LIN, 16 MHz CPU, integrated EEPROM
The STM8AF6246, STM8AF6248, STM8AF6266 and STM8AF6268 automotive 8-bit microcontrollers offer from 16 to 32 Kbyte of Flash program memory and integrated true data EEPROM. They are referred to as medium density STM8A devices in STM8S series and STM8AF series 8-bit microcontrollers reference manual (RM0016).
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, watchdog, and brown-out reset.
Device performance is ensured by a clock frequency of up to 16 MHz CPU 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 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.
Key Features
- AEC-Q10x qualified
- Core
- Max fCPU
: 16 MHz
- Advanced STM8A core with Harvard architecture and 3-stage pipeline
- Average 1.6 cycles/instruction resulting in 10 MIPS at 16 MHz fCPU
for industry standard benchmark
- Memories
- Flash Program memory: 16 to 32 Kbyte Flash; data retention 20 years at 55 °C after 1 kcycle
- Data memory: 0.5 to 1 Kbyte true data EEPROM; endurance 300 kcycle
- RAM: 2 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 vectors
- Up to 34 external interrupts on 5 vectors
- Timers
- Up to 2 general purpose 16-bit PWM timers with up to 3 CAPCOM channels each (IC, OC or PWM)
- Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization
- 8-bit AR basic timer with 8-bit prescaler
- Auto-wakeup timer
- Window and independent watchdog timers
- 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 accuracy, 2LSB TUE accuracy, 2LSB TUE linearity ADC and up to 10 multiplexed channels with individual data buffer
- Analog watchdog, scan and continuous sampling mode
- I/Os
- Up to 38 user pins including 10 HS I/Os
- Highly robust I/O design, immune against current injection
- Operating temperature up to 150 °C
- Qualification conforms to AEC-Q100 rev G
Product Specifications
Application Notes
Technical Notes & Articles
Reference Manuals
Programming Manuals
Errata Sheets
Presentations
Flyers
Brochures
Product Certifications
Hardware Development Tools
Part Number | Manufacturer | Description |
---|
AD/Stice_Connect | ST | Connection Adapter to use with STICE-SYS00x emulation systems |
AS/Stice_Connect | ST | Adapter Socket for application board - to use with STICE-SYS00x emulation systems |
CF/Stice_Connect | ST | Connexion flex to use with STICE-SYS00x emulation systems |
ST-LINK | ST | In-circuit debugger and programmer for STM8 and STM32 MCUs; with IAR EWARM and Keil RVMDK and ST toolset |
ST-LINK/V2 | ST | ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 |
STICE | ST | Full-featured emulator offers flexible, modular debugging and programming solution |
STX-RLINK | Raisonance | In-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers |
Software Development Tools
Part Number | Manufacturer | Description |
---|
FLASHER-STM8 | ST | STM8 Flash loader demonstrator (UM0462) |
IAR-EWSTM8 | IAR | IAR Integrated development environment and optimizing C compiler for STM8 |
IDEA | Cosmic | Cosmic's toolchain for the STM8 family is part of a complete and uniform product line incorporating over 20 years of innovative design and development. Cosmic tools for STM8, 32K Special Edition limited to 32K bytes of code, one year free license available at Cosmic. |
RIDE-STM8 | Raisonance | Raisonance branded integrated development environment for STM8 MCUs |
STM-STUDIO-STM8 | ST | STM Studio run-time variables monitoring and visualization tool for STM8 microcontrollers |
STVD-STM8 | ST | ST Visual develop IDE for developing ST7 and STM8 applications |
STVP-LIB-STM8 | ST | STVP programming toolkit: C++ source files for creating PC programming interface |
STVP-STM8 | ST | ST Visual Programmer STM8 |
winIDEA-STM8 | iSYSTEM | iSYSTEM's complete software development and test solution for the STM8 MCUs |
MCUs Embedded Software
Part Number | Manufacturer | Description |
---|
STM8-SafeCLASSB | ST | Functional safety package to achieve IEC 60730 Class B certification with the STM8 |
STM8A-SafeASIL | Yogitech | Functional safety package to achieve ISO 26262 Automotive Safety Integrity Level (ASIL A or B) certification with STM8AF |
STM8S-TOUCH-LIB | | STM8S touch-sensing library |
STSW-STM8004 | ST | STM8 optimized I2C examples (AN3281) |
STSW-STM8006 | ST | Example of implementation of user bootloader (AN2659) |
STSW-STM8020 | ST | STM8S and STM8A BLDC and ACIM motor control firmware library V1.0 (UM0708) |
STSW-STM8045 | ST | Audio software codec for the STM8S |
STSW-STM8048 | ST | Precision improvement techniques for the A/D converter of the STM8 microcontroller (AN2719) |
STSW-STM8049 | ST | Basic in-application programming example using the STM8 I2C and SPI peripherals (AN2737) |
STSW-STM8050 | ST | Real-time keeping on STM8S devices and usage of auto-wakeup unit (AWU) and beeper (AN2780) |
STSW-STM8051 | ST | UART emulation software in STM8S and STM8A microcontrollers (AN2781) |
STSW-STM8062 | ST | STM8 in-application programming (IAP) using a customized bootloader (AN2659) |
STSW-STM8064 | ST | Setup screensaver STM8 1024x768 |
STSW-STM8065 | ST | Setup screensaver STM8 1280x1024 |
STSW-STM8068 | ST | Erase/write routines for STM8 ROM bootloader (UM0560) |
STSW-STM8069 | ST | STM8S/A Standard peripheral library |
STSW-STM8074 | ST | LIN communication with two STM8AF boards of STM8A-DISCOVERY (AN4178) |
STSW-STM8075 | ST | Guidelines for obtaining IEC 60335 Class B certification in an STM8 application (AN3181) |
STSW-STM8076 | ST | Analog-to-digital converter on STM8L and STM8AL devices: description and precision improvement techniques |
STSW-STM8077 | ST | STM8AF and STM8S HSI oscillator calibration using LIN automatic resynchronization (AN3258) |
STSW-STM8A-J2602 | ST | STM8A J2602 software package |
STSW-STM8A-LIN | ST | STM8A LIN 2.1 software package |
TAP-KNX-KAIStack | Tapko | KNX home automation for STM8 and STM32, from Tapko Technologies GMBH |
Product Evaluation Tools
Part Number | Manufacturer | Description |
---|
STM8A-DISCOVERY | ST | Discovery kit with STM8AF5288 and STM8AL3L68 MCUs |
STM8A/128-EVAL | ST | Evaluation board for STM8AF series - with STM8AF51AA/STM8AF52AA MCU |
Sample & Buy
Part Number | Package | Packing Type | Operating Temperature (°C) (min) | Operating Temperature (°C) (max) | Unit Price (US$)
* | Quantity | ECCN (EU) | ECCN (US) | Country of Origin |
---|
STM8AF6248TCY | LQFP 48 7x7x1.4 | Tray | -40 | 125 | 1.033 | 10000 | NEC | EAR99 | MALAYSIA |
STM8AF6248TCX | LQFP 48 7x7x1.4 | Tape And Reel | -40 | 125 | 1.033 | 10000 | NEC | EAR99 | MALAYSIA |
STM8AF6248TAY | LQFP 48 7x7x1.4 | Tray | -40 | 85 | 0.961 | 10000 | NEC | EAR99 | MALAYSIA |
STM8AF6248TDX | LQFP 48 7x7x1.4 | Tape And Reel | -40 | 150 | 1.105 | 10000 | NEC | EAR99 | MALAYSIA |
STM8AF6248TDY | LQFP 48 7x7x1.4 | Tray | -40 | 150 | 1.105 | 10000 | NEC | EAR99 | MALAYSIA |
Quality & Reliability