ATtiny202/402 AVR Microcontroller with Core Independent Peripherals and picoPower Technology Introduction The ATtiny202/402 microcontrollers are using the high-performance, low-power AVR RISC architecture, and are capable of running at up to 20 MHz, with up to 2/4 KB Flash, 128/256 bytes of SRAM, and 64/128 bytes of EEPROM in a 8-pin package. The series uses the latest technologies with a flexible and low-power architecture including Event System and SleepWalking, accurate analog features, and advanced peripherals. Features CPU: AVR 8-bit CPU Running at up to 20 MHz Single cycle I/O access Two-level interrupt controller Two-cycle hardware multiplier Memories: 2/4 KB In-system self-programmable Flash memory 64/128B EEPROM 128/256B SRAM Write/Erase Cycles: 10,000 Flash/100,000 EEPROM Data Retention: 20 Years at 85C System: Power-on Reset (POR) Brown-out Detection (BOD) Clock Options: 16/20 MHz Low-Power Internal RC Oscillator with: 3% Accuracy over full temperature and voltage range 2% Drift over limited temperature and 1.8 ... 3.6V voltage range 32.768 kHz Ultra Low-Power (ULP) Internal RC Oscillator with 10% Accuracy, 2% Calibration Step Size External Clock Input Single Pin Unified Program Debug Interface (UPDI) Three Sleep Modes: Idle with all peripherals running and mode for immediate wake-up time Datasheet Preliminary DS40001969A-page 1 2018 Microchip Technology Inc. ATtiny202/402 Standby Configurable operation of selected peripherals SleepWalking peripherals Power-down with wake-up functionality Peripherals: 3-channel Event System One 16-bit Timer/Counter Type A with Dedicated Period Register, Three Compare Channels (TCA) One 16-bit Timer/Counter Type B with Input Capture (TCB) One 16-bit Real-Time Counter (RTC) running from Internal RC Oscillator One USART with fractional Baud Rate Generator, Auto-baud, and Start-of-frame Detection Master/Slave Serial Peripheral Interface (SPI) Master/Slave TWI with Dual Address Match Standard mode (Sm, 100 kHz) Fast mode (Fm, 400 kHz) Fast mode Plus (Fm+, 1 MHz) Configurable Custom Logic (CCL) with Two Programmable Look-up Tables (LUT) Analog Comparator (AC) 10-bit 115 ksps Analog-to-Digital Converter (ADC) Five selectable internal voltage references: 0.55V, 1.1V, 1.5V, 2.5V, and 4.3V Automated CRC memory scan Watchdog Timer (WDT) with Window mode, with separate on-chip oscillator External interrupt on all general purpose pins I/O and Packages: 6 Programmable I/O lines 8-pin SOIC150 Temperature Ranges: -40C to 105C -40C to 125C Temperature graded device options available Speed Grades: 0-5 MHz 1.8V 5.5V 0-10 MHz 2.7V 5.5V 0-20 MHz 4.5V 5.5V DS40001969A-page 2 Datasheet Preliminary 2018 Microchip Technology Inc.