{"id":8924,"date":"2026-07-01T02:47:09","date_gmt":"2026-07-01T02:47:09","guid":{"rendered":"https:\/\/materialparts.com\/atmega16u2-au-2\/"},"modified":"2026-07-03T08:00:50","modified_gmt":"2026-07-03T08:00:50","slug":"atmega16u2-au-2","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/atmega16u2-au-2\/","title":{"rendered":"ATMEGA16U2-AU"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The ATMEGA16U2-AU is a Microchip 8-bit AVR MCU with 16KB Flash, 512B SRAM, 512B EEPROM, full-speed USB 2.0 device, 12MHz, and 22 I\/O. Packaged in TQFP-32, -40C to +85C.<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>\u6838\u5fc3<\/td>\n<td>AVR 8-bit RISC<\/td>\n<\/tr>\n<tr>\n<td>\u95ea\u5149\u706f<\/td>\n<td>16 KB<\/td>\n<\/tr>\n<tr>\n<td>SRAM<\/td>\n<td>512 B<\/td>\n<\/tr>\n<tr>\n<td>EEPROM<\/td>\n<td>512 B<\/td>\n<\/tr>\n<tr>\n<td>USB<\/td>\n<td>2.0 Full-speed device<\/td>\n<\/tr>\n<tr>\n<td>Speed<\/td>\n<td>16 MHz (12 MHz USB)<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>16KB Flash, 512B SRAM, 512B EEPROM<\/li>\n<li>Full-speed USB 2.0 device controller<\/li>\n<li>12MHz USB clock from internal PLL<\/li>\n<li>22 programmable I\/O pins<\/li>\n<li>UART, SPI, I2C interfaces<\/li>\n<li>4-channel 10-bit ADC<\/li>\n<li>On-chip debug via DW<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>USB peripheral devices<\/li>\n<li>Custom HID keyboards\/mice<\/li>\n<li>USB-to-serial adapter<\/li>\n<li>Arduino Uno USB interface<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The ATMEGA16U2-AU is a Microchip 8-bit AVR MCU with 16KB Flash, 512B SRAM, 512B EEPROM, full-speed USB 2.0 device, 12MHz, and 22 I\/O. Packaged in TQFP-32, -40C to +85C. Key Specifications Core AVR 8-bit RISC Flash 16 KB SRAM 512 B EEPROM 512 B USB 2.0 Full-speed device Speed 16 MHz (12 MHz [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,25],"tags":[573],"chip_brand":[134],"class_list":["post-8924","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","category-microcontrollers-mcu","tag-atmega16u2-au","chip_brand-microchip"],"acf":{"brief_explanation":"AVR MCU, 16KB Flash, USB 2.0 FS, TQFP-32","date_code":"","package_case":"32-Pin TQFP (7.0 x 7.0 x 1.0 mm)","in_stock":4500,"datasheet":"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/doc7799.pdf","price":"$2.50 @ 1ku","product_introduction":"The ATMEGA16U2-AU is a Microchip 8-bit AVR microcontroller with integrated full-speed USB 2.0 device controller in a 32-pin TQFP package. The 16KB Flash program memory, 512B SRAM, and 512B EEPROM provide sufficient resources for USB firmware stack and application code. The USB controller supports all standard USB 2.0 full-speed transfer types (Control, Interrupt, Bulk, Isochronous) with 8 configurable endpoints. An internal PLL generates the 48MHz USB clock from an external 8MHz or 12MHz crystal, or from the calibrated internal RC oscillator. The device is well-known as the USB interface chip in the Arduino Uno R2\/R3, handling the PC-to-AVR serial communication over USB. The 22 programmable I\/O pins provide flexible peripheral interfacing. Communication peripherals include UART, SPI, and I2C. A 4-channel 10-bit ADC handles analog sensing. The debugWIRE (DW) interface provides single-pin in-circuit debug access. Five sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby) minimize power consumption. Packaged in TQFP-32 rated for -40C to +85C.","working_principle":"The ATMEGA16U2 uses the AVR enhanced RISC architecture with 131 instructions, most executing in a single clock cycle. The Harvard architecture separates 16-bit instruction words from 8-bit data paths. The CPU core fetches and decodes instructions from Flash while simultaneously accessing data in SRAM or I\/O registers. The USB controller handles the USB 2.0 full-speed protocol independently, with endpoint FIFOs that buffer USB packet data. The USB controller interrupts the CPU when a USB event occurs (setup packet, data received, data sent). The PLL multiplies the crystal frequency to generate the 48MHz USB clock required for full-speed timing. The clock system supports multiple clock sources: external crystal, external clock, calibrated internal RC (8MHz), and 32kHz crystal for RTC. The power management unit controls the sleep modes, shutting down unused clock domains and peripherals. The EEPROM is byte-addressable with a dedicated erase\/write controller. The debugWIRE interface uses the RESET pin for bidirectional debug communication with the development tool.","pin_description":"<p>32-pin TQFP with 22 GPIO across Ports B, C, D. Key peripherals: USB D+\/D- (full-speed transceiver), UART0 (TX\/RX), SPI (MOSI\/MISO\/SCK\/SS), TWI (SDA\/SCL), ADC (4 channels, 10-bit), Timer0\/1 (8\/16-bit with PWM), Watchdog, debugWIRE (RESET), XTAL1\/XTAL2 (crystal), AVCC\/AGND (analog supply). Refer to datasheet for complete 32-pin TQFP mapping.<\/p>","application_scenarios":"<ul><li>USB HID custom keyboard or mouse device with 16KB Flash for firmware and descriptors<\/li>\n<li>USB-to-serial bridge adapter with UART and USB CDC class<\/li>\n<li>Arduino Uno R2\/R3 USB interface chip for PC-to-AVR communication<\/li>\n<li>USB audio or instrumentation device with isochronous endpoints and ADC<\/li><\/ul>","alternative_models":"<table><tr><th>Model<\/th><th>Manufacturer<\/th><th>Key Difference<\/th><\/tr><tr><td>ATMEGA8U2-AU<\/td><td>Microchip<\/td><td>8KB Flash, less memory<\/td><\/tr><tr><td>ATMEGA32U2-AU<\/td><td>Microchip<\/td><td>32KB Flash, more memory<\/td><\/tr><tr><td>ATMEGA32U4-AU<\/td><td>Microchip<\/td><td>32KB, more I\/O, ADC, USB<\/td><\/tr><tr><td>AT90USB162<\/td><td>Microchip<\/td><td>Similar USB AVR<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/8924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/comments?post=8924"}],"version-history":[{"count":1,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/8924\/revisions"}],"predecessor-version":[{"id":9457,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/8924\/revisions\/9457"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=8924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=8924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=8924"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=8924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}