STM8AF6226 MCU Datasheet

STM8AF6226 Datasheet, PDF, Equivalent


Part Number

STM8AF6226

Description

Automotive 8-bit MCU

Manufacture

STMicroelectronics

Total Page 30 Pages
Datasheet
Download STM8AF6226 Datasheet


STM8AF6226
STM8AF6213/13A
STM8AF6223/23A STM8AF6226
Automotive 8-bit MCU, with up to 8-Kbyte Flash memory, data
EEPROM, 10-bit ADC, timers, LIN, SPI, I²C, 3 to 5.5 V
Datasheet - production data
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
TSSOP20 (6.4x4.4 mm) LQFP32 7x7 mm VFQFPN32 (5x5 mm)
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
I2C
interface
interface
up
up
to
to
8 Mbit/s or
400 Kbit/s
fMASTER/2
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
March 2019
This is information on a product in full production.
DS9884 Rev 8
1/112
www.st.com

STM8AF6226
Contents
Contents
STM8AF6213/13A/23/23A/26
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1 Central processing unit (CPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.1 Architecture and registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.2 Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1.3 Instruction set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 Single wire interface module (SWIM) and debug module (DM) . . . . . . . . 13
4.2.1 SWIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2.2 Debug module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3 Interrupt controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.4 Flash program and data EEPROM memory . . . . . . . . . . . . . . . . . . . . . . . 13
4.4.1 Write protection (WP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.4.2 Read-out protection (ROP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.5 Clock controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.5.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.6 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.7 Watchdog timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.8 Auto wakeup counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.9 Beeper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.10 TIM1 - 16-bit advanced control timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.11 TIM5 - 16-bit general purpose timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.12 TIM6 - 8-bit basic timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.13 Analog-to-digital converter (ADC1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.14 Communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.14.1 LINUART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.14.2 Serial peripheral interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.14.3 Inter integrated circuit (I2C) interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2/112
DS9884 Rev 8


Features STM8AF6213/13A STM8AF6223/23A STM8AF6226 Automotive 8-bit MCU, with up to 8-Kby te Flash memory, data EEPROM, 10-bit AD C, timers, LIN, SPI, I²C, 3 to 5.5 V D atasheet - production data Features AEC-Q100 qualified • Core – Max f CPU: 16 MHz – Advanced STM8A core wit h Harvard architecture and 3-stage pipe line – Extended instruction set • M emories – Program memory: 4 to 8 Kbyt e Flash program; data retention 20 year s at 55 °C after 1 kcycle – Data mem ory: 640 byte true data EEPROM; enduran ce 300 kcycle – RAM: 1 Kbyte • Cloc k management – Low-power crystal reso nator oscillator with external clock in put – Internal, user-trimmable 16 MHz RC and low-power 128 kHz RC oscillator s – Clock security system with clock monitor • Reset and supply management – Wait/auto-wakeup/Halt low-power mo des with user definable clock gating Low-consumption power-on and powerdow n reset • Interrupt management – Ne sted interrupt controller with 32 interrupts – Up to 28 external interrupts on 7 vectors • Timers – A.
Keywords STM8AF6226, datasheet, pdf, STMicroelectronics, Automotive, 8-bit, MCU, TM8AF6226, M8AF6226, 8AF6226, STM8AF622, STM8AF62, STM8AF6, Equivalent, stock, pinout, distributor, price, schematic, inventory, databook, Electronic, Components, Parameters, parts, cross reference, chip, Semiconductor, circuit, Electric, manual, substitute




@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)