ATtiny406
tinyAVR
®
0-series
Introduction
The ATtiny406 is a member of the tinyAVR
®
0-series of microcontrollers, using the AVR
®
processor with
hardware multiplier, running at up to 20 MHz, with 4 KB Flash, 256 bytes of SRAM, and 128 bytes of
EEPROM in a 20-pin package. The tinyAVR
®
0-series uses the latest technologies with a flexible, low-
power architecture including Event System and SleepWalking, accurate analog features, and Core
Independent Peripherals.
Attention:  Automotive products are documented in separate data sheets.
Features
CPU:
AVR
®
CPU
Running at up to 20 MHz
Single-cycle I/O access
Two-level interrupt controller
Two-cycle hardware multiplier
Memories:
4 KB In-system self-programmable Flash memory
128B EEPROM
256B SRAM
Write/erase endurance:
Flash: 10,000 cycles
EEPROM: 100,000 cycles
Data retention: 40 years at 55°C
System:
Power-on Reset (POR)
Brown-out Detector (BOD)
Clock Options:
16/20 MHz low-power internal RC oscillator
32.768 kHz Ultra Low-Power (ULP) internal RC oscillator
External clock input
��� Single-pin Unified Program and Debug Interface (UPDI)
© 2019 Microchip Technology Inc.
Preliminary Datasheet
DS40001976B-page 1
Three sleep modes:
Idle with all peripherals running for immediate wake-up
Standby
Configurable operation of selected peripherals
SleepWalking peripherals
Power-Down with full data retention
Peripherals:
One 16-bit Timer/Counter Type A (TCA) with a dedicated period register and three compare
channels
One 16-bit Timer/Counter Type B (TCB) with input capture
One 16-bit Real-Time Counter (RTC) running from internal RC oscillator
Watchdog Timer (WDT) with Window mode, with a separate on-chip oscillator
One USART with fractional baud rate generator, auto-baud, and start-of-frame detection
One master/slave Serial Peripheral Interface (SPI)
One Two-Wire Interface (TWI) with dual address match
Philips I
2
C compatible
Standard mode (Sm, 100 kHz)
Fast mode (Fm, 400 kHz)
Fast mode plus (Fm+, 1 MHz)
One Analog Comparator (AC) with a low propagation delay
One 10-bit 115 ksps Analog-to-Digital Converter (ADC)
Multiple voltage references (VREF):
0.55V
1.1V
1.5V
2.5V
4.3V
Event System (EVSYS) for CPU independent and predictable inter-peripheral signaling
Configurable Custom Logic (CCL) with two programmable look-up tables
Automated CRC memory scan (CRCSCAN)
External interrupt on all general purpose pins
I/O and Packages:
18 programmable I/O lines
20-pin VQFN 3x3 mm and SOIC300
Temperature Ranges:
-40°C to 105°C
-40°C to 125°C
Speed Grades:
0-5 MHz @ 1.8V – 5.5V
0-10 MHz @ 2.7V – 5.5V
0-20 MHz @ 4.5V – 5.5V
ATtiny406
© 2019 Microchip Technology Inc.
Preliminary Datasheet
DS40001976B-page 2