ATXMEGA256A3BU-MH - 256KB Flash 32MHz AVR XMEGA MCU | Microchip
N.º da peça: ATXMEGA256A3BU-MH ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $9.43 | $9,43 |
| 10 | $8.85 | $88,50 |
| 100 | $7.9 | $790,00 |
| 500 | $7.1 | $3.550,00 |
| 1.000 | $6.55 | $6.550,00 |
ATXMEGA256A3BU-MH Visão geral
An AVR XMEGA microcontroller is a member of Microchip's 8/16-bit RISC MCU family that extends the classic AVR core with a wider 16-bit instruction path, hardware DMA, an event system for peripheral-to-peripheral signaling without CPU intervention, and rich analog peripherals. XMEGA parts sit between the 8-bit ATmega family and 32-bit ARM Cortex-M parts, making them well suited to mixed-signal embedded designs that need deterministic I/O timing and low active power.
Key features of the ATXMEGA256A3BU include 256 KB Flash with an 8 KB boot code section, 16 KB SRAM, 4 KB EEPROM, 34 programmable I/O lines, dual 12-bit ADC, two 12-bit DAC channels, multiple USART/SPI/TWI interfaces, AES/DES crypto engine, and an RTC subsystem with VBAT pin (PF5) that keeps the 32-bit RTC running during main-battery loss. The 32 MHz peak core speed with a single-cycle 16-bit ALU delivers roughly 32 MIPS throughput while consuming only a few mA in active mode.
The A3BU silicon uses Microchip's picoPower technology with multiple sleep modes down to sub-microamp standby, plus an event system that lets peripherals trigger each other so the CPU can stay asleep longer. The Battery Backup System preserves RTC state across main-power failures by switching the RTC supply onto VBAT, which is a key feature absent from the otherwise similar ATxmega256A3U.
Typical applications include industrial sensor hubs, smart metering, building automation, low-power wireless sensor nodes paired with an external radio, motor control, USB device/embedded hosts, and battery-backed data loggers. The 32-bit RTC plus VBAT makes it a strong fit for any design that must keep wall-clock time through power cycles.
When designing with this MCU, route VBAT through a backup supercap or coin cell, decouple the main VCC with 100 nF plus 4.7 µF bulk caps adjacent to each supply pin, and reserve a dedicated 6-pin PDI header for in-system programming because the QFN package cannot be socketed on most production boards.
This page synthesizes distributor stock and pricing, drop-in same-package alternatives, and practical design notes not found in the manufacturer datasheet.
Alternativas drop-in para ATXMEGA256A3BU-MH — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com ATXMEGA256A3BU-MH (mesmo formato e footprint) — diferindo em Operating Temperature, Package, EEPROM, SRAM, ADC.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
ATXMEGA256A3BU-MHR
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATXMEGA128A3BU-MH
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATXMEGA64A3BU-MH
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATXMEGA192A3BU-MH
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATXMEGA128A4U-AUR
✅ Drop-In✓ Em estoque
$5.45 / unidade
Ver ficha técnica →ATXMEGA256A3BU-MH Classificações máximas e características elétricas
| Core Architecture | AVR XMEGA (8/16-bit RISC) |
| Family | AVR XMEGA A3BU |
| Program Memory (Flash) | 256 KB (128K x16) |
| Boot Code Section | 8 KB |
| SRAM | 16 KB |
| EEPROM | 4 KB |
| Maximum CPU Speed | 32 MHz |
| Supply Voltage (VCC) | 2.7 V to 3.6 V |
| I/O Pins | 34 |
| ADC | Dual 12-bit, up to 2 Msps |
| DAC | 2 x 12-bit |
| DMA Channels | 4 |
| Event System Channels | 8 |
| RTC | 32-bit RTC with Battery Backup (VBAT) |
| Crypto Engine | AES / DES |
| Encapsulamento | 64-pin QFN (9x9 mm), 0.5 mm pitch |
| Temperatura de operação | -40 C to +85 C (industrial) |
| Tipo de montagem | Surface Mount |
| RoHS | Compliant |
| Programming/Debug | PDI (Programming and Debug Interface) |
Configuração de pinos do ATXMEGA256A3BU-MH
| Pino 1 | VCC — Digital supply voltage (2.7 V to 3.6 V) |
| Pino 2 | GND — Ground |
| Pino 3 | AVCC — Analog supply voltage |
| Pino 4 | PA0 — Port A bit 0 / ADC0 channel 0 |
| Pino 5 | PA1 — Port A bit 1 / ADC0 channel 1 |
| Pino 6 | PA2 — Port A bit 2 / ADC0 channel 2 |
| Pino 7 | PA3 — Port A bit 3 / ADC0 channel 3 |
| Pino 8 | PA4 — Port A bit 4 / ADC1 channel 0 |
| Pino 9 | PA5 — Port A bit 5 / ADC1 channel 1 |
| Pino 10 | PA6 — Port A bit 6 / ADC1 channel 2 |
| Pino 11 | PA7 — Port A bit 7 / ADC1 channel 3 |
| Pino 12 | GND — Ground |
| Pino 13 | PB0 — Port B bit 0 |
| Pino 14 | PB1 — Port B bit 1 |
| Pino 15 | PB2 — Port B bit 2 |
| Pino 16 | PB3 — Port B bit 3 |
| Pino 17 | PB4 — Port B bit 4 |
| Pino 18 | PB5 — Port B bit 5 |
| Pino 19 | PB6 — Port B bit 6 |
| Pino 20 | PB7 — Port B bit 7 |
| Pino 21 | VCC — Digital supply voltage |
| Pino 22 | GND — Ground |
| Pino 23 | PC0 — Port C bit 0 |
| Pino 24 | PC1 — Port C bit 1 |
| Pino 25 | PC2 — Port C bit 2 |
| Pino 26 | PC3 — Port C bit 3 |
| Pino 27 | PC4 — Port C bit 4 |
| Pino 28 | PC5 — Port C bit 5 |
| Pino 29 | PC6 — Port C bit 6 |
| Pino 30 | PC7 — Port C bit 7 |
| Pino 31 | VCC — Digital supply voltage |
| Pino 32 | GND — Ground |
| Pino 33 | PD0 — Port D bit 0 |
| Pino 34 | PD1 — Port D bit 1 |
| Pino 35 | PD2 — Port D bit 2 |
| Pino 36 | PD3 — Port D bit 3 |
| Pino 37 | PD4 — Port D bit 4 |
| Pino 38 | PD5 — Port D bit 5 |
| Pino 39 | PD6 — Port D bit 6 |
| Pino 40 | PD7 — Port D bit 7 |
| Pino 41 | VCC — Digital supply voltage |
| Pino 42 | GND — Ground |
| Pino 43 | PE0 — Port E bit 0 |
| Pino 44 | PE1 — Port E bit 1 |
| Pino 45 | PE2 — Port E bit 2 |
| Pino 46 | PE3 — Port E bit 3 |
| Pino 47 | PE4 — Port E bit 4 |
| Pino 48 | PE5 — Port E bit 5 |
| Pino 49 | TOSC1 — 32.768 kHz crystal oscillator input (RTC) |
| Pino 50 | TOSC2 — 32.768 kHz crystal oscillator output (RTC) |
| Pino 51 | VCC — Digital supply voltage |
| Pino 52 | GND — Ground |
| Pino 53 | PF0 — Port F bit 0 |
| Pino 54 | PF1 — Port F bit 1 |
| Pino 55 | PF2 — Port F bit 2 / TDI |
| Pino 56 | PF3 — Port F bit 3 / TDO |
| Pino 57 | PF4 — Port F bit 4 / TMS |
| Pino 58 | VBAT — RTC Battery Backup supply input |
| Pino 59 | PDI_CLK — PDI programming/debug clock |
| Pino 60 | PDI_DATA — PDI programming/debug data |
| Pino 61 | /RESET — Reset input (active low) |
| Pino 62 | VCC — Digital supply voltage |
| Pino 63 | GND — Ground |
| Pino 64 | GND — Ground (exposed pad must be soldered to ground plane) |
Aplicações típicas
ATXMEGA256A3BU-MH é adequado para 6 aplicaçãos: Battery-Backed Industrial Data Logger, Smart Metering and Energy Monitoring, Building Automation HVAC Controller, Low-Power Wireless Sensor Node, USB Embedded Host / Device Peripheral, Motor Control and BLDC Driver Front-End.
Battery-Backed Industrial Data Logger
The ATXMEGA256A3BU-MH fits battery-backed industrial data loggers because it integrates a 32-bit Real-Time Counter plus a dedicated VBAT pin (PF5) that retains accurate timestamps across main-power loss, removing the need for an external RTC chip. Its 256 KB Flash stores weeks of buffered sensor samples while 16 KB SRAM holds active records, and the 4 KB EEPROM logs non-volatile configuration and audit trails. Placed as the main MCU with a 32.768 kHz crystal on TOSC1/TOSC2 and a supercap/coin cell on VBAT, it timestamps each Modbus or analog sample at 1-second resolution. Unlike an external RTC + MCU pair, the integrated VBAT switchover saves BOM cost and I/O pins while keeping standby current below 1 µA.
Recomendado
Smart Metering and Energy Monitoring
The ATXMEGA256A3BU-MH suits smart electricity, water, and gas meters because its dual 12-bit ADC simultaneously samples voltage and current channels at up to 2 Msps, and the AES crypto engine secures DLMS/COSEM or wireless M-Bus payloads. The 8-channel event system lets timer-triggered ADC conversions run without CPU intervention, so the core stays asleep between samples. With 256 KB Flash it can hold an entire DLMS/COSEM object dictionary plus firmware-upgrade slots; 16 KB SRAM buffers meter readings before transmitting. The 32-bit RTC keeps tariff time zones and TOU schedules accurate across power outages via VBAT. Compared with a discrete ADC + 8-bit MCU architecture, this integrated approach cuts PCB area and BOM by ~30%.
Recomendado
Building Automation HVAC Controller
The ATXMEGA256A3BU-MH drives building-automation HVAC controllers because its 34 programmable I/Os handle multiple 24 V triac outputs (via opto-isolators) and NTC/PTC thermistor inputs through the dual 12-bit ADC. The event system routes timer events directly to PWM and ADC peripherals, keeping the CPU idle most of the time and reducing average active current below 5 mA. With 256 KB Flash it runs BACnet MS-TP or Modbus RTU stacks plus PID loop code; the AES engine secures KNX/IP or BACnet/SC traffic. The 32-bit RTC with VBAT preserves schedules and trend logs during brownouts. Compared to ARM Cortex-M0 alternatives, the AVR XMEGA gives better deterministic interrupt latency for safety-critical fan and damper control.
Recomendado
Low-Power Wireless Sensor Node
The ATXMEGA256A3BU-MH acts as the host MCU for low-power wireless sensor nodes (LoRa, Zigbee, sub-GHz proprietary) because its picoPower sleep modes drop below 1 µA while the event system wakes it on RTC, ADC, or external interrupts. Its 256 KB Flash hosts the radio stack plus application code, and the 4 KB EEPROM stores network credentials and calibration data. The 32-bit RTC plus VBAT keeps node timestamps accurate across battery swaps. Driving a SX1276 LoRa transceiver via SPI, the MCU spends most of its life in Power-Save mode, waking only to sample sensors and transmit. Compared with bare ATmega328P designs, the XMEGA's DMA and event system reduce active time by ~40%, extending battery life in coin-cell nodes.
Recomendado
USB Embedded Host / Device Peripheral
The ATXMEGA256A3BU-MH serves USB embedded host or device peripherals because it integrates a full-speed USB 2.0 controller with on-chip transceiver and 256 KB Flash to hold CDC, HID, MSD, or vendor class stacks. The 16 KB SRAM is sufficient for USB descriptors plus HID report buffers, and the 12-bit DAC generates analogue audio for USB speakers/headsets. The 32-bit RTC timestamps USB log entries during host enumeration failures, and VBAT keeps USB enumeration tokens alive through plug glitches. Compared to ATmega32U2 designs, the XMEGA's 8-channel event system provides deterministic USB SOF timing without CPU load. This makes it ideal for industrial USB instruments, custom HID controllers, and USB mass-storage bridges.
Recomendado
Motor Control and BLDC Driver Front-End
The ATXMEGA256A3BU-MH drives BLDC and stepper motors because its 16-bit PWM timers and event system generate centre-aligned PWM at up to 32 MHz with hardware dead-time insertion, while the dual 12-bit ADC simultaneously samples phase currents and back-EMF. The 256 KB Flash holds sensorless or encoder-based FOC algorithms; the AES engine secures factory calibration tables. Compared with an STM32 + gate-driver stack, the AVR XMEGA's deterministic interrupt latency and single-cycle 16-bit ALU simplify the commutation loop. The 32-bit RTC logs motor run hours and fault timestamps even when the main DC bus drops. This makes the MCU a strong fit for pumps, fans, e-bike controllers, and small industrial servos requiring predictable real-time control.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para ATXMEGA256A3BU-MH — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | ATXMEGA256A3BU-MHR | ATXMEGA128A3BU-MH | ATXMEGA64A3BU-MH | ATXMEGA192A3BU-MH | ATXMEGA128A4U-AUR |
|---|---|---|---|---|---|---|
| Package | 64-pin QFN (9x9 mm) | 64-pin QFN (9x9 mm) - same | 64-pin QFN (9x9 mm) - same | 64-pin QFN (9x9 mm) - same | 64-pin QFN (9x9 mm) - same | 64-pin QFN (9x9 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash | 256 KB | 256 KB | 128 KB (-50%) | 64 KB (-75%) | 192 KB (-25%) | 128 KB (-50%) |
| SRAM | 16 KB | 16 KB | 8 KB | 4 KB | 16 KB | 8 KB |
| Maximum Clock | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| Supply Voltage | 2.7 V to 3.6 V | 2.7 V to 3.6 V | 2.7 V to 3.6 V | 2.7 V to 3.6 V | 2.7 V to 3.6 V | 2.7 V to 3.6 V |
| VBAT / 32-bit RTC | Yes | Yes | Yes | Yes | Yes | No (A4U family lacks VBAT) |
| USB | Yes (Full-Speed) | Yes (Full-Speed) | Yes (Full-Speed) | Yes (Full-Speed) | Yes (Full-Speed) | Yes (Full-Speed, USB 2.0 FS) |
| Param Match (%) | 100 | 100 | 80 | 70 | 90 | 70 |
Principais diferenciais
- Only A3BU family member with 256 KB Flash plus 32-bit RTC VBAT backup in 64-pin QFN (vs ATXMEGA128A3BU-MH)
- Larger SRAM than smaller A3BU siblings (vs ATXMEGA64A3BU-MH)
- Battery Backup System unavailable on A4U family (vs ATXMEGA128A4U-AUR)
Notas de projeto
Place a 100 nF ceramic decoupling capacitor within 3 mm of every VCC pin and a single 4.7 µF bulk cap on the main 3.3 V rail. The VBAT pin (PF5) requires its own 100 nF cap plus a series resistor per the Microchip ATxmega256A3BU datasheet, and should be tied to a coin cell or supercap that can sustain the 32-bit RTC through main-battery removal. Estimated: a typical CR2032 supplies ~1 µA RTC load for >5 years.
The 64-pin QFN exposed thermal pad (pin 64) must be soldered to a continuous ground pour with at least 8 thermal vias (0.3 mm drill, 0.5 mm pitch) stitching to the inner ground plane. Without this, junction temperature can rise 20-30 C above ambient at full 32 MHz CPU load, reducing long-term reliability. Also reserve a 2x3 (or 1x6) 0.1 inch header footprint for the PDI programming/debug interface, since QFN cannot be socketed for production programming.
Do not exceed 3.6 V on VCC or AVCC; the MCU has no 5 V tolerance on any GPIO. When migrating from ATxmega256A3U to A3BU code, remove USART/SPI peripheral initialization on PE6/PE7 because the A3BU reuses these pins for TOSC2/TOSC1 (32.768 kHz RTC crystal), per Microchip support article Differences-between-ATxmega256A3U-and-ATxmega256A3BU-devices. Bootloader entry must use the PDI command sequence, not the legacy ISP.
Route the 32.768 kHz crystal traces on TOSC1/TOSC2 with short, symmetric traces (<5 mm) and guard them with a ground ring; place load capacitors (typically 12 pF) within 2 mm of each pin. Long, asymmetric traces cause RTC drift of several seconds per day. The PDI clock and data lines should be length-matched and routed away from switching nodes (PWM, USB D+/D-) to avoid programming glitches.
Informações de conformidade
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified (industrial-grade only); for automotive designs use a Microchip ATSAM automotive part. Halogen-free and lead-free packaging confirmed by Microchip material declarations.