Spark Logic

ATmega32U4 connection guide

ATmega32U4 (QFN-44) connection guide. Power, reset and crystal. Program and read the signature over ISP.

PackageContactsDetails
TQFP-44 44 44 numbered contacts. See the individual package drawings for footprint dimensions.
QFN-44 45 44 numbered contacts. The underside pad appears below the contact map. See the individual package drawings for footprint dimensions.

Microchip Technology

Device variants · QFN-44

DeviceFlashSRAMEEPROMSupplyMax clockTemperature
ATmega32U4 32 KiB 2.5 KiB 1 KiB — — —
ATmega32U4-MU 32 KiB 2.5 KiB 1 KiB 2.7–5.5 V 16 MHz -40 to +85 °C
ATmega32U4RC-MU 32 KiB 2.5 KiB 1 KiB 2.7–5.5 V 16 MHz -40 to +85 °C

Connection scenarios

USB self-powered · 3.0–3.6 V bypass

Feed UCAP, VCC and AVCC from the same external 3.0–3.6 V rail. Leave UVCC open. USB VBUS goes to the monitor input. Wire the two data lines through their respective resistors and share ground with the USB connector. This circuit shows an 8 MHz crystal and a direct AVCC feed for operation with the ADC unused.

  • USB VBUS
    • USB connector VBUS
    • →
  • Ground
    • USB connector GND
  • External 3.0–3.6 V rail
    • External 3.0–3.6 V supply
  • D− at MCU
    • ↔
  • D− at connector
    • USB connector D−
  • D+ at MCU
    • ↔
  • D+ at connector
    • USB connector D+
  • Reset
    • →
  • Crystal input
    • →
  • Crystal output
    • →
22 Ω ±5% between D− at MCU and D− at connectorD− at MCU22 Ω ±5%D− at connector
22 Ω ±5% between D+ at MCU and D+ at connectorD+ at MCU22 Ω ±5%D+ at connector
1 µF ±10% between External 3.0–3.6 V rail and GroundExternal 3.0–3.6 V rail1 µF ±10%Ground
10 µF (recommended) between USB VBUS and GroundUSB VBUS10 µF (recommended)Ground
100 nF per supply pair between External 3.0–3.6 V rail and GroundExternal 3.0–3.6 V rail100 nF per supply pairGround
10 kΩ between External 3.0–3.6 V rail and ResetExternal 3.0–3.6 V rail10 kΩReset
8 MHz between Crystal input and Crystal outputCrystal input8 MHzCrystal output
C1 · per crystal CL between Crystal input and GroundCrystal inputC1 · per crystal CLGround
C2 · per crystal CL between Crystal output and GroundCrystal outputC2 · per crystal CLGround

Bench checks

  • Use a separate 22 Ω ±5% series resistor on each data line. Route D− and D+ as a short differential pair.
  • Clear UHWCON.UVREGE for regulator bypass.
  • Wire connector VBUS to the VBUS monitor and set USBCON.OTGPADE. Wait for VBUS status before attaching.
  • Atmel recommends 10 µF from VBUS to ground. Account for total capacitance and inrush at the connector.
  • Use an 8 or 16 MHz crystal or external clock and configure the PLL for a 48 MHz USB clock. Verify PLL lock before attach.
  • For an external clock instead of a crystal, select external clock mode, drive XTAL1 and leave XTAL2 open. The factory-calibrated internal 8 MHz RC oscillator can feed the PLL for low-speed USB over 0–40 °C.
  • Power both AVCC pins. Feed them from VCC directly with the ADC unused, or through a low-pass filter for ADC operation.
  • With HWBE programmed (0), hold PE2/HWB LOW as RESET rises and through the specified hold interval (Table 29-6) to start at the bootloader address. HIGH leaves the reset vector to the other boot settings.

7766J · Figure 21-6 (p. 259), §§6.1.5, 6.6, 21.4–21.5 and 21.11–21.13

QFN-44 wiring map

External wiring example · USB self-powered · 3.0–3.6 V bypass · Full-speed example with an 8 MHz crystal

Highlighted contacts are used in this circuit. Select a contact to highlight its wiring nets.

QFN-44 · Marking side · Pin 1 at the upper left
Dashed outline shows the underside pad schematically. See the package drawing for the footprint.
Selected pin details

1 · PE6

Bidirectional · GPIO

General-purpose digital I/O. Alternate assignments: INT6 (EXINT), AIN0 (AC).

After reset · GPIO driver is high impedance during reset. Clock, debug, and alternate-function use depend on fuse and peripheral configuration.

7766J · Pinout and peripheral signal descriptions

Electrical limits · Pin in the reference

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.