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

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

技术特性
  • Core
    • Max fCPU: 24 MHz
    • Advanced STM8A core with Harvard architecture and 3-stage pipeline
    • Average 1.6 cycles/instruction resulting in 10 MIPS at 16 MHz fCPUfor industry standard benchmark
  • Memories
    • Program memory: 32 to 128 Kbytes Flash program; data retention 20 years at 55 °C
    • Data memory: up to 2 Kbytes true data EEPROM; endurance 300 kcycles
    • RAM: 2 Kbytes to 6 Kbytes
  • 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 37 external interrupts on 5 vectors
  • Timers
    • 2 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 synchronization
    • 8-bit AR basic timer with 8-bit prescaler
    • Auto-wakeup timer
    • Window and independent watchdog timers
  • I/Os
    • Up to 68 user pins (11 high sink I/Os)
    • Highly robust I/O design, immune against current injection
  • Communication interfaces
    • High speed 1 Mbit/s CAN 2.0B interface
    • USART with clock output for synchronous operation - LIN master mode
    • LINUART LIN 2.1 compliant, master/slave modes with automatic resynchronization
    • SPI interface up to 10 Mbit/s or fMASTER/2
    • I²C 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
功能框图
STM8AF6166 订购信息
订购型号 产品状态 美金价格 数量 封装 包装形式 温度范围 材料声明
STM8AF6166TCX NRND   1000 LQFP 32 7x7x1.4 Tape And Reel -40 °C-125 °C STM8AF6166TCX
STM8AF6166TAX NRND   1000 LQFP 32 7x7x1.4 Tape And Reel -40 °C-125 °C STM8AF6166TAX
STM8AF6166TAY NRND   1000 LQFP 32 7x7x1.4 Tray -40 °C-125 °C STM8AF6166TAY
DATASHEET
描述 版本 大小
STM8AF6166 : DS5697: Automotive 8-bit MCU, with up to 128 Kbytes Flash, data EEPROM, 10-bit ADC, timers, LIN, CAN, USART, SPI, I²C, 3 to 5.5 V 9 1618KB
APPLICATION NOTES
描述 版本 大小
AN3023: Using the analog-to-digital converter of the STM8A microcontroller 1 285KB
AN2781: UART emulation software in STM8S and STM8A microcontrollers 2 103KB
AN2822: STM8S and STM8A high speed internal oscillator calibration 2 197KB
AN2857: STM8S and STM8A family power management 3 271KB
AN3281: STM8 I²C optimized examples 1 225KB
AN2659: STM8 in-application programming (IAP) using a customized user-bootloader 3 236KB
AN3258: STM8A/S HSI oscillator calibration using LIN automatic resynchronization 1 176KB
AN2639: Soldering recommendations and package information for Lead-free ECOPACK® microcontrollers 2 209KB
AN1015: Software techniques for improving microcontroller EMC performance 1 105KB
AN2780: Real-time keeping on STM8S and STM8A devices and usage of auto-wakeup unit (AWU) and beeper 2 388KB
AN2719: Precision improvement techniques for the A/D converter of the STM8 microcontroller 2 239KB
AN2867: Oscillator design guide for STM8S, STM8A, and STM32F1 microcontrollers 6 280KB
AN3208: Microstepping motor drive with STM8A and STM8S microcontrollers 1 286KB
AN3181: Guidelines for obtaining IEC60335 Class B certification in an STM8 application 1 458KB
AN2869: Guidelines for designing touch sensing applications 6 980KB
AN2752: Getting started with the STM8S and STM8A 5 2224KB
AN2677: Getting started with the STM8A 3 2265KB
AN3288: g-Brake Lights: an adaptive rear lighting system based on the AIS326DQ inertial sensor and the STM8AF6166 MCU 2 1074KB
AN2860: STM8S 微控制器的 EMC 设计指导 2 261KB
AN2860: EMC guidelines for STM8 microcontrollers 4 215KB
AN1709: EMC design guide for ST microcontrollers 1 657KB
AN1181: Electrostatic discharge sensitivity measurement 1 59KB
ERRATA SHEETS
描述 版本 大小
ES0144: Device limitations for STM8AFxxxx automotive MCUs featuring up to 128 Kbytes of Flash program memory 3 164KB
LICENSE AGREEMENTS
描述 版本 大小
MCU software licence agreement liberty v2 2.0 18KB
MCU software licence agreement image v2 2.0 17KB
PROGRAMMING MANUALS
描述 版本 大小
PM0044: STM8 CPU programming manual 3 900KB
PM0051: How to program STM8S and STM8A Flash program memory and data EEPROM 3 193KB
REFERENCE MANUALS
描述 版本 大小
RM0016: STM8S and STM8A microcontroller families 8 4978KB
TECHNICAL NOTES
描述 版本 大小
TN0189: STM8 bootloader frequently asked questions 2 321KB
USER MANUALS
描述 版本 大小
UM0462: STM32™ and STM8™ Flash loader demonstrator 7 1673KB
UM0470: STM8 SWIM communication protocol and debug module 3 532KB
UM0560: STM8 bootloader 5 802KB
BOARDS AND TOOLS
Part Number 描述
STM-STUDIO STM Studio run-time variables monitoring and visualization tool
STVP ST Visual Programmer for programming ST7, STM8, STM8T and STM32
AD/Stice_Connect Connection Adapter 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
AS/Stice_Connect Adapter Socket for application board - to use with STICE-SYS00x emulation systems
ST-LINK/V2 ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32
STVD ST Visual develop IDE for developing ST7 and STM8 applications
STICE Full-featured emulator offers flexible, modular debugging and programming solution
STX-RLINK In-circuit debugger/programmer supporting JTAG and ICC protocols for STM8, ST7, uPSD, STM32, STR7 and STR9 microcontrollers
CF/Stice_Connect Connexion flex to use with STICE-SYS00x emulation systems
STM8A/128-EVAL Evaluation board for STM8A (128KB Flash) MCUs
FIRMWARE
描述 版本 大小
STM8S/A Standard peripheral library 2.0.0 10561KB
STM8S and STM8A BLDC and ACIM motor control firmware library V1.0 1.0 5568KB
STM8 and STM32 embedded software solutions 1.0.1 1139KB
SW DEMOS
描述 版本 大小
STM32 and STM8 Flash loader demonstrator 2.5.0 6449KB
MARKETING BROCHURES
描述 版本 大小
BRSTM800212 : STM8 product families 1.0.0 1565KB