MOS 8520 / 8520A CIA pinout

DIP-40. 1581 serial bus, fast-serial shift register, LEDs, device number, disk-change and motor lines

Pin-compatible with the 6526 (Commodore part 318029, also used in the Amiga and as an alternative in the 1571). In the 1581, port B carries the serial bus (DATA in/out, CLK in/out, ATN ACK, fast-serial direction, /WPRT, ATN IN) and PA5/PA6 drive the power and activity LEDs. Timer A clocks the fast-serial shift register out on SP with the clock on CNT. A bad U5 gives a drive that never finishes power-up (Ray Carlsen).

Open the interactive 8520 pinout

Pins

PinNameTypeSignal
1VSSgroundGround.
2PA0ioPort A bit 0.
3PA1ioPort A bit 1.
4PA2ioPort A bit 2.
5PA3ioPort A bit 3.
6PA4ioPort A bit 4.
7PA5ioPort A bit 5. 1581: power LED.
8PA6ioPort A bit 6. 1581: activity LED.
9PA7ioPort A bit 7. 1581: /DISK CHANGE.
10PB0ioPort B bit 0. 1581: serial DATA in.
11PB1ioPort B bit 1. 1581: serial DATA out.
12PB2ioPort B bit 2. 1581: serial CLK in.
13PB3ioPort B bit 3. 1581: serial CLK out.
14PB4ioPort B bit 4. 1581: ATN acknowledge.
15PB5ioPort B bit 5. 1581: fast serial direction.
16PB6ioPort B bit 6. 1581: /WPRT.
17PB7ioPort B bit 7. 1581: ATN IN (label beside PB7 on schematic 252380 sheet 3). UNVERIFIED
18/PCctrlHandshake: a LOW pulse after a port B read or write.
19TODclockTime-of-day / event counter input. 1581: no clock here; it is strapped by J1 and R5 (2.7 kΩ to +5 V) to tell the DOS a WD1770 from a WD1772 (schematic 252380 sheet 3). UNVERIFIED
20VCCpower+5 V supply.
21/IRQctrlInterrupt request, open drain.
22R/WctrlHIGH = read from the CIA, LOW = write.
23/CSctrlChip select, LOW while φ2 is HIGH.
24/FLAGctrlNegative-edge interrupt input.
25φ2clockPhase 2 clock in.
26DB7dataData bus bit 7.
27DB6dataData bus bit 6.
28DB5dataData bus bit 5.
29DB4dataData bus bit 4.
30DB3dataData bus bit 3.
31DB2dataData bus bit 2.
32DB1dataData bus bit 1.
33DB0dataData bus bit 0.
34/RESctrlReset. LOW sets every register to its reset value: ports become inputs, timer latches go to all ones, the control and other registers to zero.
35RS3addrRegister select bit 3.
36RS2addrRegister select bit 2.
37RS1addrRegister select bit 1.
38RS0addrRegister select bit 0.
39SPserialSerial port: fast-serial data in and out.
40CNTclockCount / serial clock: Timer A baud clock in output mode.

Fitted in

Sources