ATtiny804/1604 AVR Microcontroller with Core Independent Peripherals and picoPower Technology Introduction The ATtiny804/1604 microcontrollers are using the high-performance, low-power AVR RISC architecture, and are capable of running at up to 20 MHz, with up to 8/16 KB Flash, 512/1024 bytes of SRAM, and 128/256 bytes of EEPROM in a 14-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: 8/16 KB In-system self-programmable Flash memory 128/256B EEPROM 512/1024B SRAM System: Power-on Reset (POR) Brown-out Detection (BOD) Internal and external clock options with: 16/20 MHz low-power internal RC oscillator 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 Standby Sleep mode: Configurable operation of selected peripherals SleepWalking peripherals Power-Down Sleep mode with limited wake-up functionality Datasheet Preliminary DS40002028A-page 1 2018 Microchip Technology Inc. ATtiny804/1604 Peripherals: 3-channel Event System One 16-bit Timer/Counter with Dedicated Period register and 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, Start-Of-Frame (SOF) detection, and Local Interconnect Network (LIN) support 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 Lookup Tables (LUT) One Analog Comparator (AC) with 150 ns propagation delay 10-bit 115ksps 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 Programmable Watchdog Timer (WDT) with separate on-chip oscillator External interrupt on all general purpose pins I/O and Packages: 14-pin 12 Programmable I/O lines SOIC150 Temperature Ranges: -40C to 105C operating range -40C to 125C temperature graded device options available Speed Grades: T max. 105C A 0-5 MHz 1.8V 5.5V 0-10 MHz 2.7V 5.5V 0-20 MHz 4.5V 5.5V DS40002028A-page 2 Datasheet Preliminary 2018 Microchip Technology Inc.