8253-5 programmable interval timer pinout

DIP-24. Three 16-bit counters: time-of-day tick, DRAM refresh pacing and the speaker tone.

Three counters at port $40, each clocked at 1.19 MHz on the PC (PCLK divided by 2). Counter 0 makes IRQ0, the time-of-day tick. Counter 1 requests DRAM refresh on DMA channel 0. Counter 2, gated by PPI PB0, drives the speaker and, on the 5150, cassette data out. On the 5150 (U34) GATE0 and GATE1 are tied to +5 V and all three CLK pins share the 1.19 MHz clock. A dead timer gives the one-long-one-short beep and failing memory. PCjr (ZM23): no DMA refresh. Counter 1 helps the BIOS deserialize keyboard data, or counts timer 0 overflows during diskette I/O; port $A0 bit 5 picks its clock.

Open the interactive 8253 pinout

Pins

PinNameTypeSignal
1D7dataData bus bit 7.
2D6dataData bus bit 6.
3D5dataData bus bit 5.
4D4dataData bus bit 4.
5D3dataData bus bit 3.
6D2dataData bus bit 2.
7D1dataData bus bit 1.
8D0dataData bus bit 0.
9CLK0clockCounter 0 clock. PC: 1.19 MHz. PCjr: 1.1925 MHz from ZM34 (74LS112) pin 9, shared with CLK2.
10OUT0ctrlCounter 0 output. PC: IRQ0, the timer interrupt.
11GATE0ctrlCounter 0 gate. PCjr: tied to +5 V.
12GNDgroundGround.
13OUT1ctrlCounter 1 output. PC: clocks the refresh-request flip-flop that drives DMA DREQ0. PCjr: not connected; the BIOS reads counter 1 to time keyboard bits.
14GATE1ctrlCounter 1 gate. PCjr: tied to +5 V.
15CLK1clockCounter 1 clock. PC: 1.19 MHz. PCjr: 1.1925 MHz, or timer 0 OUT0 when port $A0 bit 5 is 1.
16GATE2ctrlCounter 2 gate. PC: from PPI PB0 (timer 2 gate speaker). PCjr: from 8255 PB0.
17OUT2ctrlCounter 2 output. PC: speaker tone (gated with PPI PB1), read back on PPI PC5; on the 5150 also cassette data out. PCjr: speaker tone, gated with 8255 PB1 in ZM1 (74LS08); read back on 8255 PC5; also cassette data out and the IR receiver test.
18CLK2clockCounter 2 clock. PC: 1.19 MHz. PCjr: 1.1925 MHz, as CLK0.
19A0addrAddress bit 0. With A1 selects counter 0, 1, 2 or the control word.
20A1addrAddress bit 1.
21/CSctrlChip select, active LOW. PC: ports $40 to $43.
22/RDctrlRead strobe, active LOW.
23/WRctrlWrite strobe, active LOW.
24VCCpower+5 V supply.

Fitted in

Sources