Atari Mega ST Clock Repair

The Atari Mega ST was the first ST with a real-time clock. It is a Ricoh RP5C15, U25, driven by a 32.768 kHz crystal, Y2, which a trimmer capacitor, C53, adjusts so that the chip's CLKOUT line gives 16.384 kHz. When the machine is off, a 3 V battery of two AA cells, in a housing on the top of the case, keeps the clock running. The clock is addressed through a PAL, U37.[1]
Atari's symptom checklist divides clock faults in two: a clock that does not work at all points at the RTC PAL, the clock chip or the crystal; a clock that loses the time when the machine is switched off points at the batteries or the circuit that senses the power going off.[1]
Symptoms
[edit | edit source]- The date and time are lost whenever the machine is switched off.[1]
- The clock does not run, or the date and time cannot be set.[1]
- The clock keeps time but gains or loses steadily: the 32.768 kHz oscillator needs trimming.[1][2]
- Corrosion in the battery housing or on its lead, from leaked cells.
The Mega ST's clock test on Atari's diagnostic cartridge, L, appears in the menu only when the cartridge finds the clock hardware.[3]
Safety
[edit | edit source]The battery can be changed from outside. The rest of the work is inside the system unit, whose power supply runs from the mains: unplug the machine before opening it. The batteries are alkaline AA cells, and the residue from a leaked cell is alkaline; see Battery Explosion, Capacitor or Corrosion Damage.
Tools and parts
[edit | edit source]- Two AA cells.[4]
- A multimeter.
- A frequency counter, or an oscilloscope with an accurate timebase, for the adjustment.[2]
- A non-metallic trimming tool for C53.
- Replacement parts, if needed: RP5C15 (U25), 32.768 kHz crystal (Y2), 5–30 pF trimmer (C53). The RTC PAL (U37) is an Atari-programmed PAL16L8, part C101625.[1]
Procedure
[edit | edit source]Batteries
[edit | edit source]- Press on the battery housing cover on the top of the computer, at the rear of the left fan vent, and pull it towards the front of the computer to remove it.[4]
- Take out the old cells and check the slots and contacts for leakage; clean any residue as described in Battery Explosion, Capacitor or Corrosion Damage.
- Fit two new AA cells, matching the + and − ends to the markings in the slots.[4]
- Set the cover back, pull it forward, then push it down and back until it locks.[4]
- Set the date and time from the Control Panel and switch the machine off and on again to see if they are kept.
Open the system unit
[edit | edit source]Atari's sequence:[1]
- Unplug the machine and remove the keyboard connector from the side of the top cover.
- Turn the unit upside down and remove the nine screws from the square holes. To reach the board, also remove the three screws from the round holes, which hold the disk drive.
- Turn the unit upright. Lift the top cover slightly at the back and unplug the battery connector from underneath its left rear corner. The cover then comes off.
- Straighten the six twist tabs of the upper shield (one is under the disk drive), lift the shield gently from the back, push the drive up while lifting the front of the shield, and pull it forward.
Check the battery path
[edit | edit source]- With the cells fitted, measure the voltage at the battery connector on the lead from the cover; two fresh AA cells give about 3 V.[1]
- Check the lead, the connector and the board-side connector J9, a two-pin cable assembly in Atari's parts list, for corrosion or broken wires.[1]
- If the batteries and connections are good but the clock still loses the time when the machine is switched off, the fault is in the power-off sense circuit; Atari's service manual names it but does not draw it.[1]

Clock does not run
[edit | edit source]- Check that the crystal Y2 oscillates: look for 32.768 kHz at the RP5C15's oscillator with an oscilloscope.[1]
- Check for the 16.384 kHz output on the CLKOUT line.[1]
- If the oscillator runs but the clock cannot be set or read, suspect U25 and the RTC PAL U37, which generates the clock's chip-select, read and write signals.[1]
- Replace the crystal, U25 or U37 as the checks indicate.[1]
Adjust the clock rate
[edit | edit source]- Run the machine with the top cover off and the battery connector plugged back in.
- Connect the frequency counter to the clock output. Atari Benelux gives the measuring point as TP 1; the service manual names the signal as the RP5C15's CLKOUT line.[2][1]
- Turn the trimmer C53 until the reading is 16.384 kHz, within ±1 Hz.[2][1]
Reassemble
[edit | edit source]Atari's order: insulation panel and main board on the bottom shield; the I/O shield secured with its six studs; the power supply and its two front screws; the drive cables; the battery connector pushed up through the opening at the left rear corner of the top shield; the top shield with its tabs twisted; then the top cover, plugging the battery lead in underneath it, and the nine screws, with the three longer ones in the round holes.[1] Atari recommends retesting the computer once it is back in its case.[1]
Testing
[edit | edit source]- Set the time, switch off for a few minutes, switch on and check it.
- Leave the machine off for a day and compare the clock with a reference.
- Run the diagnostic cartridge's clock test (L), which writes a new time and date, waits a second and checks that every register has rolled over, then repeats with another date.[3]
Related pages
[edit | edit source]- Atari Mega ST
- Atari Mega ST General Maintenance
- Atari Mega ST Troubleshooting Guide
- Atari Mega ST Service Manual
- Battery Explosion, Capacitor or Corrosion Damage
References
[edit | edit source]- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 Atari Corporation, Mega Service Manual (Mega 2 and Mega 4). Introduction, figure 2 "Battery compartment" and the differences from the 520ST and 1040ST (printed pp. 1.2 and 1.5, PDF pp. 6 and 9); "Real time clock with battery backup" (printed p. 2.7, PDF p. 17); disassembly and reassembly (printed pp. 4.1–4.3, PDF pp. 49–51); symptom checklist, "Real time clock problems" (PDF p. 54); parts list: C53 5–30 pF trimmer, Y2 32.768 kHz crystal, J9 two-pin cable assembly, U25 RP5C15, U37 RTC PAL PAL16L8 (PDF pp. 62–64); PCB layout C100167 (PDF p. 77). Hosted here: File:Atari Mega ST Service Manual.pdf.
- ↑ 2.0 2.1 2.2 2.3 Atari (Benelux) B.V., Information Technique No. 43, "Ajustage de l'horloge real time", a supplement to bulletin No. 35: the adjustment frequency of 16.384 kHz ±1 Hz, measured at TP 1. The bulletin does not name the model. Hosted here: File:Atari Benelux technical bulletin 043 - real-time clock adjustment.pdf.
- ↑ 3.0 3.1 Atari Corporation, Mega Service Manual, the diagnostic cartridge menu, where G, L and X are highlighted only when the hardware is found (PDF p. 33), and the real-time clock test (PDF p. 44). Hosted here: File:Atari Mega ST Service Manual.pdf.
- ↑ 4.0 4.1 4.2 4.3 Atari Corporation, Computer MEGA ST Owner's Manual, 1987, "Clock batteries" (pp. 6–7, PDF pp. 14–15) and "The computer's top panel: batteries" (p. 18, PDF p. 26). Hosted here: File:Atari Mega ST Owner's Manual (1987).pdf.