Features

  • High-Performance Low-Power AVR® CPU
    • Running at up to 20 MHz
    • Single-cycle I/O access
    • Two-level interrupt controller with vectored interrupts
    • Two-cycle hardware multiplier
    • Supply voltage range: 1.8V to 5.5V
  • Memories
    • 16 KB In-System self-programmable Flash memory
    • 2 KB SRAM
    • 256B EEPROM
    • 32B of user row in nonvolatile memory that can keep data during chip-erase and be programmed while the device is locked
    • 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 Detection (BOD)
    • Clock options
      • Lockable 20 MHz Low-Power internal oscillator
      • 32.768 kHz Ultra Low-Power (ULP) internal oscillator
      • 32.768 kHz external crystal oscillator
      • External clock input
    • Single-pin Unified Program and Debug Interface (UPDI)
    • Three sleep modes
      • Idle with all peripherals running and immediate wake-up time
      • 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 PWM channels
    • Two 16-bit Timer/Counter type B (TCB) with input capture and simple PWM functionality
    • One 16-bit Real-Time Counter (RTC) running from external 32.768 kHz crystal or internal 32.768 kHz ULP oscillator
    • Two Universal Synchronous Asynchronous Receiver Transmitter (USART) with fractional baud rate generator, auto-baud, and start-of-frame detection
    • Master/Slave Serial Peripheral Interface (SPI)
    • Master/Slave Two-Wire Interface (TWI) with dual address match
      • Standard mode (Sm, 100 kHz)
      • Fast mode (Fm, 400 kHz)
      • Fast mode plus (Fm+, 1 MHz)
    • Event System for CPU independent and predictable inter-peripheral signaling
    • Configurable Custom Logic (CCL) with four programmable Look-Up Tables (LUT)
    • One Analog Comparator (AC) with scalable reference input
    • One 12-bit differential 375 ksps Analog-to-Digital Converter (ADC) with Programmable Gain Amplifier (PGA) and up to 15 input channels
    • Multiple internal voltage references
      • 1.024V
      • 2.048V
      • 2.500V
      • 4.096V
      • VDD
    • Automated Cyclic Redundancy Check (CRC) flash memory scan
    • Watchdog Timer (WDT) with Window Mode, with a separate on-chip oscillator
    • External interrupt on all general purpose pins
  • I/O and Packages
    • Up to 22 programmable I/O pins
    • 14-pin
      • SOIC150
      • TSSOP
    • 20-pin
      • SOIC300
      • SSOP
      • VQFN 3x3 mm
    • 24-pin
      • VQFN 4x4 mm
  • Temperature Ranges
    • -40°C to 85°C (standard)
    • -40°C to 125°C (extended)
  • Speed Grades (-40°C to 85°C)
    • 0-5 MHz @ 1.8V – 5.5V
    • 0-10 MHz @ 2.7V – 5.5V
    • 0-20 MHz @ 4.5V – 5.5V
  • Speed Grades (-40°C to 125°C)
    • 0-8 MHz @ 2.7V - 5.5V
    • 0-16 MHz @ 4.5V - 5.5V