Spark Logic

ATmega2560 connection guide

ATmega2560 (TQFP-100) connection guide. Power and reset. Program and read the signature over ISP.

PackageContactsDetails
TQFP-100 100 100 numbered contacts. See the individual package drawings for footprint dimensions.
CBGA-100 100 100 numbered contacts. See the individual package drawings for footprint dimensions.

Microchip Technology

Device variants · TQFP-100

DeviceFlashSRAMEEPROMSupplyMax clockTemperature
ATmega2560 256 KiB 8 KiB 4 KiB — — —
ATmega2560V-8AU 256 KiB 8 KiB 4 KiB 1.8–5.5 V 8 MHz -40 to +85 °C
ATmega2560V-8AUR 256 KiB 8 KiB 4 KiB 1.8–5.5 V 8 MHz -40 to +85 °C
ATmega2560-16AU 256 KiB 8 KiB 4 KiB 4.5–5.5 V 16 MHz -40 to +85 °C
ATmega2560-16AUR 256 KiB 8 KiB 4 KiB 4.5–5.5 V 16 MHz -40 to +85 °C

Power and reset

Required

Use a current-limited supply at a voltage permitted by the order code and system clock. Tie the listed supply pins to that rail. Fit one 100 nF ceramic capacitor close to each supply-and-ground pair. Use a 10 kΩ reset pull-up for this bench circuit.

  • Target rail
    • Bench supply positive
  • Ground
    • Bench supply return
  • Reset
    • →
100 nF per supply pair between Target rail and GroundTarget rail100 nF per supply pairGround
10 kΩ between Target rail and ResetTarget rail10 kΩReset

Bench checks

  • With power off, check for a short across the supply. Power on and measure voltage at every supply pin and at reset.
  • Check the clock source configured by CKSEL. If a used part expects an external clock, provide it before attempting serial programming.

AN2519 §§2–3 and 2549Q · Pin descriptions and clock source

Connection scenarios

Connect USART2 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.

USART2 TX connects to adapter RX. USART2 RX connects to adapter TX. Both share ground.UART adapterAVR targetRXPH1 · TXDTXPH0 · RXDGNDGND
  • 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.

2549Q · USART2 asynchronous operation and pin assignments

TQFP-100 wiring map

External wiring example · Connect USART2 to a logic-level serial adapter

Highlighted contacts are used in the required step or selected circuit. Select a contact to highlight its wiring nets.

TQFP-100

1 · PG5 · Left side, contact 1 from the top

Marking side · Pin 1 at the upper left
Selected pin details

1 · PG5

Bidirectional · GPIO

General-purpose digital I/O. Alternate assignments: OCB (TC0).

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

2549Q · 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.