Description
The Microchip AVR XMEGAA4 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 A4 achieves throughputs approaching 1 Million Instructions Per Second (MIPS) per MH–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 A4 devices provide the following features: In-System Programmable Flash with Read-While-Write capabilities, Internal EEPROM and SRAM, four-channel DMA Controller, eight-channel Event System, Programmable Multi-level Interrupt Controller, 34 general purpose I/O lines, 16-bit Real Time Counter (RTC), five flexible 16-bit Timer/Counters with compare modes and PWM, five USARTs, two Two Wire Serial Interfaces (TWIs), two Serial Peripheral Interfaces (SPIs), AES and DES crypto engine, one Twelve-channel, 12-bit ADC with optional differential input with programmable gain, one Two-channel 12-bit DAC, 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. The Program and Debug Interface (PDI), a fast 2-pin interface for programming and debugging, is available.
- High-performance, low-power Atmel® AVR® XMEGA® 8/16-bit Microcontroller
- Nonvolatile program and data memories
- 32K – 384KBytes of in-system self-programmable flash
- 4K – 8KBytes boot section
- 1K – 4KBytes EEPROM
- 4K – 32KBytes internal SRAM
- Peripheral features
- Four-channel event system
- Five 16-bit timer/counters
- Four timer/counters with four output compare or input capture channels
- One timer/counter with two output compare or input capture channels
- High resolution extension on two timer/counters
- Advanced waveform extension (AWeX) on one timer/counter
- Three USARTs with IrDA support for one USART
- Two two-wire interfaces with dual address match (I2C and SMBus compatible)
- Two serial peripheral interfaces (SPIs)
- CRC-16 (CRC-CCITT) and CRC-32 (IEEE®802.3) generator
- 16-bit real time counter (RTC) with separate oscillator
- One sixteen-channel, 12-bit, 300ksps Analog to Digital Converter
- Two Analog Comparators with window compare function, and current sources
- External interrupts on all general purpose I/O pins
- Programmable watchdog timer with separate on-chip ultra low power oscillator
- Atmel QTouch® library support
- Capacitive touch buttons, sliders and wheels
- Special microcontroller features
- Power-on reset and programmable brown-out detection
- Internal and external clock options with PLL and prescaler
- Programmable multilevel interrupt controller
- Five sleep modes
- Programming and debug interface
- PDI (program and debug interface)
- I/O and packages
- 50 programmable I/O pins
- 64-lead TQFP
- 64-pad QFN
- Operating voltage
- 1.6 – 3.6V
- Operating frequency
- 0 – 12MHz from 1.6V
- 0 – 32MHz from 2.7V