ATmega16U2 connection guide
ATmega16U2 (QFN-32) connection guide. Power and reset. Program and read the signature over ISP.
| Package | Contacts | Details |
|---|---|---|
| TQFP-32 | 32 | 32 numbered contacts. See the individual package drawings for footprint dimensions. |
| QFN-32 | 33 | 32 numbered contacts. The underside pad appears below the contact map. See the individual package drawings for footprint dimensions. |
Device variants · QFN-32
| Device | Flash | SRAM | EEPROM | Supply | Max clock | Temperature |
|---|---|---|---|---|---|---|
| ATmega16U2 | 16 KiB | 512 B | 512 B | — | — | — |
| ATmega16U2-MU | 16 KiB | 512 B | 512 B | 2.7–5.5 V | 16 MHz | -40 to +85 °C |
Connection scenarios
USB device powered from the 5 V bus
This example uses the internal USB regulator. USB connector VBUS powers VCC and UVCC. Feed AVCC through the low-pass filter shown and place the UCAP capacitor close to UCAP and UGND. Route each USB data line through its own series resistor and keep the pair short and length-matched.
- Target rail
- USB connector VBUS
- Ground
- USB connector GND
- Filtered AVCC
- USB regulator output
- Reset
- MCU D+
- ↔
- MCU D−
- ↔
- Connector D+
- USB connector D+
- Connector D−
- USB connector D−
- Crystal input
- →
- Crystal output
- ↔
Bench checks
- Check D+ end to end to pin 29 and D− end to end to pin 30. Use the pinout and pin descriptions for polarity.
- Select the external crystal mode to match the fitted crystal. For 8 MHz, set the PLL input divider to 1:1 and wait for PLL lock before enabling USB operation.
- For a separate 3.0–3.6 V regulator-bypass design, Figure 20-6 puts UVCC and UCAP on the regulated rail with the UCAP capacitor to ground. Disable the internal regulator with REGCR.REGDIS in this mode.
7799E · Figure 1-1, §§2.2, 8.4, 8.10, 8.11.6, 20.3 and 20.10.3
QFN-32 wiring map
Dashed outline shows the underside pad schematically. See the package drawing for the footprint.
1 · XTAL1
Oscillator amplifier input or external clock input, depending on clock fuses.
- Crystal input
- →
- Via 8 MHz to Crystal output · PC0 (2)
- Via C1 per crystal load rating to Ground · USB connector GND, GND (3), UGND (28), EP (EP)
Manufacturer documents
Each package lists the documented order codes and variants covered by this map. Select the marked model to see its peripheral assignments and memory. Check the exact order code and datasheet revision before laying out a PCB.
- ATmega16U2 data sheet· 7799E · Pin configuration, electrical characteristics, ordering table and serial programming.
- ATmega_DFP Device Family Pack· Machine-readable device definition: package contacts, peripheral routes, and memory sizes.
- AVR Microcontroller Hardware Design Considerations· Power supply, reset network, and programmer connection guidance.
- ATmega16U2 documentation and errata· Check current manufacturer documentation, ordering status and silicon revision applicability.
- AVR source register· Source identifiers, applicability, retrieval dates, and SHA-256 digests.
