Microchip Technology

ATMEGA164A-PU - 8-bit AVR MCU 16KB Flash 20MHz | Microchip

MPN: ATMEGA164A-PU βœ“ Active
In Stock Ships in 1-3 business days
2.5 V to 5.5 V Vdss 40-PDIP (0.600 in, 15.24 mm) Package 20 MHz Speed 16 KB (8K x 16) In-System Programmable Memory
From $3.15 USD / Unit
MOQ: 1 |
Price updated: 2026-09-15
Volume Pricing
Qty Unit Price Extended
1 $4.26 $4.26
10 $3.98 $39.80
100 $3.65 $365.00
500 $3.4 $1,700.00
1,000 $3.15 $3,150.00
ℹ️ All prices are in USD

ATMEGA164A-PU Overview

The Microchip Technology ATMEGA164A-PU is an 8-bit AVR RISC microcontroller with 16 KB of In-System Programmable Flash, 1 KB of SRAM, and 512 bytes of EEPROM, executing at up to 20 MHz and housed in a 40-pin PDIP (0.600 inch, 15.24 mm) through-hole package.

An 8-bit microcontroller is an integrated circuit that combines a processor core, memory, and peripherals such as timers, UARTs, and ADCs on a single chip, forming the highest-volume tier of the embedded systems hierarchy (MCU -> embedded processor -> semiconductor). The AVR architecture executes most of its powerful instruction set in a single clock cycle, achieving throughput near one MIPS per MHz, so designers can trade clock speed directly against power consumption.

Key features of the ATMEGA164A include 32 general purpose I/O lines, 32 general purpose working registers, two USARTs, SPI and two-wire (I2C) interfaces, an 8-channel 10-bit ADC, a real-time counter, three flexible timers with compare modes and PWM, and internal calibrated oscillator. It operates from 2.5 V to 5.5 V with operating grades for industrial (-40C to +85C) temperature ranges.

Technically, the device is built on AVR enhanced RISC architecture with single-cycle execution, read-while-write Flash for self-programming, and multiple sleep modes plus power-down/power-save operation for battery designs. DebugWIRE on-chip debugging is supported through the RESET pin with a single-wire interface.

Typical applications include industrial control and automation, instrumentation, and hobby/prototyping projects where the through-hole PDIP package simplifies hand soldering, socketing, and breadboarding.

Design consideration: for maximum reliability, decouple VCC and AVCC separately and use the external crystal option when you need UART timing accuracy beyond the internal oscillator tolerance.

This page synthesizes distributor pricing, drop-in alternatives within the ATmega164A/324A/644A/1284 family, and practical design notes not found in the manufacturer datasheet.

Drop-in alternatives for ATMEGA164A-PU β€” 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 ATMEGA164A-PU (same form factor and footprint) β€” differing in Mounting Type, Package, Core Architecture, Debug Interface, EEPROM.

Microchip Technology
Mounting Type: Through Hole
Package: 40-PDIP
Core Architecture: 8-bit AVR RISC
Compare with ATMEGA164A-PU β†’
Microchip Technology
Mounting Type: Through Hole
Package: 40-PDIP
Debug Interface: JTAG (on-chip debug and boundary scan)
Compare with ATMEGA164A-PU β†’

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

No drop-in alternatives available for this product.

Request Alternatives

ATMEGA164A-PU Maximum Ratings & Electrical Characteristics

Core Architecture AVR 8-bit RISC
Flash Memory 16 KB (8K x 16) In-System Programmable
SRAM 1 KB
EEPROM 512 bytes
Maximum Clock Frequency 20 MHz
Supply Voltage Range 2.5 V to 5.5 V
General Purpose I/O 32 lines
Working Registers 32 x 8-bit
Timers/Counters 2 x 8-bit, 1 x 16-bit
USART Interfaces 2
ADC 8-channel 10-bit
Serial Interfaces USART x2, SPI, TWI (I2C)
Package 40-PDIP (0.600 in, 15.24 mm)
Mounting Type Through-Hole
On-Chip Debug DebugWIRE (single-wire via RESET)
Sleep Modes Multiple including Power-down and Power-save
RoHS Status Compliant

ATMEGA164A-PU 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 PB0/XCK0/T0 β€” Port B bit 0 / USART0 external clock / Timer0 external clock
Pin 2 PB1/T1 β€” Port B bit 1 / Timer1 external clock
Pin 3 PB2/AIN0/INT2 β€” Port B bit 2 / Analog comparator input 0 / External interrupt 2
Pin 4 PB3/AIN1/OC0 β€” Port B bit 3 / Analog comparator input 1 / Timer0 output compare
Pin 5 PB4/SS β€” Port B bit 4 / SPI slave select
Pin 6 PB5/MOSI β€” Port B bit 5 / SPI master output, slave input
Pin 7 PB6/MISO β€” Port B bit 6 / SPI master input, slave output
Pin 8 PB7/SCK/OC0A/OC1C β€” Port B bit 7 / SPI clock / Timer output compare PWM
Pin 9 RESET β€” Reset input; also DebugWIRE interface
Pin 10 VCC β€” Digital supply voltage (2.5 V to 5.5 V)
Pin 11 GND β€” Ground
Pin 12 XTAL2 β€” Crystal oscillator output
Pin 13 XTAL1 β€” Crystal oscillator input / external clock input
Pin 14 PD0/RXD0 β€” Port D bit 0 / USART0 receive
Pin 15 PD1/TXD0 β€” Port D bit 1 / USART0 transmit
Pin 16 PD2/INT0/RXD1 β€” Port D bit 2 / External interrupt 0 / USART1 receive
Pin 17 PD3/INT1/TXD1 β€” Port D bit 3 / External interrupt 1 / USART1 transmit
Pin 18 PD4/XCK1/OC1B β€” Port D bit 4 / USART1 external clock / Timer1 output compare B
Pin 19 PD5/OC1A β€” Port D bit 5 / Timer1 output compare A (PWM)
Pin 20 PD6/ICP1 β€” Port D bit 6 / Timer1 input capture
Pin 21 PD7/OC2A β€” Port D bit 7 / Timer2 output compare A (PWM)
Pin 22 PC0/SCL β€” Port C bit 0 / TWI clock
Pin 23 PC1/SDA β€” Port C bit 1 / TWI data
Pin 24 PC2/TCK β€” Port C bit 2 / JTAG test clock
Pin 25 PC3/TMS β€” Port C bit 3 / JTAG test mode select
Pin 26 PC4/TDO β€” Port C bit 4 / JTAG test data output
Pin 27 PC5/TDI β€” Port C bit 5 / JTAG test data input
Pin 28 PC6/TOSC1 β€” Port C bit 6 / Timer oscillator input (32.768 kHz RTC crystal)
Pin 29 PC7/TOSC2 β€” Port C bit 7 / Timer oscillator output
Pin 30 AVCC β€” Analog supply for ADC (connect to VCC through low-pass filter)
Pin 31 GND β€” Ground (analog ground reference)
Pin 32 AREF β€” Analog reference voltage for ADC
Pin 33 PA0/ADC0 β€” Port A bit 0 / ADC channel 0
Pin 34 PA1/ADC1 β€” Port A bit 1 / ADC channel 1
Pin 35 PA2/ADC2 β€” Port A bit 2 / ADC channel 2
Pin 36 PA3/ADC3 β€” Port A bit 3 / ADC channel 3
Pin 37 PA4/ADC4 β€” Port A bit 4 / ADC channel 4
Pin 38 PA5/ADC5 β€” Port A bit 5 / ADC channel 5
Pin 39 PA6/ADC6 β€” Port A bit 6 / ADC channel 6
Pin 40 PA7/ADC7 β€” Port A bit 7 / ADC channel 7

Typical Applications

ATMEGA164A-PU is suitable for 6 applications: Industrial Control and Automation, Instrumentation and Measurement, Hobby, Education and Prototyping, Embedded Communication Nodes, Motor Control and PWM Actuation, Consumer Appliance Control.

🏭

Industrial Control and Automation

The ATMEGA164A-PU fits industrial control nodes because it combines a 20 MHz AVR core with dual USARTs for RS-485/Modbus links, SPI and TWI for module expansion, and a 10-bit ADC for sensor feedback - all with the industrial -40C to +85C temperature grade. In a PLC-style remote I/O board, the 32 GPIO lines directly drive relays and optocoupled inputs, while the three timers generate PWM for actuators. Running from a 5 V industrial rail (2.5-5.5 V supply range) removes the need for a separate regulator stage. The through-hole 40-PDIP package also allows socketed replacement in the field, reducing maintenance downtime in retrofit installations where soldered SMD MCUs complicate repairs.

πŸ”§

Instrumentation and Measurement

For benchtop meters, data loggers, and sensor conditioning units, the ATMEGA164A-PU offers an 8-channel 10-bit ADC on Port A with an internal reference and AREF pin (pin 32) for external precision references, enabling multi-sensor scanning at moderate sample rates. The 16 KB Flash accommodates averaging, calibration, and linearization firmware, while 1 KB SRAM buffers sample arrays before transmission over one of the two USARTs. AVCC (pin 30) can be filtered separately from the digital rail to reduce ADC noise coupling, a common technique in the family datasheet's ADC application notes. The PDIP package eases prototyping on breadboards during instrument bring-up, and the TWI interface connects displays and EEPROM calibration stores.

🧩

Hobby, Education and Prototyping

The 40-PDIP through-hole package is the defining advantage for hobbyists, students, and repair technicians: the ATMEGA164A-PU can be inserted into a ZIF socket, hand-soldered with a basic iron, and breadboarded without adapters. Community toolchains support it directly - the MCUdude MightyCore Arduino package covers the ATmega164, giving Arduino IDE compilation and ISP bootloading. Single-unit pricing around $4.26 (as of 2026-09-16) keeps experimentation affordable, and the 2.5-5.5 V supply range tolerates simple USB or battery supplies. Educational kits favor this part because the DIP-40 footprint makes pin mapping physically visible: Port A pins 33-40, Port B pins 1-8, aiding classroom instruction on MCU architecture.

🌐

Embedded Communication Nodes

With two independent USARTs, the ATMEGA164A-PU bridges protocols natively - one port to a host or RS-232 debug console and the other to an RS-485 field bus through an external transceiver. The 20 MHz core provides roughly 20 MIPS (about 1 MIPS per MHz per the family datasheet), sufficient for software UART framing checks and CRC computation. TWI (I2C) handles RTC and EEPROM peripherals, while SPI drives Ethernet controllers or RF modules. Interrupt-driven receive buffers make efficient use of the 1 KB SRAM. Power-save sleep modes allow battery-backed gateways to wake on USART or timer events, and the picoPower ATMEGA164PA-PU variant drops in when ultra-low standby current is a requirement.

βš™οΈ

Motor Control and PWM Actuation

The ATMEGA164A-PU's three timers - two 8-bit and one 16-bit - provide multiple PWM channels with compare modes suited to DC motor speed control, servo positioning, and LED dimming. The 16-bit timer supports input capture for RPM measurement from hall or encoder signals, closing the control loop with the 10-bit ADC reading current or position feedback. At 20 MHz, PWM resolution of 8 bits runs at 78 kHz, inaudible in motor applications. Dead-time control for half-bridge drivers is implemented in firmware using complementary compare outputs. The 32 GPIO lines interface directly to gate-driver logic, and the -40C to +85C grade suits motor-mounted enclosures exposed to elevated ambient temperatures.

πŸ’‘

Consumer Appliance Control

In appliance boards - coffee machines, heaters, small pumps - the ATMEGA164A-PU delivers adequate compute (20 MHz AVR, ~20 MIPS), plenty of GPIO for buttons, LEDs, and relays, and a 10-bit ADC for NTC temperature sensing. The internal calibrated oscillator removes the crystal and its cost in non-critical timing applications, while read-while-write Flash supports in-field firmware updates through self-programming. Power-down sleep current keeps standby consumption low for always-plugged products, and the 2.5-5.5 V supply range accommodates capacitor-dropper or linear supplies common in appliance designs. The PDIP package also suits low-volume regional assembly lines without reflow equipment, and 512 B EEPROM retains user settings across power cycles.

Recommended Products Summary

ATMEGA1284P-MUR Microchip Technology Used in: Industrial Control and Automation, Hobby, Education and Prototyping ATMEGA162-16PU Microchip Technology Used in: Industrial Control and Automation, Embedded Communication Nodes ATMEGA324A-PU Pin-compatible upgrade with 32KB Flash for richer firmware Used in: Instrumentation and Measurement, Motor Control and PWM Actuation ATMEGA644A-PU Pin-compatible with 64KB Flash for logging-heavy instruments Used in: Instrumentation and Measurement ATMEGA16-16PI Microchip Technology Used in: Hobby, Education and Prototyping ATMEGA164PA-PU picoPower drop-in for battery-powered nodes Used in: Embedded Communication Nodes, Consumer Appliance Control ATMEGA16-16AU Microchip Technology Used in: Motor Control and PWM Actuation PIC12F683-I/P Microchip Technology Used in: Consumer Appliance Control
What are the key specifications of ATMEGA164A-PU that engineers should know?
The ATMEGA164A-PU is an 8-bit AVR RISC microcontroller with 16 KB ISP Flash, 1 KB SRAM, and 512 bytes of EEPROM, clocked at up to 20 MHz. It provides 32 GPIO lines, two USARTs, SPI, TWI (I2C), three timers with PWM, and an 8-channel 10-bit ADC. Supply range is 2.5 V to 5.5 V and the package is a 40-pin PDIP (0.600 inch). According to the Microchip ATmega164A/PA/324A/PA/644A/PA/1284/P family datasheet, single-cycle instruction execution yields roughly 1 MIPS per MHz of throughput.
What is the price of ATMEGA164A-PU?
The ATMEGA164A-PU lists at approximately $4.26 per unit in single-piece quantities as of 2026-09-16, based on distributor data from Heisener showing 13,212 units in stock and immediate shipment. Volume pricing typically steps down across 10/100/1000-piece breaks; the tiers on this page reflect typical distributor ladder pricing for this family. Always confirm live pricing with the distributor at order time, since AVR pricing fluctuates with silicon availability and multi-source broker inventories.
Where to buy ATMEGA164A-PU online?
The ATMEGA164A-PU can be purchased from DigiKey (product page listing it as a 20 MHz, 16 KB Flash, 40-PDIP AVR microcontroller shipping same day), as well as from distributors such as Heisener, which reported 13,212 pieces in stock as of the September 2026 data pull. XAIPART also offers this MPN with quotes and stocking options. When ordering, verify the exact suffix (-PU denotes 40-PDIP, industrial temperature range) to avoid receiving TQFP or MLF package variants.
Is ATMEGA164A-PU in stock and what is the lead time?
Yes, distributor data as of 2026-09-16 shows the ATMEGA164A-PU in stock: Heisener reports 13,212 pieces available with immediate shipment, and DigiKey lists the part with buy-now, ships-today availability. Because the PDIP-40 package is used heavily in hobby and repair markets, stock levels at franchise distributors are generally healthy. For large production quantities (5,000+ units), request a formal quote since reel-based allocation may add a few weeks of lead time.
What is the best drop-in replacement for ATMEGA164A-PU?
The best drop-in replacement for the ATMEGA164A-PU is the Microchip ATMEGA164PA-PU, which uses the identical 40-pin PDIP footprint and the same 16 KB Flash, 512 B EEPROM, and 1 KB SRAM configuration. The PA variant is the picoPower version with lower active and sleep current. Within the same family, the ATMEGA324A-PU, ATMEGA644A-PU, and ATMEGA1284P-PU are also 40-pin PDIP pin-compatible, differing only in Flash/EEPROM/SRAM sizes, so code fits with minor linker adjustments.
What is the difference between ATMEGA164A-PU and ATMEGA164PA-PU?
The ATMEGA164A and ATMEGA164PA share the same core, 16 KB Flash, 1 KB SRAM, 512 B EEPROM, and identical 40-pin PDIP pinout - they are drop-in interchangeable. The difference is process technology: the PA is the picoPower revision manufactured on a smaller process, delivering lower active current and significantly lower power-down and power-save sleep currents. DigiKey's forum has noted the ATMEGA164PA-PU has been rendered obsolete in some channels, making the ATMEGA164A-PU the currently available variant.
ATMEGA164A-PU vs ATMEGA324A-PU - which is better for my application?
Both are 40-pin PDIP pin-compatible AVR microcontrollers; the choice depends on program and data memory needs. The ATMEGA164A-PU offers 16 KB Flash, 512 B EEPROM, and 1 KB SRAM, while the ATMEGA324A-PU doubles these to 32 KB Flash, 1 KB EEPROM, and 2 KB SRAM. Choose the 164A for cost-optimized designs with modest code size, and the 324A when your firmware approaches 14-15 KB or needs larger buffers. Per the family datasheet, both run at 20 MHz with the same peripheral set, so the swap is nearly free at design time.
When should I choose ATMEGA164A-PU over ATMEGA1284P-PU?
Choose the ATMEGA164A-PU when your firmware fits comfortably in 16 KB Flash and 1 KB SRAM - it typically costs less and saves board-level cost at volume. Choose the ATMEGA1284P-PU when you need 128 KB Flash, 4 KB EEPROM, and 16 KB SRAM for data logging, larger RTOS stacks, or complex communication stacks; it shares the identical 40-pin PDIP footprint and 20 MHz maximum clock. Because both are pin-compatible, you can design the PCB once and populate whichever memory tier your BOM requires, though code porting requires checking vector tables and fuse settings.
What is the Microchip equivalent for ATMEGA164A-PU if I want a modern replacement?
Within Microchip's portfolio, the nearest modern suggested alternatives found in distributor cross-reference data are the ATMEGA4809-PF (ATmega 4809 series, 48 KB Flash, 40-pin PDIP) and the classic ATMEGA8515-16PU; however, neither is a pin-to-pin drop-in - the 4809 has a different pinout and peripheral map, so PCB redesign and code porting are required. For a true no-redesign replacement, stay within the same ATmega164A/PA/324A/644A/1284 family, all of which are 40-pin PDIP pin-compatible with the ATMEGA164A-PU.
Where can I download the ATMEGA164A-PU datasheet PDF?
The official ATMEGA164A-PU datasheet is the Microchip family document covering ATmega164A/PA, ATmega324A/PA, ATmega644A/PA, and ATmega1284/P, downloadable from ww1.microchip.com (document 40002070B). It contains the full pin configuration, electrical characteristics, register descriptions, and typical application circuits. Beware third-party mirror sites such as alldatasheet.com and datasheets.com, which host the same PDF but may serve outdated revisions; always prefer the Microchip site for the current document version.
Where can I find the ATMEGA164A-PU pinout for the 40-pin PDIP?
The ATMEGA164A-PU pinout in the 40-pin PDIP is fully documented in the family datasheet's pin configuration section. Port B occupies pins 1-8, RESET is pin 9, VCC pin 10, GND pin 11, the crystal pins XTAL2/XTAL1 are pins 12-13, Port D spans pins 14-21, Port C pins 22-29, AVCC pin 30, GND pin 31, AREF pin 32, and Port A (the 8-channel ADC input port) covers pins 33-40. The complete pin-by-pin table is reproduced on this page for quick reference.
Is ATMEGA164A-PU RoHS compliant and lead-free?
Yes, the ATMEGA164A-PU is RoHS compliant and lead-free; the commercial listing on DigiKey identifies it as an RoHS-compliant part from Microchip Technology. Like current AVR production devices, it is also generally REACH aligned, though buyers requiring formal REACH declarations or conflict-minerals reports should request the certificate directly from Microchip rather than relying on distributor summaries. The -PU suffix indicates the PDIP package with industrial temperature operating grade; package and grade do not alter RoHS status.
What supply voltage does the ATMEGA164A-PU require?
The ATMEGA164A-PU operates from a 2.5 V to 5.5 V supply, but the maximum clock frequency is voltage dependent: full 20 MHz operation requires approximately 4.5 V to 5.5 V, while at lower voltages the safe maximum frequency decreases per the family datasheet's speed-versus-voltage curve. At 3.3 V operation, keep the clock around 13 MHz or lower; at 2.5 V, roughly 8 MHz. Always feed VCC and AVCC from properly decoupled rails, and never exceed the 5.5 V absolute maximum on any pin referenced to GND.
Can I program the ATMEGA164A-PU with Arduino tools?
Yes. The MCUdude MightyCore Arduino hardware package explicitly supports the ATmega164 alongside the ATmega1284, ATmega644, ATmega324, ATmega32, ATmega16, and ATmega8535, enabling Arduino IDE compilation and ISP bootloading for this part. You program via the SPI pins (MOSI pin 6, MISO pin 7, SCK pin 8, RESET pin 9) using an ISP programmer, or use DebugWIRE for debugging through the RESET pin. For production, In-System Programming allows firmware updates after the chip is soldered in-circuit.
What is the operating temperature range of the ATMEGA164A-PU?
The ATMEGA164A-PU carries the industrial temperature grade implied by its ordering-code structure (P = PDIP, U = -40C to +85C), which covers most industrial control and instrumentation environments. Microchip also offers commercial (0C to +70C) and extended grades across the ATmega164A family in other package suffixes. Confirm the exact range in the family datasheet's ordering information table before deploying in automotive-underhood or outdoor cold-chain applications, where extended-temperature parts or external thermal management may be needed.

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

Selection Guide

Choose the ATMEGA164A-PU when you need a through-hole, hand-solderable 8-bit MCU with 16 KB Flash, dual USARTs, and industrial temperature range, and your firmware fits under roughly 14 KB. It is the safest currently-stocked member of its family: the pin-compatible ATMEGA164PA-PU is cheaper on sleep power but increasingly obsolete, so prefer it only for existing picoPower designs. If code size or RAM buffers are tight, move up the identical-footprint ladder to the ATMEGA324A-PU (32 KB/2 KB), ATMEGA644A-PU (64 KB/4 KB), or ATMEGA1284P-PU (128 KB/16 KB) with no PCB change. Avoid the legacy ATMEGA16-16PI/ATMEGA32A-PU for new designs: despite the same 40-PDIP footprint, they run at 16 MHz max, supply only 1.8-5.5 V grades in some variants, and lack the dual-USART peripheral set. For battery products, evaluate picoPower variants or a different family altogether.

Comparison with Alternatives

Parameter This Product ATMEGA164PA-PU ATMEGA324A-PU ATMEGA644A-PU ATMEGA1284P-PU ATMEGA16-16PI
Package 40-PDIP (0.600 in) 40-PDIP (0.600 in) - same 40-PDIP (0.600 in) - same 40-PDIP (0.600 in) - same 40-PDIP (0.600 in) - same 40-PDIP (0.600 in) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 16 KB 16 KB 32 KB 64 KB 128 KB 16 KB
SRAM 1 KB 1 KB 2 KB 4 KB 16 KB 1 KB
EEPROM 512 bytes 512 bytes 1 KB 2 KB 4 KB 512 bytes
Maximum Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 16 MHz
Supply Voltage Range 2.5 V to 5.5 V 1.8 V to 5.5 V 2.5 V to 5.5 V 2.5 V to 5.5 V 1.8 V to 5.5 V 4.5 V to 5.5 V
Power Technology Standard AVR (ATmega164A) picoPower (lower sleep current) Standard Standard picoPower Legacy
Lifecycle Status Active Obsolete/replacement suggested (per DigiKey forum, Nov 2024) Active Active Active Active (legacy family)

Key Differentiators

  • Currently active production vs obsolete picoPower sibling (vs ATMEGA164PA-PU)
  • 20 MHz maximum clock (vs ATMEGA16-16PI)
  • Cost-optimized memory tier in a pin-compatible family ladder (vs ATMEGA324A-PU)

Design Notes

Decouple VCC (pin 10) and AVCC (pin 30) independently: place a 100 nF ceramic within 5 mm of each pin plus a 10 uF bulk capacitor per rail. The family datasheet recommends connecting AVCC to VCC through a low-pass filter (e.g., 10 uH inductor or 100-ohm resistor with 100 nF) when ADC accuracy matters, since digital switching noise on AVCC directly degrades the 10-bit converter's effective resolution. Keep the 5.5 V absolute maximum in mind for unregulated supplies.

For crystal reliability, mount the resonator between XTAL1 (pin 13) and XTAL2 (pin 12) within 10 mm of the device and keep crystal load capacitors' ground return short and direct to GND (pin 11). If using the 32.768 kHz RTC crystal on TOSC1/TOSC2 (pins 28-29), guard these traces from fast digital edges - the timer oscillator is sensitive to coupling. When the internal calibrated RC oscillator suffices, both crystal pins can be repurposed, freeing board area in PDIP-based designs.

Do not exceed the speed-versus-voltage curve: at 3.3 V, running 20 MHz is outside the safe operating envelope per the family datasheet; scale the clock down (approximately 13 MHz at 3.3 V). When substituting ATMEGA164PA for ATMEGA164A on existing boards, verify fuse settings - extended fuse defaults differ between revisions and can disable DebugWIRE or misconfigure brown-out detection. ISP programming requires the SPI pins (5-8) free of heavy loads; series resistors of 1-10 kohm protect shared peripherals during programming.

Compliance Information

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

RoHS compliant per DigiKey product listing. REACH, halogen-free, and conflict-minerals status not stated in provided data.

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

Related Searches

ATMEGA164A-PU datasheet PDF ATMEGA164A-PU pinout 40 PDIP ATMEGA164A-PU vs ATMEGA324A-PU ATMEGA164A-PU drop-in replacement Microchip ATMEGA164A-PU price buy ATMEGA164A-PU DIP-40 microcontroller 8-bit AVR microcontroller 16KB flash 20MHz DIP ATMEGA164A-PU Arduino MightyCore programming ATMEGA164A-PU equivalent ATMEGA164PA what is the supply voltage of ATMEGA164A-PU ATMEGA164A-PU industrial control MCU ATMEGA164A-PU ISP programming pins

Related Components & Terms

Microchip Technology ATMEGA164A-PU ATMEGA164PA-PU ATMEGA324A-PU ATMEGA644A-PU ATMEGA1284P-PU ATmega164 AVR 8-bit microcontroller RISC architecture 40-PDIP DIP-40 through-hole package In-System Programming (ISP) DebugWIRE TWI (I2C) USART 10-bit ADC picoPower MightyCore RoHS industrial automation Flash memory EEPROM PWM
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