8/16-bit Atmel XMEGA Microcontroller
ATxmega128A4U / ATxmega64A4U /
ATxmega32A4U / ATxmega16A4U
Features
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 (I
2
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 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 – 12MHz from 1.6V
0 – 32MHz from 2.7V
Atmel-8387H-AVR-ATxmega16A4U-34A4U-64A4U-128A4U-Datasheet_09/2014
Ordering code
ATxmega128A4U-AN
ATxmega128A4U-ANR
(4)
ATxmega64A4U-AN
ATxmega64A4U-ANR
(4)
ATxmega32A4U-AN
ATxmega32A4U-ANR
(4)
ATxmega16A4U-AN
ATxmega16A4U-ANR
(4)
ATxmega128A4U-M7
ATxmega128A4U-M7R
(4)
ATxmega64A4U-M7
ATxmega64A4U-M7R
(4)
ATxmega32A4U-M7
ATxmega32A4U-M7R
(4)
ATxmega16A4U-M7
ATxmega16A4U-M7R
(4)
Notes:
1.
2.
3.
4.
Flash (bytes)
128K + 8K
128K + 8K
64K + 4K
64K + 4K
32K + 4K
32K + 4K
16K + 4K
16K + 4K
128K + 8K
128K + 8K
64K + 4K
64K + 4K
32K + 4K
32K + 4K
16K + 4K
16K + 4K
EEPROM (bytes)
2K
2K
2K
2K
1K
1K
1K
1K
2K
2K
2K
2K
1K
1K
1K
1K
SRAM (bytes)
8K
8K
4K
4K
Speed (MHz)
Power supply
Package
(1)(2)(3)
Temp.
44A
4K
4K
2K
2K
32
8K
8K
PW
4K
4K
4K
4K
44M1
2K
2K
1.6 - 3.6V
0°C - 105°C
This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information.
Pb-free packaging, complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green.
For packaging information, see
“Instruction Set Summary” on page 63.
Tape and Reel
Package Type
44A
44M1
PW
49C2
44-Lead, 10 x 10mm body size, 1.0mm body thickness, 0.8mm lead pitch, thin profile plastic quad flat package (TQFP)
44-Pad, 7x7x1mm body, lead pitch 0.50mm, 5.20mm exposed pad, thermally enhanced plastic very thin quad no lead package (VQFN)
44-Pad, 7x7x1mm body, lead pitch 0.50mm, 5.20mm exposed pad, thermally enhanced plastic very thin quad no lead package (VQFN)
49-Ball (7 x 7 Array), 0.65mm Pitch, 5.0 x 5.0 x 1.0mm, very thin, fine-pitch ball grid array package (VFBGA)
Typical Applications
Industrial control
Factory automation
Building control
Board control
White goods
Climate control
RF and ZigBee
®
USB connectivity
Sensor control
Optical
Low power battery applications
Power tools
HVAC
Utility metering
Medical applications
XMEGA A4U [DATASHEET]
Atmel-8387H-AVR-ATxmega16A4U-34A4U-64A4U-128A4U-Datasheet_09/2014
3
2.
Pinout/Block Diagram
Figure 2-1. Block Diagram and QFN/TQFP pinout
Digital function
Analog function / Oscillators
RESET/PDI
35
Power
Ground
Programming, debug, test
External clock / Crystal pins
General Purpose I /O
AVCC
GND
PA4
PA3
PA2
PA1
PA0
PR1
PR0
44
43
42
41
40
39
38
37
36
Port R
XOSC
TOSC
DATA BUS
OSC/CLK
Control
Internal
oscillators
Real Time
Counter
Crypto /
CRC
Watchdog
Watchdog
Timer
OCD
Power
Supervision
Reset
Controller
Prog/Debug
Interface
BUS
matrix
CPU
DMA
Controller
34
33
32
31
30
29
28
27
PA5
PA6
PA7
PB0
PB1
PB2
PB3
GND
VCC
PC0
PC1
1
2
Port A
AREF
ADC
AC0:1
Event System
Controller
Interrupt
Controller
Internal
references
Sleep
Controller
PDI
PE3
PE2
VCC
GND
PE1
PE0
PD7
PD6
PD5
PD4
PD3
3
4
5
6
7
8
9
Port B
AREF
DAC
FLASH
EEPROM
SRAM
26
25
DATA BUS
EVENT ROUTING NETWORK
USART0:1
USART0:1
USART0
10
IRCOM
TC0:1
24
TWI
TC0:1
USB
TC0
TWI
SPI
SPI
11
23
Port C
Port D
Port E
12
13
14
15
16
17
18
19
20
21
PD1
PD0
GND
Note:
1.
For full details on pinout and pin functions refer to
“Pinout and Pin Functions” on page 55.
VCC
XMEGA A4U [DATASHEET]
Atmel-8387H-AVR-ATxmega16A4U-34A4U-64A4U-128A4U-Datasheet_09/2014
PD2
PC2
PC3
PC4
PC5
PC6
PC7
22
4