Jump to content

Atari 520ST RS-232 Port Repair

From RetroTechCollection
Atari 520ST RS-232 port (schematic C070231 sheet 1)
The RS-232 port J4 on Atari's 520ST schematic, with the 1488 driver U14 (top and bottom) and the 1489 receiver U13 (middle). U14 runs from +12 V and −12 V on pins 14 and 1.

The Atari 520ST has a 25-pin RS-232 port, labelled Modem on the back panel, run by the MC68901 MFP, U11. Transmit and receive data go through a 1488 line driver, U14, and a 1489 receiver, U13; the handshake outputs come from the YM2149 sound chip and the handshake inputs go to the MFP.[1][2] The 1488 needs both +12 V and −12 V, which the 520ST takes from its external supply, so a fault on either rail kills the port while the rest of the machine works. The 260ST, 520ST+ and 520STM share the circuit.[3]

The procedure below follows Howard W. Sams's tests for each line of the 520ST port, with Atari's diagnostic cartridge codes.[4]

Symptoms

[edit | edit source]
  • The port neither sends nor receives. Atari's checklist names the MFP, the receiver, the driver, the YM2149 and the ±12 V supply.[2]
  • Data goes out but nothing comes in, or the reverse.[4]
  • A modem or printer does not see the computer's handshake, or the computer ignores the device's.[4]
  • Diagnostic cartridge errors S0 to SB. S0 is no data through the loop-back plug; S1 a mismatch; S2 to S8 point at the MFP (S4 and S5 possibly the Glue); S9, SA and SB are the handshake loop-backs DTR to RI, DTR to DCD and RTS to CTS.[2]

Atari notes that its test does not fully check the drivers' output strength: if the test passes but the port fails in use, the 1488 or 1489 is probably bad.[2]

Tools and parts

[edit | edit source]
  • A multimeter and an oscilloscope or logic probe.
  • A TTL function generator set to a 5 V, 5 kHz square wave, and a 1 kΩ, ¼ W resistor.[4]
  • ST BASIC.[4]
  • Parts: 1488 (U14), 1489 (U13), MC68901 (U11).[1]
RS-232 lines on the 520ST (schematic C070231)
J4 pin Signal Direction Chip and pins Bead
2 Transmitted data Out U14 pins 9, 10 → 8 L72
3 Received data In U13 pin 1 → 3 L71
4 Request to send Out U14 pin 2 → 3 L70
5 Clear to send In U13 pin 13 → 11 L69
8 Carrier detect In U13 pin 4 → 6 L67
20 Data terminal ready Out U14 pins 12, 13 → 11 L68
22 Ring indicator In U13 pin 10 → 8 L73
7 Signal ground – – –

Source: the schematic.[1]

Procedure

[edit | edit source]

Open the machine

[edit | edit source]

Atari's sequence for the short case:[2]

  1. Unplug the supply. Turn the computer over and remove the six screws from the bottom case.
  2. Turn it upright, lift off the top case and unplug the keyboard at the right front of the board.
  3. Remove the three screws at the front edge of the board and the three at the rear, reached through holes in the shield, and lift the board assembly out.
  4. Straighten the ten twist tabs and lift off the top shield. Reconnect the keyboard, supply and monitor to work on the board.

Supply and clock

[edit | edit source]
  1. Check for +12 V at U14 pin 14 and −12 V at U14 pin 1. If either is missing, check the supply; see Atari 520ST Power Supply Repair.[4]
  2. Check the connector J4 for good joints.[4]
  3. Check for the MFP's clock waveform at U11 pin 17. If it is missing, check the crystal Y1, the capacitors C10 and C11, and U11.[4]

Transmitted data

[edit | edit source]
  1. In BASIC, run SAMS's line, which sends data to the port continuously:[4]
10 OUT 1,100: GOTO 10
  1. Check for pulses at U11 pin 8. If they are missing, U11 is at fault.[4]
  2. Check U14 pin 8. Pulses at U11 pin 8 but not at U14 pin 8 point at U14.[4]
  3. Check J4 pin 2. Pulses at U14 pin 8 but not at J4 pin 2 point at L72.[4]

Received data

[edit | edit source]
  1. Connect the function generator's TTL output, 5 V at 5 kHz, to J4 pin 3.[4]
  2. Check for pulses at U13 pin 1. If they are missing, check L71.[4]
  3. Check U11 pin 9. Pulses at U13 pin 1 but not at U11 pin 9 point at U13; pulses at U11 pin 9 with no data received point at U11. Remove the signal afterwards.[4]

Handshake outputs

[edit | edit source]
  1. Check for a logic low at pins 17 and 18 of the YM2149, U19. If they are not low, U19 is at fault.[4]
  2. With U19 pins 17 and 18 low, check for a logic high at U14 pins 3 and 11. If either is wrong, U14 is at fault.[4]
  3. Check for a high at J4 pins 4 and 20. If pin 4 is not high, check L70; if pin 20 is not high, check L68.[4]

Handshake inputs

[edit | edit source]

For each input, feed +5 V through the 1 kΩ resistor into the J4 pin and check for a logic low at the 1489's output:[4]

  1. J4 pin 3: U13 pin 3 low. If not, check U13 and L71.
  2. J4 pin 5: U13 pin 11 low. If not, check U13 and L69.
  3. J4 pin 8: U13 pin 6 low. If not, check U13 and L67.
  4. J4 pin 22: U13 pin 8 low. If not, check U13 and L73.

Reassemble

[edit | edit source]

Refit the top shield and its tabs, the board and its six screws, the keyboard and the top case, with the longer case screws at the rear.[2]

Testing

[edit | edit source]
  • Fit an RS-232 loop-back plug and run the cartridge's RS-232 test, which checks the handshake lines first and then the data at speeds from 300 to 19,200 bit/s, by polling and by interrupt.[2]
  • Connect a terminal or another computer at 9600 bit/s, 8 data bits, 1 stop bit and no parity, and exchange text in both directions.[2]
[edit | edit source]

References

[edit | edit source]
  1. ↑ 1.0 1.1 1.2 Atari (Japan) Corporation, Schematic Diagram (520ST/260ST), drawing C070231, revision M (April 1986), sheet 1: the RS-232 connector J4, U13 (1489), U14 (1488) with +12 V on pin 14 and −12 V on pin 1, the ferrite beads L67–L73 and C18–C21; the MFP U11 and its 2.4576 MHz crystal Y1. Hosted here: File:Atari 520ST Schematic C070231.pdf.
  2. ↑ 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Atari Corporation, 520ST/1040ST Computer Field Service Manual, C026118-002 Rev B (3.6), January 1987. test configuration with a terminal at 9600 bit/s, 8 data bits, 1 stop bit, no parity (PDF p. 29); RS-232 test, the PSG and MFP handshake lines, and error codes S0–SB (printed p. 3.10, PDF p. 36); symptom checklist, RS-232 (PDF p. 51); 520ST disassembly (pp. 4.3–4.4, PDF pp. 48–49). Hosted here: File:Atari 520ST and 1040ST Computer Field Service Manual.pdf.
  3. ↑ "Atari 520ST, 260ST, 520ST+, 520STM, 130ST und ST Junior", atari-computermuseum.de (in German), revised 26 June 2024: the short-case models and their common main board, C070243.
  4. ↑ 4.00 4.01 4.02 4.03 4.04 4.05 4.06 4.07 4.08 4.09 4.10 4.11 4.12 4.13 4.14 4.15 4.16 4.17 4.18 SAMS Computerfacts CSCS12: Atari Model 520ST, Howard W. Sams & Co., June 1986, ISBN 0-672-08974-2. Troubleshooting, "RS232 serial port" (printed p. 28, PDF p. 30) and "Power supply" (p. 25, PDF p. 27). Internet Archive.