Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

ATMEGA640-16AU

Microchip 8-bit AVR MCU, 64KB Flash, 16MHz, 86 I/O, TQFP-100, dual USART, JTAG

Effective inventoryPCS

13004
in stock

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
The ATMEGA640-16AU from Microchip (formerly Atmel) is a high-performance 8-bit AVR RISC microcontroller with 64KB of in-system programmable Flash memory, 8KB of SRAM, and 2KB of EEPROM. Running at clock frequencies up to 16MHz, the AVR core executes most instructions in a single clock cycle, delivering up to 16 MIPS throughput. The device features 86 programmable I/O pins in a 100-pin TQFP package, providing ample connectivity for complex embedded applications. The peripheral set includes two 8-bit and two 16-bit timer/counters, 6 PWM channels, a 16-channel 10-bit ADC with 65~260kSPS throughput, dual USARTs for serial communication, an SPI port, and an I2C-compatible TWI port. The JTAG interface supports on-chip debugging and boundary scan, simplifying development and production testing. Power management features include Idle mode (0.5mA), ADC Noise Reduction mode, and Power-save mode (1uA) with RTC operation from a 32kHz watch crystal.
02ATMEGA640-16AU · Working Principle
The ATMEGA640-16AU is based on the AVR enhanced RISC architecture, which uses a two-stage pipeline: while one instruction is being executed, the next instruction is being pre-fetched from Flash, enabling single-cycle execution for most instructions. The 32 x 8-bit general-purpose register file is directly connected to the arithmetic logic unit (ALU), allowing independent access in a single clock cycle. The Flash memory is organized as 32K x 16-bit words and supports in-system programming (ISP) via SPI, JTAG, or self-programming from application code. The ADC uses a successive approximation method with sample-and-hold, configurable input multiplexer, and selectable 2.56V internal reference. The USART supports full-duplex asynchronous communication with frame error and parity error detection, as well as master/slave SPI operation. Interrupt vectors are prioritized by hardware, with each peripheral having its own vector address in the program memory.
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.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

MTR7519-I/PT

3-phase MOSFET pre-driver, BLDC motor, 28-PDIP Industrial

Brand: MICROCHIPPackage: 28-PDIP

IN STOCK: 6345pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC18F45K22-I

PIC18 XLP MCU, 32KB Flash, 1.5KB RAM, 256B EEPROM, 28-ch 10-bit ADC, 5 PWM, 2 comp, dual SPI/I2C, EUSART/LIN, CTMU, HLVD, 64MHz, 40/44-pin

Brand: MICROCHIPPackage: 40-pin PDIP / 44-pin TQFP / QFN

IN STOCK: 9320pcs

Cargo cycle: 3~7 Days

The minimum order is 1

ATMEGA32A-AU

8-bit AVR MCU, 32KB Flash, 2KB SRAM, 1KB EE, 16MHz, 32 I/O, JTAG, TQFP-44

Brand: MICROCHIPPackage: TQFP-44 (10 x 10 x 1.0mm)

IN STOCK: 14135pcs

Cargo cycle: 3~7 Days

The minimum order is 1

LPC1788FBD144

Cortex-M3 120MHz MCU, 512KB Flash, 96KB RAM, Ethernet, USB, LCD, LQFP-144

Brand: NXPPackage: LQFP-144 (20 x 20 mm)

IN STOCK: 4718pcs

Cargo cycle: 3~7 Days

The minimum order is 1

GD32F105VCT6

Cortex-M3 Connectivity MCU, 108MHz, 256KB Flash, 96KB SRAM, USB OTG, LQFP-100

Brand: gigadevicePackage: LQFP-100 (14x14mm, 0.5mm pitch)

IN STOCK: 4223pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32F030C6T6

Cortex-M0 MCU, 48 MHz, 32KB Flash, 4KB RAM, LQFP-48

Brand: STPackage: LQFP-48 (7 x 7 x 1.4 mm)

IN STOCK: 12476pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

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

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

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.