The Atmel® AVR® XMEGA® D4 is a family of low power, high performance and peripheral rich CMOS 8/16-bit microcontrollers based on the AVR® enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the XMEGA D4 achieves throughputs approaching 1 Million Instructions Per Second (MIPS) per MHz allowing the system designer to optimize power consumption versus processing speed.
The AVR CPU combines a rich instruction set with 32 general purpose working registers. All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing two independent registers to be accessed in one single instruction, executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs many times faster than conventional single-accumulator or CISC based microcontrollers.
The XMEGA D4 devices provide the following features: In-System Programmable Flash with Read-While-Write capabilities, Internal EEPROM and SRAM, four-channel Event System, Programmable Multi-level Interrupt Controller, 34 general purpose I/O lines, 16-bit Real Time Counter (RTC), four flexible 16-bit Timer/Counters with compare modes and PWM, two USARTs, two Two-Wire Interfaces (TWIs), two Serial Peripheral Interfaces (SPIs), one Twelvechannel 12-bit ADC with optional differential input with programmable gain, two analog comparators with window mode, programmable Watchdog Timer with separate Internal Oscillator, accurate internal oscillators with PLL and prescaler and programmable Brown-Out Detection.
Non-volatile Program and Data Memories
[1] 16 KB - 128 KB of In-System Self-Programmable Flash
[2] 4 KB - 8 KB Boot Code Section with Independent Lock Bits
[3] 1 KB - 2 KB EEPROM
[4] 2 KB - 8 KB Internal SRAM
Peripheral Features
[1] Four-channel Event System
[2] Four 16-bit Timer/Counters
[3] Two USARTs
[4] Two Two-Wire Interfaces with dual address match (I2C and SMBus compatible)
[5] Two SPIs (Serial Peripheral Interfaces) peripherals
[6] 16-bit Real Time Counter with Separate Oscillator
[7] One Twelve-channel, 12-bit, 200 ksps Analog to Digital Converter
[8] Two Analog Comparators with Window compare function
[9] External Interrupts on all General Purpose I/O pins
[10] Programmable Watchdog Timer with Separate On-chip Ultra Low Power Oscillator
Special Microcontroller Features
[1] Power-on Reset and Programmable Brown-out Detection
[2] Internal and External Clock Options with PLL
[3] Programmable Multi-level Interrupt Controller
[4] Sleep Modes: Idle, Power-down, Standby, Power-save, Extended Standby
[5] Advanced Programming, Test and Debugging Interface PDI (Program and Debug Interface) for programming, test and debugging
I/O and Packages
[1] 34 Programmable I/O Lines
[2] 44-lead TQFP
[3] 44-pad VQFN/QFN
[4] 49-ball VFBGA
Operating Voltage:1.6 – 3.6V
Speed performance
[1] 12 MHz @ 1.6 – 3.6V
[2] 32 MHz @ 2.7 – 3.6V