Microchip Technology

ATMEGA164PA-AU - 8-bit AVR MCU, 16KB Flash, 20MHz | Microchip

MPN: ATMEGA164PA-AU βœ“ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 44-TQFP (10x10 mm) Package 20 MHz Speed 16 KB (8K x 16) ISP FLASH Memory
From $2.75 USD / Unit
MOQ: 1 |
Price updated: 2026-09-15
Volume Pricing
Qty Unit Price Extended
1 $3.79 $3.79
10 $3.55 $35.50
100 $3.2 $320.00
500 $2.95 $1,475.00
1,000 $2.75 $2,750.00
ℹ️ All prices are in USD

ATMEGA164PA-AU Overview

The Microchip ATMEGA164PA-AU is a picoPower 8-bit AVR RISC microcontroller with 16 KB ISP FLASH memory, 512 B EEPROM, 1 KB SRAM, and up to 20 MIPS throughput at 20 MHz, housed in a 44-pin TQFP (10x10 mm) package.

A microcontroller unit (MCU) is a single integrated circuit that combines a processor core, memory, and programmable peripherals, forming the lowest tier of the embedded computing hierarchy (embedded ICs -> microcontrollers -> 8-bit MCUs). The AVR family, originally developed by Atmel and now part of Microchip Technology, uses a Harvard architecture with single-cycle instruction execution, making 8-bit AVRs a benchmark for efficient, deterministic embedded control.

Key features of the ATMEGA164PA-AU include 32 general purpose I/O lines, three flexible 16/8-bit timer/counters with compare modes and PWM, two USARTs, a byte-oriented Two-Wire Interface (TWI/I2C), an 8-channel 10-bit ADC, and picoPower technology for sub-uA sleep currents. The device operates from 1.8V to 5.5V across the full 20 MHz frequency range.

Technically, the AVR core executes 131 powerful instructions, most in a single clock cycle, with 32 general purpose working registers directly connected to the ALU. An on-chip 2-cycle hardware multiplier accelerates DSP-style math. Self-programmable ISP FLASH with read-while-write support enables in-field firmware updates without an external programmer.

Typical applications include industrial control and sensing nodes, consumer appliances, battery-powered metering, and hobby/educational platforms compatible with the Arduino ecosystem.

Design consideration: choose the internal 8 MHz RC oscillator for cost-sensitive designs and reserve the external 20 MHz crystal for timing-critical UART or precision ADC work; always decouple AVCC separately from VCC for best ADC accuracy.

This page synthesizes distributor pricing, verified drop-in alternatives, and practical design notes not found in the manufacturer datasheet.

Drop-in alternatives for ATMEGA164PA-AU β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with ATMEGA164PA-AU (same form factor and footprint) β€” differing in Package, Supply Voltage Range, ADC, EEPROM, SRAM.

Microchip Technology
Package: 44-pin TQFP (10x10 mm)
ADC: 8-channel, 10-bit successive approximation
EEPROM: 4 KB
Compare with ATMEGA164PA-AU β†’
Microchip Technology
Package: 44-TQFP (10 x 10 mm)
Supply Voltage Range: 2.7 V to 5.5 V (4.5 V to 5.5 V for 16 MHz operation)
Compare with ATMEGA164PA-AU β†’
Microchip Technology
Package: 44-TQFP (10 x 10 mm)
Supply Voltage Range: 2.5 V to 5.5 V
Compare with ATMEGA164PA-AU β†’

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

ATMEGA164A-AU

βœ… Drop-In
πŸ“¦ TQFP-44
same 16KB FLASH and 20 MHz on same TQFP-44 footprint, but lacks picoPower (higher sleep current); pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

ATMEGA324PA-AU

βœ… Drop-In
πŸ“¦ TQFP-44
FLASH 32KB vs 16KB (+100%), SRAM 2KB vs 1KB (+100%), EEPROM 1KB vs 512B; identical pinout and peripherals

πŸ“‹ Reference alternative (not in catalog)

ATMEGA644PA-AU

βœ… Drop-In
πŸ“¦ TQFP-44
FLASH 64KB vs 16KB, SRAM 4KB vs 1KB; pin-compatible upgrade within same megaAVR family footprint

πŸ“‹ Reference alternative (not in catalog)

ATMEGA1284P-AU

βœ… Drop-In
πŸ“¦ TQFP-44
FLASH 128KB vs 16KB (8x), SRAM 16KB vs 1KB (16x); same package, pin-compatible, higher cost

πŸ“‹ Reference alternative (not in catalog)

ATMEGA1284-AUR

βœ… Drop-In
Microchip Technology
πŸ“¦ TQFP-44
8-bit AVR RISC Β· 128 KB ISP Flash (64K x 16) Β· 16 KB Β· 4 KB Β· 20 MHz Β· Up to 20 MIPS at 20 MHz Β· 1.8 V to 5.5 V Β· 2.7 V to 5.5 V

βœ“ In Stock

$4.61 / Unit

View Datasheet β†’

ATMEGA164PA-AU Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit AVR RISC
Flash Memory 16 KB (8K x 16) ISP FLASH
EEPROM 512 B
SRAM 1 KB
Maximum Clock Frequency 20 MHz
Throughput Up to 20 MIPS at 20 MHz
Supply Voltage Range 1.8 V to 5.5 V
Number of I/O Lines 32
ADC 8-channel, 10-bit
Timers/Counters 3 (two 8-bit, one 16-bit) with PWM
USART 2
TWI (I2C) Yes, byte-oriented
SPI Yes
Instructions 131, most single-cycle
Hardware Multiplier On-chip 2-cycle multiplier
Package 44-TQFP (10x10 mm)
Mounting Type Surface Mount
Low Power Technology picoPower
RoHS Status Compliant (green package)

ATMEGA164PA-AU Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 PB5 β€” Port B5 / T1 / OC1A / PCINT13
Pin 2 PB4 β€” Port B4 / OC0A / PCINT12
Pin 3 PB3 β€” Port B3 / ADC0 / OC2A / PCINT11
Pin 4 PB2 β€” Port B2 / OC1B / INT2 / PCINT10
Pin 5 PB1 β€” Port B1 / T1 / CLKO / PCINT9
Pin 6 PB0 β€” Port B0 / XCK0 / T0 / PCINT8
Pin 7 VCC β€” Digital supply voltage
Pin 8 GND β€” Ground
Pin 9 PB6 β€” Port B6 / OC1B / PCINT14
Pin 10 PB7 β€” Port B7 / OC2B / OC0A / PCINT15
Pin 11 PD7 β€” Port D7 / OC2B / TO0 / PCINT31
Pin 12 PD6 β€” Port D6 / ICP1 / PCINT30
Pin 13 PD5 β€” Port D5 / OC1A / PCINT29
Pin 14 PD4 β€” Port D4 / XCK1 / TO1 / PCINT28
Pin 15 PD3 β€” Port D3 / INT1 / PCINT27
Pin 16 PD2 β€” Port D2 / INT0 / PCINT26
Pin 17 PD1 β€” Port D1 / TXD0 / PCINT25
Pin 18 PD0 β€” Port D0 / RXD0 / PCINT24
Pin 19 XTAL2 β€” Inverting oscillator output
Pin 20 XTAL1 β€” Inverting oscillator input / external clock
Pin 21 PC7 β€” Port C7 / TOSC2 / PCINT23
Pin 22 PC6 β€” Port C6 / TOSC1 / PCINT22
Pin 23 PC5 β€” Port C5 / TDI / PCINT21
Pin 24 PC4 β€” Port C4 / TDO / PCINT20
Pin 25 PC3 β€” Port C3 / TMS / PCINT19
Pin 26 PC2 β€” Port C2 / TCK / PCINT18
Pin 27 PC1 β€” Port C1 / SDA / PCINT17
Pin 28 PC0 β€” Port C0 / SCL / PCINT16
Pin 29 PA7 β€” Port A7 / ADC7 / SCK / PCINT7
Pin 30 PA6 β€” Port A6 / ADC6 / MISO / PCINT6
Pin 31 PA5 β€” Port A5 / ADC5 / MOSI / PCINT5
Pin 32 PA4 β€” Port A4 / ADC4 / PCINT4
Pin 33 PA3 β€” Port A3 / ADC3 / PCINT3
Pin 34 PA2 β€” Port A2 / ADC2 / PCINT2
Pin 35 PA1 β€” Port A1 / ADC1 / PCINT1
Pin 36 PA0 β€” Port A0 / ADC0 / PCINT0
Pin 37 AREF β€” Analog reference for ADC
Pin 38 GND β€” Ground
Pin 39 AVCC β€” Analog supply for ADC (decouple separately)
Pin 40 VCC β€” Digital supply voltage
Pin 41 NC β€” Not connected (per datasheet)
Pin 42 NC β€” Not connected (per datasheet)
Pin 43 NC β€” Not connected (per datasheet)
Pin 44 NC β€” Not connected (per datasheet)

Typical Applications

ATMEGA164PA-AU is suitable for 6 applications: Industrial Control and Automation, Battery-Powered Metering and Sensing, Consumer Appliances, Arduino-Compatible Hobby and Education, Sensor Gateways and IoT Edge Nodes, Motor Control and PWM Actuation.

🏭

Industrial Control and Automation

The ATMEGA164PA-AU fits industrial control nodes that need deterministic 8-bit control, multiple UART links, and robust I/O. Its two USARTs allow simultaneous Modbus RTU communication and local diagnostics, while the 8-channel 10-bit ADC digitizes up to eight analog sensor inputs such as 4-20 mA conditioning outputs. Operating from 1.8V to 5.5V and tolerant of 20 MHz full-speed operation, it interfaces cleanly with 5V industrial logic and 3.3V co-processors alike. The three timers with PWM drive actuators and heater control loops; the on-chip 2-cycle hardware multiplier supports scaling math without a floating-point library. Wide availability across 12 distributors makes it a dependable choice for long-lived industrial BOMs.

πŸ”‹

Battery-Powered Metering and Sensing

picoPower technology is the decisive parameter for battery-powered metering: the ATMEGA164PA-AU achieves sub-uA sleep currents in power-save mode while retaining an asynchronous real-time counter for timekeeping, waking periodically to sample meters via the 10-bit ADC. The 1.8V floor allows operation directly from two alkaline cells or a lithium thionyl chloride cell through end-of-discharge, eliminating a boost converter and its quiescent draw. EEPROM storage retains calibration and tariff data through battery replacement cycles, with 100k write endurance. Designers typically clock the device from the internal 8 MHz RC during active bursts, then drop to a 32.768 kHz crystal on TOSC1/TOSC2 for timed wake-up, maximizing energy-per-measurement.

πŸ“±

Consumer Appliances

In consumer appliances - coffee machines, fans, small heaters, dishwasher panels - the ATMEGA164PA-AU provides touch-button scanning, display driving, and motor PWM control in one low-cost 44-pin device. The 32 GPIO lines drive segment LCDs through external drivers or direct LED matrices, while three timers generate multiple independent PWM channels for blower and pump speed control. A 10-bit ADC reads NTC thermistors and user potentiometers. Its 20 MIPS core executes PID temperature loops with margin to spare, and the hardware TWI interfaces to humidity or pressure sensors. The TQFP-44 package handles the reflow profiles of high-volume consumer assembly and carries RoHS-compliant green packaging for global regulatory acceptance.

🧩

Arduino-Compatible Hobby and Education

The ATMEGA164PA-AU is a popular choice in the Arduino ecosystem through the MightyCore board support package, giving makers 44 pins - roughly double the I/O of an ATmega328P Uno - with familiar AVR programming in the Arduino IDE. The dual USARTs let one port drive a USB-serial bridge while the second talks to GPS or Bluetooth modules. Eight ADC channels and hardware PWM suit robotics and sensor-gateway builds. Because it ships blank, hobbyists burn the Optiboot-style bootloader with a USBasp or an Arduino-as-ISP; thereafter uploads run over serial. Its 16 KB FLASH accommodates typical sketches, and the pin-compatible 324PA/644PA/1284P family offers a free upgrade path when projects outgrow the memory.

🌐

Sensor Gateways and IoT Edge Nodes

For wired IoT edge nodes that do not need an RF SoC, the ATMEGA164PA-AU aggregates sensors over TWI (I2C) and SPI and forwards data on one or both USARTs to a cellular or Ethernet modem. The picoPower sleep modes keep duty-cycled nodes within tight energy budgets, while 1 KB SRAM handles framed sensor packets and a lightweight ring buffer. The 10-bit ADC supports on-board supply and temperature monitoring; an external precision ADC can be attached via SPI when 10 bits are insufficient. Designers value the wide 1.8V-5.5V operating range, which lets the MCU track a collapsing battery and negotiate with 3.3V modems without level shifters when run from a common rail.

πŸ”§

Motor Control and PWM Actuation

The ATMEGA164PA-AU drives small DC motors, fans, and RC-style servos using its three timers with compare-mode PWM outputs distributed across Port B and Port D. Hardware PWM keeps jitter off the CPU, letting the 20 MIPS core run PID loops, encoder decoding on external interrupts INT0/INT1, and communication concurrently. The 2-cycle hardware multiplier accelerates the fixed-point arithmetic typical of motor control. A 10-bit ADC samples current shunts and back-EMF for sensorless speed estimation. Operating to 5.5V allows direct gate-drive logic for low-side MOSFET drivers from a 5V rail, and the 44-pin TQFP leaves enough GPIO for limit switches, enable lines, and a debugging UART simultaneously.

Recommended Products Summary

ATMEGA324PA-AU Pin-compatible upgrade with 32KB FLASH for larger control firmware Used in: Industrial Control and Automation, Consumer Appliances, Motor Control and PWM Actuation MCP2551 CAN transceiver for industrial fieldbus front ends Used in: Industrial Control and Automation ATMEGA164A-MU Microchip Technology Used in: Battery-Powered Metering and Sensing MCP1700 Low quiescent current LDO regulator for battery rails Used in: Battery-Powered Metering and Sensing MCP23017 I2C GPIO expander over the TWI bus for extra buttons/LEDs Used in: Consumer Appliances ATMEGA1284P-AU Drop-in higher-memory option for complex sketches Used in: Arduino-Compatible Hobby and Education FT232RL USB-to-serial bridge for bootloader uploads Used in: Arduino-Compatible Hobby and Education ATMEGA644PA-AU Pin-compatible part with 4KB SRAM for buffering-heavy gateways Used in: Sensor Gateways and IoT Edge Nodes MCP3008 SPI 10-bit ADC expansion beyond the 8 internal channels Used in: Sensor Gateways and IoT Edge Nodes MCP2515 SPI CAN controller for vehicle-style motor networks Used in: Motor Control and PWM Actuation
What is the ATMEGA164PA-AU microcontroller?
The ATMEGA164PA-AU is a Microchip picoPower 8-bit AVR RISC microcontroller with 16 KB ISP FLASH, 512 B EEPROM, 1 KB SRAM, 32 I/O lines, two USARTs, an 8-channel 10-bit ADC, and a 20 MHz maximum clock in a 44-pin TQFP package. According to Microchip's official product page, it delivers up to 20 MIPS throughput and executes most of its 131 instructions in a single clock cycle, making it a mainstream choice for embedded control.
What is the price of ATMEGA164PA-AU?
The ATMEGA164PA-AU is priced from approximately $3.79 per unit in single quantities, dropping to about $2.75 at 1000-piece volumes (as of 2026-09-16). LCSC lists in-stock pricing starting at $3.7921, and Octopart reports availability across 12 distributors. For exact current pricing and bulk discount tiers, check the live price table on this page, since MCU distribution prices fluctuate with inventory position and reel availability.
Where to buy ATMEGA164PA-AU online?
The ATMEGA164PA-AU can be purchased online from authorized distributors including DigiKey, Mouser, LCSC, and via Octopart's multi-distributor price comparison (12 distributors tracked). All four listed distributors show active stock with same-day shipping on DigiKey. XAIPART also offers this part with quote-based ordering; use the request form on this page for volume pricing above 1000 units and lead-time confirmation for production quantities.
Is ATMEGA164PA-AU in stock?
Yes, the ATMEGA164PA-AU is in stock at major distributors. DigiKey's listing states 'Buy now, ships today' and LCSC shows active in-stock inventory with pricing from $3.7921 (as of 2026-09-16). Octopart reports the part available from 12 distributors, which indicates a healthy supply position. For production volumes above 500 units, verify allocation and lead times directly with your distributor of choice before releasing the BOM.
What is the best drop-in replacement for ATMEGA164PA-AU?
The best drop-in replacement is the ATMEGA164A-AU, which uses the same die family, the same 44-pin TQFP footprint, and identical peripheral set, differing mainly in that the PA variant carries picoPower low-power technology. If more memory is needed, the ATMEGA324PA-AU (32 KB FLASH) is pin-compatible on the same footprint. According to Microchip, all ATmega164A/PA/324A/PA/644A/PA/1284/P devices share the same core, so code migration is straightforward.
What is the difference between ATMEGA164PA-AU and ATMEGA324PA-AU?
The main difference is memory size: the ATMEGA164PA-AU has 16 KB FLASH, 512 B EEPROM, and 1 KB SRAM, while the ATMEGA324PA-AU doubles these to 32 KB FLASH, 1 KB EEPROM, and 2 KB SRAM. Both are pin-to-pin compatible in the 44-pin TQFP package with identical peripherals, clock specifications, and picoPower features. Firmware written for the 164PA generally compiles for the 324PA unchanged, making the 324PA an upgrade path when FLASH headroom runs out.
ATMEGA164PA-AU vs ATMEGA164A-AU - which is better for battery applications?
The ATMEGA164PA-AU is better for battery applications. The 'P' suffix denotes picoPower technology, which reduces power consumption in all sleep modes (down to sub-uA power-save currents) and adds the 1.8V low-voltage operating capability. The ATMEGA164A-AU has the same 16 KB FLASH, 20 MHz performance, and TQFP-44 footprint, but higher sleep-mode currents. Both are drop-in interchangeable on the same PCB; choose the PA whenever battery life or energy harvesting matters.
Is the ATMEGA164PA-AU suitable for Arduino projects?
Yes, the ATMEGA164PA-AU works with the Arduino ecosystem via the MightyCore community core, which supports ATmega164/324/644/1284 devices. It provides 5 usable ADC channels plus PWM on multiple pins, and its 44-pin TQFP gives more I/O than an ATmega328P. You will need an external ISP programmer (e.g., USBasp) or an existing Arduino as ISP to burn the bootloader, since the chip arrives blank. Clock configuration supports both the internal 8 MHz RC and an external 20 MHz crystal.
What is the operating voltage of ATMEGA164PA-AU?
The ATMEGA164PA-AU operates from 1.8 V to 5.5 V across its full speed range. According to the Microchip ATmega164A/PA datasheet, the picoPower 'P' variant removes the derating curve that constrains non-P parts, so 20 MHz operation is permitted even at 1.8 V. This makes the part usable directly from two alkaline cells or a single LiSOCl2 cell through its end-of-discharge range, which is a key reason it is favored in battery-powered metering designs.
How much FLASH and SRAM does the ATMEGA164PA-AU have?
The ATMEGA164PA-AU contains 16 KB of in-system self-programmable FLASH (organized as 8K x 16), 512 B of EEPROM, and 1 KB of internal SRAM. The FLASH supports read-while-write operation, so the bootloader can program a new application while executing. Per Microchip's product page, this memory set pairs with 32 general purpose I/O lines and 32 working registers, sufficient for small-to-medium embedded control firmware including modest communication stacks.
Where to download the ATMEGA164PA-AU datasheet PDF?
The ATMEGA164PA-AU datasheet PDF is available free from Microchip's official product page at microchip.com/en-us/product/ATmega164PA under the Documentation section. The document covers the full ATmega164A/PA/324A/PA/644A/PA/1284/P family, so one PDF serves all five memory densities. Note that pin configuration, electrical characteristics, and application circuits in this combined family datasheet apply to all package variants, including the 44-pin TQFP used by the -AU suffix.
Where can I find the ATMEGA164PA-AU pinout?
The ATMEGA164PA-AU pinout is documented in the Pin Configurations section of the Microchip ATmega164A/PA family datasheet. The 44-pin TQFP arranges Port A (ADC), Port B (SPI/OC), Port C (TWI/JTAG), and Port D (USART/INT) around the package, with VCC, GND, AVCC, AREF, and XTAL1/XTAL2 supply and clock pins. This page includes a package diagram with pin names; always cross-check against the manufacturer datasheet before final PCB routing, as QFN variants have a different pin order.
Hey Google, what can replace ATMEGA164PA-AU?
Direct drop-in replacements for the ATMEGA164PA-AU are the ATMEGA164A-AU (same footprint, standard power instead of picoPower), and for more memory the pin-compatible ATMEGA324PA-AU, ATMEGA644PA-AU, and ATMEGA1284P-AU, all in the same 44-pin TQFP. These were identified by distributor cross-reference listings (FindMyChip and etei.com). No cross-brand pin-compatible AVR equivalent exists, so any substitution should stay within Microchip's ATmega megaAVR family to guarantee pinout and register compatibility.
What is the best Microchip equivalent for ATMEGA164PA-AU when it is unavailable?
The best Microchip equivalent is the ATMEGA324PA-AU: pin-to-pin compatible in the 44-pin TQFP, same 20 MHz picoPower core and peripherals, but with 32 KB FLASH and 2 KB SRAM, so it runs 164PA firmware unchanged. Distributor cross-reference data (etei.com) explicitly names ATMEGA324PA-AU, ATMEGA644PA-AU, and ATMEGA1284P-AU as equivalents. Choose the smallest memory density that is in stock - all five family members share one PCB footprint, so future respins can move between densities freely.
What are the key specifications of ATMEGA164PA-AU that engineers should know?
Key specifications: 8-bit AVR RISC core at up to 20 MHz (20 MIPS), 16 KB ISP FLASH, 512 B EEPROM, 1 KB SRAM, 32 GPIO, 8-channel 10-bit ADC, two USARTs, TWI (I2C), SPI, three timers with PWM, 1.8V to 5.5V supply, picoPower sleep modes, and a 44-pin TQFP (10x10 mm) package. According to the Microchip datasheet, the core executes 131 instructions mostly in one cycle and includes a 2-cycle hardware multiplier. Lifecycle status is active.
When should I choose ATMEGA1284P-AU over ATMEGA164PA-AU?
Choose the ATMEGA1284P-AU when your firmware needs more than 16 KB of code or more than 1 KB of RAM - for example when adding USB stacks, FAT filesystems, or large communication buffers - since it offers 128 KB FLASH and 16 KB SRAM in the identical 44-pin TQFP footprint. If your application fits comfortably within 16 KB/1 KB with roughly 30% headroom, the ATMEGA164PA-AU is cheaper and equally capable. Both are picoPower parts with the same peripherals, so migration is purely a linker and memory-map exercise.
Is the ATMEGA164PA-AU RoHS compliant and what is its lifecycle status?
Yes, the ATMEGA164PA-AU is RoHS compliant and supplied in a lead-free green package. DigChip's lifecycle listing marks the part as ACTIVE, and DigiKey, Mouser, and LCSC all list it as an active, recommended-for-new-designs product as of 2026-09-16. Designers should note that the related ATMEGA164PA-PU (40-pin PDIP) has been rendered obsolete per DigiKey's forum, so new designs should standardize on the -AU TQFP surface-mount version for long-term supply.

Engineering reference data for ATMEGA164PA-AU β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the ATMEGA164PA-AU when your firmware fits in roughly 12 KB of FLASH and 800 B of SRAM with headroom, you need dual USARTs, an 8-channel 10-bit ADC, and battery-efficient picoPower sleep modes at the lowest cost in the family. Choose ATMEGA164A-AU for the lowest-cost non-battery builds where sleep current is irrelevant. Step up to ATMEGA324PA-AU (32KB/2KB) when code size approaches 16 KB or UI-heavy firmware doubles buffer needs - same footprint, no relayout. Choose ATMEGA644PA-AU or ATMEGA1284P-AU for filesystems, USB stacks, or large communication buffers, with the 1284P offering 16 KB SRAM on the identical land pattern. No true cross-brand drop-in exists; substitutions should stay within the Microchip megaAVR 44-pin family to guarantee pinout and register compatibility.

Comparison with Alternatives

Parameter This Product ATMEGA164A-AU ATMEGA324PA-AU ATMEGA644PA-AU ATMEGA1284P-AU
Package TQFP-44 (10x10 mm) TQFP-44 (10x10 mm) - same TQFP-44 (10x10 mm) - same TQFP-44 (10x10 mm) - same TQFP-44 (10x10 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 16 KB 16 KB 32 KB 64 KB 128 KB
SRAM 1 KB 1 KB 2 KB 4 KB 16 KB
EEPROM 512 B 512 B 1 KB 2 KB 4 KB
Max Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
picoPower Technology Yes No Yes Yes Yes
Peripherals (ADC/USART/TWI) 8-ch 10-bit ADC, 2 USART, TWI 8-ch 10-bit ADC, 2 USART, TWI 8-ch 10-bit ADC, 2 USART, TWI 8-ch 10-bit ADC, 2 USART, TWI 8-ch 10-bit ADC, 2 USART, TWI

Key Differentiators

  • picoPower technology for battery designs (vs ATMEGA164A-AU)
  • Best price-per-feature in the same footprint (vs ATMEGA324PA-AU)
  • Identical PCB footprint across five memory densities (vs ATMEGA1284P-AU)
  • Dual USARTs standard across the family (vs ATMEGA164A-AU)

Design Notes

Decouple AVCC (pin 39) separately from VCC through an LC filter (10 uH inductor or ferrite bead plus 100 nF ceramic) and connect AVCC to VCC even when the ADC is unused, as required by the Microchip ATmega164A/PA datasheet. This keeps ADC switching noise out of the analog domain and preserves 10-bit conversion accuracy. Add a 100 nF capacitor at each VCC pin (7 and 40) placed within 5 mm of the pin with a solid via to the ground plane.

Keep the analog reference path clean: place a 100 nF capacitor on AREF (pin 37) and route it away from USART and crystal traces. If using the internal 1.1V bandgap reference for battery monitoring, remember conversions settle slowly - discard the first result after switching references, a documented behavior in Microchip's AVR datasheet family documentation. On a 4-layer board, allocate a continuous ground plane under the TQFP and stitch the exposed fan-out vias around the package perimeter.

The ATMEGA164PA-PU (PDIP) variant is obsolete per DigiKey forum reports - do not specify it for new designs; the -AU TQFP remains active. Also, the ATmega164/324/644/1284 family is NOT register-compatible with the ATmega16 classic part despite the similar name: port mapping, extended I/O registers, and fuse names differ, and code needs porting. Finally, at 5V do not exceed the 20 MHz rating, and when running below 1.8 V the device will brown-out - set the BOD fuse appropriately for your supply rail.

For the external 20 MHz crystal on XTAL1/XTAL2, follow the datasheet-recommended load: place the crystal within 10 mm of the pins with ground guard traces, and select load capacitors per the crystal vendor's CL specification (typically 12-22 pF). Avoid routing fast USART or PWM lines directly beneath the crystal. When using TOSC1/TOSC2 with a 32.768 kHz crystal for the asynchronous timer, keep these traces equally short and isolated - long watch-crystal traces pick up digital noise and cause timekeeping drift.

Compliance Information

RoHS
Compliant
REACH
Unknown
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Unknown

RoHS compliant green package per distributor listings. AEC-Q100 automotive qualification not applicable to this commercial/industrial grade part. REACH and conflict mineral status not stated in provided data.

Data verified on: 2026-09-16 β€” data verified and curated by XAIPART's component engineering team

Related Searches

ATMEGA164PA-AU ATMEGA164PA-AU datasheet PDF Microchip ATMEGA164PA-AU price ATMEGA164PA-AU drop-in replacement ATMEGA324PA ATMEGA164PA-AU vs ATMEGA164A-AU difference 16KB flash 20MHz AVR TQFP-44 microcontroller picoPower 8-bit microcontroller battery powered ATMEGA164PA-AU pinout TQFP 44 ATMEGA164PA-AU Arduino MightyCore compatible buy ATMEGA164PA-AU in stock what is the operating voltage of ATMEGA164PA-AU ATmega164A PA 324A 644A 1284P family datasheet

Related Components & Terms

Microchip Technology ATMEGA164PA-AU ATmega164PA ATMEGA164A-AU ATMEGA324PA-AU ATMEGA644PA-AU ATMEGA1284P-AU AVR 8-bit microcontroller picoPower RISC Harvard architecture TQFP-44 ISP FLASH TWI (I2C) USART 10-bit ADC RoHS Arduino MightyCore embedded control battery metering 20 MIPS
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details