Features

  • AVR® CPU
    • Running at up to 24 MHz
    • Single-cycle I/O access
    • Two-level interrupt controller
    • Two-cycle hardware multiplier
    • Supply voltage range: 1.8V to 5.5V
  • Memories
    • Up to 32 KB in-system self-programmable Flash memory
    • 256B EEPROM
    • Up to 4 KB SRAM
    • 32B of user row in nonvolatile memory that can keep data during chip erase and can be programmed while the device is locked
    • 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)
    • Clock options
      • High-precision internal high-frequency oscillator with selectable frequency up to 24 MHz (OSCHF)
        • Auto-tuning for improved internal oscillator accuracy
      • Internal PLL up to 48 MHz for high-frequency operation of Timer/Counter type D (PLL)
      • 32.768 kHz ultra-low power 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 PWM and waveform generation
    • Two 16-bit Timer/Counter type B (TCB) with input capture and signal measurements
    • One 12-bit PWM Timer/Counter type D (TCD) optimized for power control
    • One 16-bit Real-Time Counter (RTC) that can run from an external crystal or internal oscillator
    • Two USARTs
      • Operation modes: RS-485, LIN client, host SPI, 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 I2C compatible
      • Standard mode (Sm, 100 kHz)
      • Fast mode (Fm, 400 kHz)
      • Fast mode Plus (Fm+, 1 MHz) (1)
    • Event System for CPU independent and predictable inter-peripheral signaling
    • Configurable Custom Logic (CCL) with four programmable Look-up Tables (LUTs)
    • One 12-bit differential 130 ksps Analog-to-Digital Converter (ADC)
    • One 10-bit Digital-to-Analog Converter (DAC)
    • One Analog Comparator (AC)
    • One Zero-Cross Detector (ZCD)
    • Internal 1.024V, 2.048V, 2.500V and 4.096V voltage references, and external reference option (VREF)
  • I/O and Packages:
    • Multi-Voltage I/O (MVIO) on I/O port C
    • Selectable input voltage threshold
    • Up to 17/16 programmable I/O pins
    • 20-pin VQFN 3x3 mm
    • 20-pin SOIC
    • 14-pin SOIC
  • Temperature Ranges:
    • Industrial: -40°C to +85°C
    • Extended: -40°C to +125°C
Note:
  1. I2C Fm+ is only supported for 2.7V and above.