Previous thread:
5719 dissection //Amiga GARY, CMOS gate array.
First: thanks to all those who make these chip dissections possible.
This thread is about a transistor level dissection of the MOS 8551 ACIA (Asynchronous Communications Interface Adapter),
brought to you by Frank Wolf and ttlworks, with a short cameo appearance of Andrew Holme.
The 8551 is the HMOS-II implementation of the 6551.
6551 was used in the Commodore PET, 8551 was used in the Commodore Plus/4.
There were peripheral cards with 6551 for C64, C128 and Apple II.
Since we were unable to find an 8551 datasheet in the internet:
The
6551 is a
UART (Universal asynchronous receiver-transmitter)
for implementing
RS232 serial communication.
With a 1.8432MHz crystal tied to the XTAL1\XTAL2 pins of the Baud rate generator oscillator,
it supports 15 Baud rates ranging from 50 Baud to 19200 Baud (19.2kBaud).
Higher Baud rates might be possible when using an external clock instead of the 1.8432MHz crystal.
Data Bits: 5..8, Parity: even/odd/none/SPACE/MARK, Stopbits: 1/1.5/2 (depending on the amount of Data Bits).
Unlike modern UARTs, 6551 has no FIFO, but only a one Byte buffer instead.
Means that at
19200-8-N-1, your CPU might have ca. 520µs of time "to do something" with the received Byte.
(19200-8-N-1 means: Startbit, 8 Data Bits, no Parity, 1 Stopbit. That's 10 Bits. At 19.2kBaud, one Bit takes 1s/19200=52.08µs)
;
If you are scrolling a 40*25 screen of text by software with a 1MHz 6502 while interpreting
ANSI escape sequences,
you better be aware of this.
;---
Unfortunately, we were unable to find an 8551 datasheet in the internet.
We don't know what changes/bugfixes MOS had done for the different 6551/8551 revisions,
and we also don't know what changes/bugfixes MOS had done when switching from the 6551 to the 8551.
8551R2 (revision 2) is supposed to be the last version that MOS\CSG\Commodore had in production.
Rockwell was a second source manufacturer for the NMOS 6551.
Later, second source manufacturers for the CMOS 6551 included Rockwell (R65C51) and Harris (CDP65C51).
WDC still manufactures the CMOS W65C51.
Be aware, that there are little differences between these chips:
Hardware or programmed reset might have a different effect the Bits in the Command register,
and the crystal oscillator circuitry might be different.
//For practical use of the chip, I think it might be a good idea to permanently tie the CTS# pin to GND.
Datasheets:
NMOS:
MOS 6551, Dec. 1980.
Rockwell R6551, Jan. 1981.
CMOS:
Rockwell R65C51, 1989, page 6-185 (PDF page 1016) //flow control explained.
WDC W65C51N, Jun. 2017
Harris CDP65C51, Jan. 1991 //flow control explained.
;---
Note:
For consistence with Frank's notation, low_active signals are named foo#, not /foo.
Orientation for all the chip pictures: D3 pad is North.