Features

  • AVR® CPU
    • Running at up to 24 MHz
    • Single-cycle I/O access
    • Two-level interrupt controller
    • Two-cycle hardware multiplier
    • Program and Debug Interface Disable (PDID)
    • Supply voltage range: 1.8-5.5V
  • Memories
    • 16/32/64 KB in-system self-programmable Flash memory with a genuine read-while-write operation
    • 2/4/8 KB SRAM
    • 256B EEPROM
    • 512B of user row in nonvolatile memory that can keep data during chip erase and be programmed while the device is locked
    • 256B of boot row
    • Write/erase endurance
      • Flash 1,000 cycles
      • EEPROM 100,000 cycles
    • Data retention: 40 years at 55°C
  • System
    • Power-on Reset (POR) circuit
    • Brown-out Detector (BOD)
    • Voltage Level Monitor (VLM) with interrupt at a programmable level above the BOD
    • Clock options
      • High-precision internal high-frequency oscillator with selectable frequency up to 24 MHz (OSCHF)
        • Auto-tuning for improved internal oscillator accuracy
      • 32.768 kHz internal oscillator (OSC32K)
      • 32.768 kHz external crystal oscillator (XOSC32K)
      • External clock input
      • External high-frequency crystal oscillator (XOSCHF) with clock failure detection
    • Single-pin Unified Program and Debug Interface (UPDI)
    • Three sleep modes
      • Idle with all peripherals running for immediate wake-up
      • Standby with a configurable operation of selected peripherals
      • Power-Down with full data retention
    • 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
  • Peripherals
    • One 16-bit Timer/Counter type A (TCA) with three compare channels for Pulse-Width Modulation (PWM) and waveform generation
    • Two 16-bit Timer/Counter type B (TCB) with input capture and signal measurements
    • One 16-bit Real-Time Counter (RTC) that can run from an external crystal or internal oscillator
    • One USB 2.0 full-speed (12 Mbps) device-compliant interface(1)
      • Optional internal 3.3V voltage regulator
      • OSCHF oscillator can be tuned to the USB Start-of-Frames (SOFs) for crystal-less operation
      • 16 endpoint addresses each, with one input and one output endpoint for up to 32 endpoints
      • Multipacket transfer for reduced interrupt load and software intervention
    • Two USARTs
      • Operation modes: RS-485, LIN client, SPI host, and IrDA
      • Fractional baud rate generator, auto-baud, and start-of-frame detection
    • One SPI with host/client operation modes
    • One Two-Wire Interface (TWI) with dual address match
      • Simultaneous host/client operation (dual mode)
      • Philips Inter-Integrated Circuit (I2C) compatible
      • Standard mode (Sm, 100 kHz)
      • Fast mode (Fm, 400 kHz)
      • Fast mode plus (Fm+, 1 MHz)(2)
    • Event System for CPU independent and predictable inter-peripheral signaling
    • Configurable Custom Logic (CCL) with four programmable Look-up Tables (LUTs)
    • One 10-bit 170 ksps Analog-to-Digital Converter (ADC)
    • One Analog Comparator (AC)
    • Internal 1.024V, 2.048V, 2.500V and 4.096V voltage references and external reference option (VREF)
  • I/O and Packages:
    • Up to 25 (24) programmable GPIO (I/O) pins
    • 32-pin VQFN 5x5 mm and TQFP 7x7 mm
    • 28-pin VQFN 4x4 mm, SPDIP and SSOP
    • 20-pin VQFN 3x3 mm and SSOP
    • 14-pin SOIC
  • Temperature Ranges:
    • Industrial: -40°C to +85°C
Note:
  1. USB function is only available for VDD above 3.0V.
  2. I2C Fm+ is only supported for 2.7V and above.