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