251828 (64H156) 40/42-pin gate array pinout

DIP-40. Read/write, byte-ready, sync, stepper phases, serial ATN acknowledge and CPU clock select (1541B/C, 1541-II, 1571)

The second-generation drive gate array. 251828-01 is 40 pins (shown here); 251828-02 is 42 pins with the same pins 1-20, two extra pins 21-22, and pins 21-40 renumbered 23-42 (so OSC is 23, Vcc 32, BYTE 42). The 1571 service manual draws 21 as VCC and 22 as GND on the 42-pin part but its table calls them N/C; schematic 355207 shows 21 to +5 V and 22 to ground. ACCL selects a 1 MHz (1541) or 2 MHz (1571) CPU clock on CK. Ray Carlsen has never seen a bad one.

Open the interactive 251828 pinout

Pins

PinNameTypeSignal
1TESTctrlTest input used in design verification.
2YB0dataRead/write data bit 0, to the disk VIA port A.
3YB1dataRead/write data bit 1.
4YB2dataRead/write data bit 2.
5YB3dataRead/write data bit 3.
6YB4dataRead/write data bit 4.
7YB5dataRead/write data bit 5.
8YB6dataRead/write data bit 6.
9YB7dataRead/write data bit 7.
10VSSgroundGround.
11STP1ctrlStepper count bit, from the disk VIA port B. UNVERIFIED
12STP0ctrlStepper count bit, from the disk VIA port B. UNVERIFIED
13MTRctrlMotor control from the disk VIA PB2 (the manual says it activates the motor).
14ActrlWrite protect input: disk is write protected.
15DS0ctrlDensity select bit 0: sets the bit-clock divide ratio for the zone.
16DS1ctrlDensity select bit 1.
17SYNCctrlSync output to the disk VIA PB7 (LOW while a sync mark is read).
18TEDctrlLOW clears BYTE in 2 MHz mode; HIGH sets 1541 mode.
19OEctrlRead/write mode: 0 write, 1 read. From the disk VIA CB2.
20ACCLctrlCPU clock select: 0 = 1 MHz (1541), 1 = 2 MHz (1571).
21OSCclock16 MHz clock in.
22ATNAserialAttention acknowledge from the serial VIA PB4.
23ATNIserialATN line in from the serial bus.
24ATNserialATN output: gates the serial DATA line through U16 (1571 block diagram and schematic 310420). The function table on p. 8 calls it an input. UNVERIFIED
25Y0ctrlStepper phase 0 output.
26Y1ctrlStepper phase 1 output.
27Y2ctrlStepper phase 2 output.
28Y3ctrlStepper phase 3 output.
29/XRWctrlRAM write enable output.
30VCCpower+5 V supply.
31CLRctrlHIGH when the read data is a logic 1. On the 1571 it comes from the 251829 saddle canceller.
32PLLclockClock compensation from the 20-pin gate array.
33LOCKctrlPLL lock: 1 = locked, 0 = internal sampling clock in use.
34R/WctrlCPU R/W select input.
35QioWrite pulse output.
36QXioWrite pulse output (complement).
37CKclockCPU clock out, 1 or 2 MHz.
38BctrlWrite enable output.
39SOEctrlEnable byte (byte-ready enable) from the disk VIA CA2.
40/BYTEctrlData latched (byte ready). To the disk VIA CA1 and the 6502 SO pin.

Fitted in

Sources