Описание
The Microchip 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 AVR XMEGA A4U 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 and programmable multilevel interrupt controller, 34 general purpose I/O lines, 16-bit real-time counter (RTC); five flexible, 16-bit timer/counters with compare and PWM channels; five USARTs; two two-wire serial interfaces (TWIs); one full speed USB 2.0 interface; two serial peripheral interfaces (SPIs); AES and DES cryptographic engine; one twelvechannel, 12-bit ADC with programmable gain; one 2-channel 12-bit DAC; two analog comparators (ACs) 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, two-pin interface for programming and debugging, is available.
- High-performance, low-power Atmel® AVR® XMEGA® 8/16-bit Microcontroller
- Nonvolatile program and data memories
- 16K – 128KB of in-system self-programmable flash
- 4K – 8KB boot section
- 1K – 2KB EEPROM
- 2K – 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 (AWeX) 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 (I2C 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 prescaler
- 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