The XMEGA A4 is a family of low power, high performance and peripheral rich CMOS 8/16-bit
microcontrollers based on the AVRenhanced RISC architecture. By executing powerful
instructions in a single clock cycle, the XMEGA A4 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 A4 devices provides 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, 36 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.
The XMEGA A4 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 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 Crystal/Resonator Oscillator is kept running while the rest of the device is
sleeping. This allows very fast start-up from 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 in Idle sleep mode.
The device is manufactured using Atmel's high-density nonvolatile memory technology. The program
Flash memory can be reprogrammed in-system through the PDI. A Bootloader running in
the device can use any interface to download the application program to the Flash memory. The
Bootloader software in the Boot Flash section will continue to run while the Application Flash
section is updated, providing true Read-While-Write operation. By combining an 8/16-bit RISC
CPU with In-System Self-Programmable Flash, the Atmel XMEGA A4 is a powerful microcontroller
family that provides a highly flexible and cost effective solution for many embedded
applications.
The XMEGA A4 devices is supported with a full suite of program and system development tools
including: C compilers, macro assemblers, program debugger/simulators, programmers, and
evaluation kits.
Ordering Code | Flash (B) | E2 (B) | SRAM (B) | Speed (MHz) | Power Supply | Package | Temp |
ATxmega16A4-AU | 16K + 4K | 1K | 2K | 32 | 1.6 - 3.6V | 44A | -40° - 85°C |
ATxmega16A4-MU | 16K + 4K | 1K | 2K | 32 | 1.6 - 3.6V | 44M1 | -40° - 85°C |