Spark Logic

ATtiny88 connection guide

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

PackageContactsDetails
QFN-28 29 28 numbered contacts. The underside pad appears below the contact map. See the individual package drawings for footprint dimensions.
PDIP-28 28 28 numbered contacts. See the individual package drawings for footprint dimensions.
TQFP-32 32 32 numbered contacts. See the individual package drawings for footprint dimensions.
UFBGA-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.

Microchip Technology

Device variants · TQFP-32

DeviceFlashSRAMEEPROMSupplyMax clockTemperature
ATtiny88 8 KiB 512 B 64 B — — —
ATtiny88-AU 8 KiB 512 B 64 B 1.8–5.5 V 12 MHz -40 to +85 °C
ATtiny88-AUR 8 KiB 512 B 64 B 1.8–5.5 V 12 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.
  • 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 board against the selected package before substituting ATtiny88. In PDIP-28, pin 21 is PC7 on ATtiny88 and AREF on ATmega168 and ATmega8. On the 32-pin TQFP and QFN pinouts, ATtiny88 uses pin 20 for PC7 where ATmega168 and ATmega8 use AREF.
  • 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 8008H · 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
SDA pull-up between Pull-up rail and I²C dataPull-up railSDA pull-upI²C data
SCL pull-up between Pull-up rail and I²C clockPull-up railSCL pull-upI²C clock

Bench checks

  • Verify that both lines idle high at the expected bus voltage and that a device acknowledges its address.

8008H · Two-wire Serial Interface, Electrical Interconnection

TQFP-32 wiring map

External wiring example · Connect an I²C device

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

TQFP-32

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

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

1 · PD3

Bidirectional · GPIO

General-purpose digital I/O. Alternate assignments: PCINT19 (EXINT), INT1 (EXINT).

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

8008H · 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.