Atmel AVR XMEGA B1 8- and 16-bit Microcontroller
ATxmega128B1 / ATxmega64B1
Features
High-performance, low-power Atmel
®
AVR
®
XMEGA
®
8- and16-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
Three 16-bit timer/counters
Two timer/counters with four output compare or input capture channels
One timer/counter with two output compare or input capture channels
High resolution extensions one timer/counter
Advanced waveform extension (AWeX) on one timer/counter
Split mode on two timer/counters
One USB device interface
USB 2.0 full speed (12Mbps) and low speed (1.5Mbps) device compliant
32 endpoints with full configuration flexibility
Two USARTs with IrDA support for one USART
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 (LCD)
Up to 4x40 segment driver
Built in contrast control
ASCII character mapping
Flexible SWAP of segment and common terminals buses
Two eight-channel, 12-bit, three hundred thousand SPS Analog to Digital Converters
Four 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
53 Programmable I/O pins
100-lead TQFP, 100-ball VFBGA
Atmel-8330H-AVR-ATxmega64B1-128B1_datasheet–12/2014
Operating voltage
1.6 – 3.6V
Operating frequency
0 – 12MHz from 1.6V
0 – 32MHz from 2.7V
1.
Ordering Information
Flash
[Bytes]
EEPROM
[Bytes]
SRAM
[Bytes]
Speed
[MHz]
Power
supply
Package
(1)(2)(3)
100A
Temp.
Ordering Code
ATxmega128B1-AU
ATxmega128B1-AUR
(4)
-40C - 85C
ATxmega128B1-CU
128K + 8K
ATxmega128B1-CUR
(4)
ATxmega128B1-AN
100A
ATxmega128B1-ANR
(4)
ATxmega64B1-AU
100A
ATxmega64B1-AUR
(4)
-40C - 85C
ATxmega64B1-CU
64K + 4K
ATxmega64B1-CUR
(4)
ATxmega64B1-AN
100A
ATxmega64B1-ANR
(4)
Notes:
1.
2.
3.
4.
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
“Errata” on page 136.
Tape and Reel.
2K
8K
32
1.6 - 3.6V
7A1
-40C - 105C
2K
4K
32
1.6 - 3.6V
7A1
-40C - 105C
Package Type
100A
7A1
100-lead, 14 x 14mm body size, 1.0mm body thickness, 0.5mm lead pitch, thin profile plastic quad flat package (TQFP)
100-ball (10x10 array), 7 x 7 x 1.0mm body, ball pitch 0.65mm, very thin fine-pitch ball grid array (VFBGA)
XMEGA B1 [DATASHEET]
Atmel-8330H-AVR-ATxmega64B1-128B1_datasheet–AVR–12/2014
2
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 B1 [DATASHEET]
Atmel-8330H-AVR-ATxmega64B1-128B1_datasheet–12/2014
3
2.
Pinout/Block Diagram
Power
Ground
Digital function
Analog function / Oscillators
LCD
Programming, debug, test
External clock / Crystal pins
General Purpose I/O
Figure 2-1. Block Diagram and Pinout
AGND
COM3
COM2
COM1
77
AVCC
PR1
PR0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
78
99
98
97
96
95
94
93
92
81
80
91
90
89
88
87
86
85
84
VCC
PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
GND
VCC
PD0
PD1
PD2
PDI / RESET
PDI
GND
VCC
PE0
PE1
PE2
PE3
PE4
PE5
PE6
1
2
3
Port B
Port A
AC0:1
AREF
AREF
Port R
100
82
83
76
75
74
73
72
79
COM0
GND
CAPH
CAPL
VLCD
BIAS2
BIAS1
VCC
GND
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
SEG16
SEG17
4
JTAG
ADC
ADC
5
6
7
8
9
10
11
12
Port D
Port C
TC0:1
USART0
SPI
TWI
AC0:1
71
70
69
68
COM
Power
Supervision
Reset
Controller
Prog/Debug
Interface
DMA
Controller
CPU
BUS
Controller
SEG
EVENT ROUTING NETWORK
DATA BUS
OSC/CLK
Control
Real Time
Counter
Event System
Controller
USB
Watchdog
Timer
TC0
USART0
IRCOM
EEPROM
FLASH
SRAM
Crypto / CRC
TEMPREF
Watchdog
Oscillator
Sleep
Controller
OCD
67
66
65
LCD PWR
VREF
Interrupt
Controller
64
63
62
61
60
59
58
57
13
14
15
17
18
19
20
21
22
23
24
25
Port E
16
DATA BUS
SEG
Port G
Port M
LCD Controller
56
55
54
53
52
51
45
46
47
48
49
SEG19
27
26
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
GND
VCC
PM1 / SEG30
PE7
44
SEG23
SEG22
SEG21
PM5 / SEG26
PG4 / SEG35
PM0 / SEG31
PM2 / SEG29
PM3 / SEG28
PM4 / SEG27
PM6 / SEG25
PM7 / SEG24
SEG20
PG0 / SEG39
PG1 / SEG38
PG2 / SEG37
PG3 / SEG36
PG5 / SEG34
PG6 / SEG33
Note:
1.
For full details on pinout and alternate pin functions refer to
“Pinout and Pin Functions” on page 54.
PG7 / SEG32
XMEGA B1 [DATASHEET]
Atmel-8330H-AVR-ATxmega64B1-128B1_datasheet–AVR–12/2014
SEG18
50
4
Figure 2-2. VFBGA Pinout
Top view
1
A
B
C
D
E
F
G
H
J
K
2
3
4
5
6
7
8
9
10
10
9
8
Bottom view
7
6
5
4
3
2
1
A
B
C
D
E
F
G
H
J
K
Table 2-1.
VFBGA Pinout
1
2
VCC
GND
PC4
GND
PDI/
RESET
GND
PE1
PE6
PG0/
SEG39
VCC
3
PB6
PB7
PC1
PD0
PD1
PDI
PE3
PG1/
SEG38
PG3/
SEG36
PG2/
SEG37
4
PB2
PB4
PB5
PC2
PC6
PC7
PE0
PG4/
SEG35
PG6/
SEG33
PG5/
SEG34
5
AVCC
AGND
PA7
PB0
PB1
PB3
PE4
PG7/
SEG32
PM1/
SEG30
PM0/
SEG31
6
PA5
PA4
PA3
PA6
PA2
PM2/
SEG29
SEG23
PM5/
SEG26
PM4/
SEG27
PM3/
SEG28
7
PA1
PA0
COM3
SEG0
SEG1
SEG10
SEG15
SEG21
PM7/
SEG24
PM6/
SEG25
8
PR1
PR0
COM0
VLCD
SEG4
SEG7
SEG13
SEG18
SEG20
SEG22
9
COM2
COM1
BIAS2
GND
SEG3
SEG6
SEG9
SEG12
SEG16
SEG19
10
CAPH
CAPL
BIAS1
VCC
SEG2
SEG5
SEG8
SEG11
SEG14
SEG17
A
B
C
D
E
F
G
H
J
K
PC0
PC3
PC5
VCC
PD2
VCC
PE2
PE5
PE7
GND
XMEGA B1 [DATASHEET]
Atmel-8330H-AVR-ATxmega64B1-128B1_datasheet–12/2014
5