8/16-bit Atmel XMEGA C4 Microcontroller
ATxmega32C4
ATxmega16C4
DATASHEET
Feature
High-performance, low-power Atmel
®
AVR
®
XMEGA
®
8/16-bit Microcontroller
Nonvolatile program and data memories
16K - 32KB of In-System Self-Programmable Flash
4KB Boot Code Section 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 (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
Three 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)
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 prescaler
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
Atmel-8493I-AVR-ATxmega16C4-32C4-Datasheet–12/2014
1.
Ordering Information
Flash
[bytes]
32K + 4K
32K + 4K
16K + 4K
16K + 4K
32K + 4K
32K + 4K
16K + 4K
16K + 4K
32K + 4K
32K + 4K
16K + 4K
16K + 4K
32K + 4K
32K + 4K
16K + 4K
16K + 4K
32K + 4K
32K + 4K
16K + 4K
16K + 4K
EEPROM
[bytes]
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
1K
SRAM
[bytes]
4K
4K
44A
2K
2K
4K
4K
PW
-40 - 85
2K
2K
4K
4K
32
1.6 - 3.6
7P
2K
2K
4K
4K
44A
2K
2K
-40 - 105
4K
4K
PW
2K
2K
Speed
[MHz]
Power supply
[V]
Package
(1)(2)(3)
Ordering code
ATxmega32C4-AU
ATxmega32C4-AUR
(4)
ATxmega16C4-AU
ATxmega16C4-AUR
(4)
ATxmega32C4-MH
ATxmega32C4-MHR
(4)
ATxmega16C4-MH
ATxmega16C4-MHR
(4)
ATxmega32C4-CU
ATxmega32C4-CUR
(4)
ATxmega16C4-CU
ATxmega16C4-CUR
(4)
ATxmega32C4-AN
ATxmega32C4-ANR
(4)
ATxmega16C4-AN
ATxmega16C4-ANR
(4)
ATxmega32C4-M7
ATxmega32C4-M7R
(4)
ATxmega16C4-M7
ATxmega16C4-M7R
(4)
Notes:
1.
2.
3.
4.
Temp.
[°C]
This device can also be supplied in wafer form. 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
“Packaging Information” on page 62.
Tape and Reel.
XMEGA C4 [DATASHEET]
Atmel-8493I-AVR-ATxmega16C4-32C4-Datasheet–12/2014
2
Package Type
44A
PW
7P
44-lead, 10x10mm body size, 1.0mm body thickness, 0.8mm lead pitch, thin profile plastic quad flat package (TQFP)
44-lead, 0.50mm pitch, 7x7x1.0mm body size, very thin quad flat package (punched) (VQFN)
49-ball (7 x 7 Array), 0.65mm pitch, 5x5x1.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 C4 [DATASHEET]
Atmel-8493I-AVR-ATxmega16C4-32C4-Datasheet–12/2014
3
2.
Pinout/Block Diagram
Figure 2-1. Block Diagram and Pinout
Power
Ground
Digital function
Analog function /Oscillators
Programming, debug, test
External clock /Crystal pins
General Purpose I /O
RESET_PDI
35
AVCC
GND
PA4
PA3
PA2
PA1
PA0
PR1
PR0
44
43
42
41
40
39
38
37
36
Port R
34
PDI
PA5
PA6
PA7
PB0
PB1
PB2
PB3
GND
VCC
PC0
PC1
1
2
Port A
XOSC
TOSC
DATA BUS
33
Internal
oscillators
Real Time
Counter
CRC
Watchdog
Watchdog
Timer
OCD
Power
Supervision
Reset
Controller
Prog/Debug
Interface
BUS
matrix
CPU
SRAM
PE3
PE2
VCC
GND
PE1
PE0
PD7
PD6
PD5
PD4
PD3
3
4
5
OSC/CLK
Control
AREF
ADC
AC0:1
Event System
Controller
Port B
32
31
30
29
28
27
26
25
Sleep
Controller
6
7
8
9
AREF
Interrupt
Controller
Internal
references
FLASH
EEPROM
DATA BUS
EVENT ROUTING NETWORK
USART0:1
USART0
IRCOM
TC0:1
USB
TC0
TWI
11
12
13
14
TC0
TWI
10
24
23
SPI
Port C
Port D
SPI
Port E
15
16
17
18
19
20
21
PD1
GND
PC2
PC3
PC4
PC5
PC6
PC7
PD0
Notes:
1.
2.
For full details on pinout and alternate pin functions refer to
“Pinout and Pin Functions” on page 51.
The large center pad underneath the QFN/MLF package should be soldered to ground on the board to ensure good mechanical stability.
VCC
XMEGA C4 [DATASHEET]
Atmel-8493I-AVR-ATxmega16C4-32C4-Datasheet–12/2014
PD2
22
4