Home/Products/Integrated Circuits ICs, Microcontrollers (MCU)/ATMEGA640-16AU
ATMEGA640-16AU
Microchip 8-bit AVR MCU, 64KB Flash, 16MHz, 86 I/O, TQFP-100, dual USART, JTAG
Effective inventoryPCS
SpecificationsTechnical data
Manufacturer part
ATMEGA640-16AU
Package
TQFP-100 (14mm x 14mm, AU suffix)
Brand
MICROCHIP
Category
Integrated Circuits ICs, Microcontrollers (MCU)
Quality Commitment
Shipping & Payment
Service & Packaging
DescriptionProduct overview
Product Overview
The ATMEGA640-16AU from Microchip/Atmel is a high-performance 8-bit AVR RISC microcontroller with 64KB Flash, 8KB SRAM, and 2KB EEPROM in a 100-pin TQFP package. Running at up to 16MHz with 86 GPIO pins, dual USARTs, SPI, I2C, and a 16-channel 10-bit ADC, it provides comprehensive peripheral integration for demanding embedded control applications.
Key Specifications
| Core | 8-bit AVR RISC (131 instructions, 32 x 8-bit registers) |
| Max Clock Frequency | 16MHz |
| Flash Memory | 64KB (10,000 write/erase cycles) |
| SRAM | 8KB |
| EEPROM | 2KB (100,000 write/erase cycles) |
| Operating Voltage | 4.5V ~ 5.5V (0~16MHz) |
| I/O Pins | 86 |
| Timers | 2 x 8-bit + 2 x 16-bit |
| ADC | 16 channels x 10-bit (65~260kSPS) |
| Communication | 2x USART, 1x SPI, 1x I2C (TWI) |
| Package | TQFP-100 (14mm x 14mm) |
Features
- Powerful 8-bit AVR core with single-cycle instruction execution
- 64KB in-system programmable Flash with self-programming support
- 86 GPIO pins for extensive peripheral interfacing
- JTAG interface for on-chip debugging and programming
- 6 PWM channels for motor control and LED dimming
- Low power modes: Idle (0.5mA), Power-save (1uA)
Applications
- Industrial control and automation systems
- Motor drive and motion control
- Consumer electronics and home appliances
- Embedded networking and communication gateways
- Security and access control systems
01ATMEGA640-16AU · Product Introduction
02ATMEGA640-16AU · Working Principle
03ATMEGA640-16AU · Pin Description
| Pin Group | Function |
|---|---|
| PA0~PA7 | 8-bit bidirectional I/O Port A (ADC0~ADC7 alternate) |
| PB0~PB7 | 8-bit bidirectional I/O Port B (T0/T1/OC0/OC1/OC2 alternate) |
| PC0~PC7 | 8-bit bidirectional I/O Port C (JTAG/SPI alternate) |
| PD0~PD7 | 8-bit bidirectional I/O Port D (USART0/INT0~3 alternate) |
| PE0~PE7 | 8-bit bidirectional I/O Port E (USART1/INT4~7/T3/OC3 alternate) |
| PF0~PF7 | 8-bit bidirectional I/O Port F (ADC8~ADC15 alternate) |
| PG0~PG5 | 6-bit bidirectional I/O Port G (TOSC/WR/RD/ALE alternate) |
| VCC, GND | Multiple power and ground pins |
| AVCC, AREF | ADC power supply and reference |
| RESET# | Active-low reset input |
04ATMEGA640-16AU · Application Scenarios
- Industrial control: Implement multi-axis motor control with 6 PWM channels and encoder inputs via 86 GPIO pins
- Communication gateway: Bridge UART (dual USART), SPI, and I2C buses with 64KB Flash for protocol translation firmware
- Consumer appliances: Control washing machines, microwave ovens, and HVAC systems with ADC sensor feedback
- Security systems: Manage keypad scanning, RFID readers, and relay outputs with JTAG-enabled field firmware updates
- Data loggers: Acquire 16 channels of analog data at 260kSPS and store to external memory via SPI with timestamp from TWI RTC
05ATMEGA640-16AU · Alternative Models
| Model | Brand | Flash | Pins | Key Difference |
|---|---|---|---|---|
| ATMEGA1280-16AU | Microchip | 128KB | 100 | 2x Flash, 4x USART |
| ATMEGA2560-16AU | Microchip | 256KB | 100 | 4x Flash, 4x USART |
| ATMEGA640V-8AU | Microchip | 64KB | 100 | Low-voltage, 8MHz |
| SAM3X8E | Microchip | 512KB | 144 | 32-bit ARM Cortex-M3 |
| PIC18F67K22-I/PT | Microchip | 128KB | 64 | PIC18 core, fewer pins |
Request a quoteWithin 24h
Tell us the quantity you need. We confirm price and availability within one business day.
IC-Vendor · Sourcing
Verified stock, quoted fast.
Recommended

P89LPC922FN
8-bit 80C51 MCU, 8KB Flash, 256B RAM, 20-SSOP
IN STOCK: 12628pcs
Cargo cycle: 3~7 Days
The minimum order is 1

STM32G031J6M6
STM32G031 Cortex-M0+ MCU, 64MHz, 32KB Flash, SO-8
IN STOCK: 5600pcs
Cargo cycle: 3~7 Days
The minimum order is 1

PIC16F887-I/PT
8-bit PIC16F MCU, 14KB Flash, 368B RAM, 35 I/O, 14ch 10-bit ADC, EUSART, MSSP, TQFP-44
IN STOCK: 5215pcs
Cargo cycle: 3~7 Days
The minimum order is 1

GD32F310C8T6
Cortex-M4 Entry-level MCU, 72MHz, 64KB Flash, 8KB SRAM, LQFP-48
IN STOCK: 7547pcs
Cargo cycle: 3~7 Days
The minimum order is 1

AT89C2051-24PU
8051 8-bit MCU, 2KB Flash, 128B RAM, 15 I/O, 2x 16-bit timer, UART, analog comparator, 24MHz, 20-PDIP, -40~85C
IN STOCK: 12650pcs
Cargo cycle: 3~7 Days
The minimum order is 1

AT89C51ED2-RLTUM
8-bit 8051 MCU, 64KB Flash, 2KB RAM, 44-PLCC
IN STOCK: 10690pcs
Cargo cycle: 3~7 Days
The minimum order is 1
Quality Commitment
Every order is sourced, inspected and documented so your production line receives parts that meet specification.
Authenticity & traceability
We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.
Incoming inspection
- Visual inspection of labels, packaging, marking and date codes.
- Lot and quantity verification against the purchase order.
- Moisture-sensitivity and ESD packaging checks.
- Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.
Documentation
Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.
Warranty & returns
Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.
Counterfeit prevention
Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.
Shipping & Payment
From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.
Lead time
In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.
Carriers & tracking
We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.
Freight & insurance
Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.
Payment methods
- Bank transfer (T/T) in USD, EUR or CNY.
- PayPal for smaller or sample orders.
- Alipay / RMB transfer for domestic settlement.
A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.
Order changes & cancellation
Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.
Customs & duties
We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.
Service & Packaging
Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.
BOM sourcing & kitting
Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.
Value-added services
- Programming and firmware loading.
- Tape-and-reel, re-reeling and tray packing.
- Baking and dry-pack for moisture-sensitive parts.
- Barcode, QR and custom label generation.
Packaging options
Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.
Documentation & traceability
Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.
After-sales support
For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.
