Opens in a new tab

ATMEGA16U2-AU

8-bit AVR MCU, 16KB Flash, USB 2.0 FS device, 8 endpoints, 32-TQFP

8920

Effective Inventory

Image for reference only

Manufacturer Part:

ATMEGA16U2-AU

Package:

32-Pin TQFP (7.0 x 7.0 x 1.05 mm)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Other recommendations you may be interested in.

Description

Product Overview

The ATMEGA16U2-AU is a Microchip 8-bit AVR microcontroller with 16 KB Flash, 512 B SRAM, 512 B EEPROM, full-speed USB 2.0 device controller with 8 endpoints, and 22 GPIO. It operates at 16 MHz with 2.7V to 5.5V supply in a 32-pin TQFP package rated for -40C to +85C.

Key Specifications

Core AVR 8-bit, 16 MHz
Flash 16 KB
SRAM 512 bytes
EEPROM 512 bytes
USB USB 2.0 Full-Speed device
I/O 22 pins

Features

  • AVR RISC architecture, 16 MIPS at 16 MHz
  • 16 KB Flash, 512 B SRAM, 512 B EEPROM
  • USB 2.0 full-speed device controller
  • 8 USB endpoints (configurable)
  • USART, SPI, I2C interfaces
  • 4 PWM channels, 8-bit and 16-bit timers
  • On-chip debug via debugWIRE

Applications

  • USB serial converter (Arduino Uno)
  • Custom USB HID devices
  • USB-to-SPI/I2C bridges
  • Consumer USB peripherals
Product Introduction: ATMEGA16U2-AU Product Introduction

The ATMEGA16U2-AU is a Microchip 8-bit AVR microcontroller with integrated USB 2.0 full-speed device controller. It provides 16 KB Flash, 512 B SRAM, and 512 B EEPROM for firmware and data storage. The USB controller supports 8 configurable endpoints, enabling implementation of various USB device classes (CDC, HID, custom). The AVR core executes up to 16 MIPS at 16 MHz with 32 general-purpose registers. Peripheral interfaces include USART, SPI, and I2C for connecting external devices. The device is widely used as the USB-to-serial bridge in Arduino Uno boards. Packaged in 32-pin TQFP rated for -40C to +85C with 2.7V to 5.5V operation.

Working Principle: ATMEGA16U2-AU Working Principle

The ATMEGA16U2 combines an AVR RISC core with a USB 2.0 full-speed device controller. The AVR core fetches and executes instructions from Flash, accessing data in SRAM and EEPROM. The USB controller handles all USB protocol requirements: SIE (Serial Interface Engine) manages packet formatting, CRC generation/checking, NRZI encoding/decoding, and bit stuffing. Endpoint buffers in SRAM store USB data for IN and OUT transfers. The USB controller generates interrupts on USB events (reset, suspend, SOF, endpoint transfers), allowing firmware to respond. The PLL generates the 48 MHz USB clock from the external 16 MHz crystal. Firmware implements the USB device descriptor and class-specific protocols (e.g., CDC for virtual COM port, HID for keyboard/mouse).

Pin Description: ATMEGA16U2-AU Pin Definition and Functions

32-pin TQFP with 22 GPIO: Port B (PB0-PB7), Port C (PC2-PC7), Port D (PD0-PD7), plus XTAL1/XTAL2 (16MHz crystal), RESET, VCC/AVCC (3.3-5V), GND, UGND (USB ground), UVCC (USB supply), D+/D- (USB data), UCAP (USB internal reg cap). Refer to datasheet for complete 32-pin mapping.

Application Scenarios: In which products and applications is ATMEGA16U2-AU used
  • USB-to-UART serial converter (Arduino Uno USB bridge, CDC class)
  • Custom USB HID devices (keyboard, mouse, game controller)
  • USB-to-SPI/I2C bridge for embedded system programming and debug
  • Consumer USB peripherals with custom device class firmware
Alternative Models: What chips are recommended as replacements for ATMEGA16U2-AU
Model Manufacturer Key Difference
ATMEGA8U2-AU Microchip 8KB Flash, lower cost
ATMEGA32U2-AU Microchip 32KB Flash, more memory
ATMEGA32U4-AU Microchip 32KB, more GPIO, ADC
AT90USB162 Microchip 16KB, fewer pins, USB only

Recommend Parts

IRFS4310ZTRLPBF

IRFS4310ZTRLPBF – 100V N-Channel HEXFET Power MOSFET, 7 mΩ RDS(on), D2PAK (TO-263AB)

Brand: infineon

Package: D2PAK (TO-263AB)

IN STOCK: 11137pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MSASJ105BB5475MFNA01

4.7uF 6.3V X5R MLCC, 0402, Taiyo Yuden

Brand: gigadevice

Package: 0402 (1005 Metric, 1.0 x 0.5 x 0.5 mm)

IN STOCK: 9701pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRF3415PBF

150V N-channel power MOSFET, 43A, 41mΩ RDS(on), TO-220AB package

Brand: infineon

Package: TO-220AB

IN STOCK: 2940pcs

Cargo cycle: 3-7 Days

The minimum order is 1

105017-1001

USB Type-C receptacle connector, 24-pin, SMD

Brand: Amphenol

Package: SMD (8.9 x 7.3 x 3.2 mm, right angle)

IN STOCK: 5335pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRLB3034PBF

IRLB3034PBF – 40V N-Channel StrongIRFET Power MOSFET (Logic Level), 1.7 mΩ (max) @ 10V; 2.0 mΩ @ 4.5V RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 9724pcs

Cargo cycle: 3-7 Days

The minimum order is 1

XC6SLX75-2FGG484I

Spartan-6 LX75 FPGA, 74637 logic cells, 132 DSP, 3096KB BRAM, 408 I/O, FBGA-484 23x23mm, -2 speed, industrial -40~100C, AMD Xilinx

Brand: xilinx

Package: FGG484 (484-ball fine-pitch BGA, 23x23mm body, 1.0mm ball pitch, 22×22 ball array, 6 I/O banks, lead-free)

IN STOCK: 890pcs

Cargo cycle: 3-7 Days

The minimum order is 1