STM8AF51xx STM8AF6169 STM8AF617x
STM8AF618x STM8AF619x STM8AF61Ax
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
Features
■ Core
– Max f
: 24 MHz
CPU
LQFP48 7x7
LQFP32 7x7
– Advanced STM8A core with Harvard
architecture and 3-stage pipeline
– Average 1.6 cycles/instruction resulting in
LQFP80 14x14
LQFP64 10x10
10 MIPS at 16 MHz f
standard benchmark
for industry
CPU
■ Communication interfaces
■ Memories
– High speed 1 Mbit/s active CAN 2.0B
interface
– USART with clock output for synchronous
operation - LIN master mode
– 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
– LINUART LIN 2.1 compliant, master/slave
modes with automatic resynchronization
– RAM: 2 Kbytes to 6 Kbytes
■ Clock management
– SPI interface up to 10 Mbit/s or f
– I C interface up to 400 Kbit/s
/2
CPU
– 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
2
■ Analog to digital converter (ADC)
– 10-bit resolution, 2 LSB TUE, 1 LSB
linearity and up to 16 multiplexed channels
■ I/Os
■ Reset and supply management
– Multiple low-power modes (wait, slow, auto-
wakeup, halt) with user definable clock
gating
– Up to 72 user pins including 10 high sink
I/Os
– Highly robust I/O design, immune against
current injection
– Low consumption power-on and
power-down reset
(1)
Table 1.
Device summary
■ Interrupt management
Part numbers: STM8AF51xx (CAN)
– Nested interrupt controller with 32 interrupt
vectors
– Up to 37 external interrupts on 5 vectors
STM8AF51AA, STM8AF51A9, STM8AF51A8,
STM8AF519A, STM8AF5199, STM8AF5198,
STM8AF518A, STM8AF5189, STM8AF5188,
STM8AF5179, STM8AF5178, STM8AF5169, STM8AF5168
■ Timers
– 2 auto-reload 16-bit PWM timers with up to
3 CAPCOM channels each (IC, OC or
PWM)
– Multipurpose timer: 16-bit, 4 CAPCOM
channels, 3 complementary outputs, dead-
time insertion and flexible synchronization
– 8-bit AR system timer with 8-bit prescaler
– Auto-wakeup timer
Part numbers: STM8AF61xx
STM8AF61AA, STM8AF61A9, STM8AF61A8, STM8AF619A,
STM8AF6199, STM8AF6198, STM8AF618A, STM8AF6189,
STM8AF6188,
STM8AF6186, STM8AF6179, STM8AF6178,
STM8AF6176, STM8AF6169
1. This datasheet applies to product versions with and
without data EEPROM. In the order code, the letter ‘F’
applies to devices featuring Flash and data EEPROM.
‘F’ is replaced by ‘H’ for devices with Flash only, and
by ‘P’ for devices with FASTROM (see Table 2,
Table 3, and Figure 50).
– Window and standard watchdog timers
■ Operating temperature up to 145 °C
April 2010
Doc ID 14395 Rev 6
1/118
www.st.com
1