Описание
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 program and debug interface (PDI), a fast, two-pin interface for programming and debugging, is available. The XMEGA C4 devices have five software selectable power saving modes. The idle mode stops the CPU while allowing the SRAM, 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
- 16K – 32KB of In-System Self-Programmable Flash
- 4KB Boot Code with Independent Lock Bits
- 1KB EEPROM
- 2K – 4KB Internal SRAM
- Peripheral features
- Four-channel event system
- Four 16-bit timer/counters
- Three 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 (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
- Three USARTs with IrDA support for one USART
- Two two-wire interfaces with dual address match (I2 C 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
- 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 interface
- PDI (program and debug interface)
- I/O and packages
- 34 programmable I/O pins
- 44-lead TQFP
- 44-pad QFN
- 49-ball VFBGA
- Operating voltage
- 1.6
- 3.6V
- Operating frequency
- 0
- 12MHz from 1.6V
- 0
- 32MHz from 2.7V