ATmega1284 / ATmega1284P / ATmega644 / ATmega32 connection guide
ATmega1284 / ATmega1284P / ATmega644 / ATmega32 (QFN-44) connection guide. Power and reset. Program and read the signature over ISP.
| Package | Contacts | Details |
|---|---|---|
| TQFP-44 | 44 | 44 numbered contacts. See the individual package drawings for footprint dimensions. |
| PDIP-40 | 40 | 40 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. |
Device variants · QFN-44
| Device | Flash | SRAM | EEPROM | Supply | Max clock | Temperature |
|---|---|---|---|---|---|---|
| ATmega1284 | 128 KiB | 16 KiB | 4 KiB | — | — | — |
| ATmega1284-MU | 128 KiB | 16 KiB | 4 KiB | 1.8–5.5 V | 20 MHz | -40 to +85 °C |
| ATmega1284-MUR | 128 KiB | 16 KiB | 4 KiB | 1.8–5.5 V | 20 MHz | -40 to +85 °C |
| ATmega1284P | 128 KiB | 16 KiB | 4 KiB | — | — | — |
| ATmega1284P-MU | 128 KiB | 16 KiB | 4 KiB | 1.8–5.5 V | 20 MHz | -40 to +85 °C |
| ATmega1284P-MUR | 128 KiB | 16 KiB | 4 KiB | 1.8–5.5 V | 20 MHz | -40 to +85 °C |
| ATmega644 | 64 KiB | 4 KiB | 2 KiB | — | — | — |
| ATmega644V-10MU | 64 KiB | 4 KiB | 2 KiB | 1.8–5.5 V | 10 MHz | -40 to +85 °C |
| ATmega644-20MU | 64 KiB | 4 KiB | 2 KiB | 2.7–5.5 V | 20 MHz | -40 to +85 °C |
| ATmega32 | 32 KiB | 2 KiB | 1 KiB | — | — | — |
| ATmega32L-8MU | 32 KiB | 2 KiB | 1 KiB | 2.7–5.5 V | 8 MHz | -40 to +85 °C |
| ATmega32L-8MUR | 32 KiB | 2 KiB | 1 KiB | 2.7–5.5 V | 8 MHz | -40 to +85 °C |
| ATmega32-16MU | 32 KiB | 2 KiB | 1 KiB | 4.5–5.5 V | 16 MHz | -40 to +85 °C |
| ATmega32-16MUR | 32 KiB | 2 KiB | 1 KiB | 4.5–5.5 V | 16 MHz | -40 to +85 °C |
Power and reset
RequiredUse 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
- →
Bench checks
- With power off, check for a short across the supply. Power on and measure voltage at every supply pin and at reset.
- This bench circuit powers AVCC directly from VCC with the ADC idle. For ADC conversions, feed AVCC from VCC through a low-pass filter.
- 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 2503Q · Pin descriptions and clock source
Connection scenarios
Connect an I²C device
Connect SDA and SCL to the matching lines on the external device and share ground. Each open-drain line needs a pull-up to a rail compatible with both devices. Use one effective pull-up per line and size it for the bus capacitance and speed.
- I²C data
- ↔
- Peripheral SDA
- I²C clock
- ↔
- Peripheral SCL
- Common ground
- Peripheral GND
- Pull-up rail
- Compatible bus supply
Bench checks
- Verify that both lines idle high at the expected bus voltage and that a device acknowledges its address.
2503Q · Two-wire Serial Interface, Electrical Interconnection
QFN-44 wiring map
Dashed outline shows the underside pad schematically. See the package drawing for the footprint.
2 · PB6
General-purpose digital I/O. Alternate assignments: MISO (SPI).
Wiring requirements
SPI master with PB4/SS as input. Hold PB4/SS HIGH. A LOW clears MSTR in SPCR, switches the SPI to slave mode, and makes MOSI and SCK inputs.
SPI master with PB4/SS as output. PB4 can drive a peripheral’s chip select. Its output level has no effect on MSTR.
After reset · GPIO driver is high impedance during reset. Clock, debug, and alternate-function use depend on fuse and peripheral configuration.
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.
- ATmega1284/ATmega1284P data sheet· DS40002070B · Pin configuration, electrical characteristics, ordering table and serial programming.
- ATmega644 data sheet· 2593O · Pin configuration, electrical characteristics, ordering table and serial programming.
- ATmega32 data sheet· 2503Q · 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.
- ATmega1284 documentation and errata· Check current manufacturer documentation, ordering status and silicon revision applicability.
- ATmega1284P documentation and errata· Check current manufacturer documentation, ordering status and silicon revision applicability.
- ATmega644 documentation and errata· Check current manufacturer documentation, ordering status and silicon revision applicability.
- ATmega32 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.
