Features
•
High-performance, low-power Atmel
®
AVR
®
XMEGA
®
8/16-bit Microcontroller
•
Nonvolatile program and data memories
– 64K - 128KBytes of in-system self-programmable flash
– 4K - 8KBytes boot section
– 2KBytes EEPROM
– 4K - 8KBytes internal SRAM
Peripheral Features
– Two-channel DMA controller
– Four-channel event system
– Two 16-bit timer/counters
One timer/counter with 4 output compare or input capture channels
One timer/counter with 2 output compare or input capture channels
High resolution extensions one timer/counter
Advanced waveform extension (AWeX) on timer/counter
Split mode on
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
– One USART with IrDA support
– AES and DES crypto engine
– CRC-16 (CRC-CCITT) and CRC-32 (IEEE 802.3) generator
– One two-wire interface with dual address match (I
2
C and SMBus compatible)
– One serial peripheral interface (SPI)
– 16-bit Real Time Counter (RTC) with separate oscillator
– Liquid Crystal Display
4x25 segment driver
Built in contrast control
ASCII character mappingGra
Flexible SWAP of segment and common terminals buses
– One eight-channel, 12-bit, 300 thousand SPS Analog to Digital Converter
– Two Analog Comparators with window compare function, and current source feature
– 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
– Programmable multilevel interrupt controller
– Five sleep modes
– Programming and debug interfaces
JTAG (IEEE 1149.1 Compliant) interface, including boundary scan
PDI (Program and Debug Interface)
I/O and Packages
– 36 Programmable I/O pins
– 64 - lead TQFP
– 64 - pad QFN
Operating Voltage
– 1.6 – 3.6V
Operating frequency
– 0 – 12MHz from 1.6V
–
0 – 32MHz from 2.7V
•
8/16-bit Atmel
XMEGA B3
Microcontroller
ATxmega128B3
ATxmega64B3
•
•
•
•
8074B–AVR–02/12
XMEGA B3
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
1. Ordering Information
Ordering Code
ATxmega128B3-AU
ATxmega64B3-AU
ATxmega128B3-MH
ATxmega64B3-MH
Notes:
1.
2.
3.
Flash (Bytes) EEPROM (Bytes) SRAM (Bytes)
128K + 8K
64K + 4K
128K + 8K
64K + 4K
2K
2K
2K
2K
8K
4K
8K
4K
Speed (MHz)
Power Supply
Package
(1)(2)(3)
64A
Temp
32
1.6 - 3.6V
64M2
-40°C - 85°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
”Errata” on page 130
Package Type
64A
64M2
64-lead, 14 x 14mm Body Size, 1.0mm Body Thickness, 0.5mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP)
64-Pad, 9x9x1.0mm Body, Lead Pitch 0.05mm, 7.65mm Exposed Pad, Quad Flat No-Lead Package (QFN)
2
8074B–AVR–02/12
XMEGA B3
3. Overview
The Atmel
®
AVR
®
XMEGA
®
B3 microcontroller is a family of low-power, high-performance, and
peripheral-rich CMOS 8/16-bit microcontrollers based on the AVR enhanced RISC architecture.
By executing instructions in a single clock cycle, the Atmel AVR XMEGA B3 device achieves
throughputs CPU approaching one million instructions per second (MIPS) per megahertz, allow-
ing 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 reg-
isters 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 conven-
tional single-accumulator or CISC based microcontrollers.
The Atmel AVR XMEGA B3 devices provide the following features: in-system programmable
flash with read-while-write capabilities; internal EEPROM and SRAM; two-channel DMA
controller, four-channel event system and programmable multilevel interrupt controller,
36 general purpose I/O lines, real-time counter (RTC); Liquid Crystal Display (LCD) supporting
4x25 segment driver, ASCII character mapping and built-in contrast control (LCD); two flexible,
16-bit timer/counters with compare and PWM channels; one USART; one two-wire serial
interface (TWI); one full speed USB 2.0 interface; one serial peripheral interface (SPI); AES and
DES cryptographic engine; one 8-channel 12-bit ADCs with programmable gain; 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 debug-
ging, is available. The devices also have an IEEE std. 1149.1 compliant JTAG interface, and this
can also be used for on-chip debug and programming.
The XMEGA B3 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, USB resume,
or pin-change interrupt, or reset. In power-save mode, the asynchronous real-time counter con-
tinues to run, allowing the application to maintain a timer base while the rest of the device is
sleeping. In power-save mode, the LCD controller is allowed to refresh data to the panel. In
standby mode, the external crystal oscillator keeps running while the rest of the device is sleep-
ing. 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, and the LCD controller is allowed to refresh data to the panel. To further reduce
power consumption, the peripheral clock to each individual peripheral can optionally be stopped
in active mode and idle sleep mode.
Atmel offers a free QTouch
®
library for embedding capacitive touch buttons, sliders and wheels
functionality into AVR microcontrollers.
The devices are manufactured using Atmel high-density, nonvolatile memory technology. The
program flash memory can be reprogrammed in-system through the PDI or JTAG interfaces. A
boot loader running in the device can use any interface to download the application program to
the flash memory. The boot loader 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
4
8074B–AVR–02/12