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 |
Power and reset
RequiredUse a current-limited 5 V bench supply. Connect VCC and UVCC to the target rail and feed AVCC through the low-pass filter shown. Place the 1 µF ±10% capacitor close to UCAP and UGND. Use a 10 kΩ reset pull-up.
- Target rail
- Bench supply positive
- Ground
- Bench supply return
- Reset
- Filtered AVCC
- USB regulator output
Bench checks
- With power off, check for a short across the supply. Power on and measure voltage at every supply pin and at reset.
- The factory configuration uses the internal 8 MHz RC oscillator divided down to 1 MHz. Check CKSEL on a used device.
- Keep the USB cable disconnected for this fixture. Use the 5 V USB bus-powered example when connecting a USB host.
AN2519 §§2–3 and 7799E · Pin descriptions and clock source
Connection scenarios
Connect USART1 to a logic-level serial adapter
Use a UART adapter that supports the target’s I/O voltage. Cross the transmit and receive lines. Leave adapter power disconnected when using the bench supply.
- Transmit from MCU
- →
- Adapter RX
- Receive into MCU
- →
- Adapter TX
- Signal return
- Adapter GND
Bench checks
- Configure both sides for the same baud rate, frame length, parity and stop bits. Base the MCU baud divider on the actual clock after prescaling.
- Send a known byte such as 0x55 from the MCU and check that it arrives unchanged. If it fails, inspect TX idle voltage and bit period before attaching the adapter TX line.
7799E · USART1 asynchronous operation and pin assignments
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.
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.
