Description
The AVR XMEGA is a family of low power, high performance, and peripheral rich 8/16-bit microcontrollers based on the AVR enhanced RISC architecture. By executing instructions in a single clock cycle, the AVR XMEGA devices achieve CPU throughput approaching one million instructions per second (MIPS) per megahertz, 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 32 registers are directly connected to the arithmetic logic unit (ALU), allowing two independent registers to be accessed in a 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 Tax devices have five software selectable power saving modes. The idle mode stops the CPU while allowing the SRAM, DMA controller, event system, interrupt controller, and all peripherals to continue functioning. The power-down mode saves the SRAM and register contents, but stops the oscillators, disabling all other functions until the next TWI, USB resume, or pin-change interrupt, or reset. In power-save mode, the asynchronous real-time counter continues to run, allowing the application to maintain a timer base while the rest of the device is sleeping. In standby mode, the external crystal oscillator keeps running while the rest of the device is sleeping. This allows very fast startup from the external crystal, combined with low power consumption. In extended standby mode, both the main oscillator and the asynchronous timer continue to run. To further reduce power consumption, the peripheral clock to each individual peripheral can optionally be stopped in active mode and idle sleep mode.
- High-performance, low-power ® AVR® XMEGA® 8/16-bit Microcontroller
- Nonvolatile program and data memories
- 128KB of in-system self-programmable flash
- 2KB EEPROM
- 8KB internal SRAM
- Peripheral Features
- Four-channel DMA controller
- Eight-channel event system
- Five 16-bit timer/counters
- Three timer/counters with 4 output compare or input capture channels
- Two timer/counters with 2 output compare or input capture channels
- High-resolution extensions on all timer/counters
- Advanced waveform extension (Awe) on one timer/counter
- One USB device interface
- USB 2.0 full speed (12Mbps) and low speed (1.5Mbps) device compliant
- 32 Endpoints with full configuration flexibility
- Five USARTs with IrDA support for one USART
- Two Two-wire interfaces with dual address match (I²C and SMBus compatible)
- Two serial peripheral interfaces (SPIs)
- AES and DES crypto engine
- CRC-16 (CRC-CCITT) and CRC-32 (IEEE® 802.3) generator
- 16-bit real time counter (RTC) with separate oscillator
- One twelve-channel, 12-bit, 2msps Analog to Digital Converter
- One two-channel, 12-bit, 1msps Digital to Analog 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
- 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 presale
- Programmable multilevel interrupt controller
- Five sleep modes
- Programming and debug interfaces
- PDI (program and debug interface)
- I/O and packages
- 34 Programmable I/O pins
- 44 – lead TQFP
- 44 – pad VQFN/QFN
- 49 – ball VFBGA
- Operating voltage
- 1.6 – 3.6V
- Operating frequency
- 0 – 12MH
- from 1.6V
- 0 – 32MH
- from 2.7V