Hi all,
I'm new here and hoping to get some advice as I'm at a loss with this machine.
The machine was in poor shape and was displaying a black screen so i started to look about the board.
Apart from being very grubby, all chips were receiving 4.9v and could detect a clock from the crystal, the xtal input on the ga and on the z80.
No other signals were present on the z80. It was running hot so swapped it out and got the missing signals. Still black screen.
I couldn't detect a clock on pin 40 of the unpopulated 40007 location or pin 21 on the crtc. Decided to take a break as there was more to do.
Came back a couple days later and now i cant pick up any clock signals at all. Nothing on the crystal, ga, z80? Im not sure whats happened.
Any advice on where to look would be fantastic.
Cheers
Forgot to add that its a z70200 board with a 40010 gate array fitted.
Do you have any chance to do a logic test on IC125?
This is a 74HCU04 Hex Inverter. This chip is a unbuffered CMOS version of the 74LS04, but it is key for the clock signal that it is CMOS and unbuffered in this application.
If this chip is toast - then you will not get anything on the clock. I am not sure if you can measure the crystal if the inverter is toast. The CMOS and the first inverter gate are forming an oscillator, that is then cleaned by the second inverter gate. So esentially the inverter is the osciallator that is driving the crystal and it is then stabilizing the oscillator to a certain frequency.
It is very difficult to test it in system, as the lines are all connected. But if you desolder it, you would be able to put it in a breadboard, power it and then test every input if the output works to expectations, meaning - if you ground input, output shall be high, if you put +5V to input the output should be low.
As long as you cannot see a clear good clock on the second inverter gate output, there is no hope for the rest of the system. Everything is coming from this clock to live.
Here is a good article on clock designs that derive the clock via an unbuffered inverter (like the one we have in the CPC).
https://www.ti.com/lit/an/szza043/szza043.pdf?ts=1729102058232&ref_url=https%253A%252F%252Fwww.google.com%252F
Maybe just replace the inverter ...
However the Toshiba TC74HCU04AP is pretty expensive - and I am not sure if any other unbuffered inverter will do the job the same. Any other brand of the same 74HCU04 is 30-80 cents.
Quote from: SerErris on 17:52, 17 October 24It is very difficult to test it in system
Testing it is very easy because the beginning of the oscillator does not have any current source. Please do not scare yourself or others. :D
IC125 pin1 to ground/Vcc and test Pin2 (should be Vcc/ground cros pin1) and test Pin4 (should be ground/Vcc like set pin1)
I am just not sure if that will test anything. Is is a oscillator with a feedback loop. You are actually influencing the feedback loop and therefore I am not sure on the output. That has nothing to do with "damage" or fear, but about questionable result and insight.
However if there is no reliable oscillation on Output of Gate 1 - Pin2 of IC125 (that should be measurable with an Oscilloscope), then there is only those root causes possible:
1. Gate is dead or not working in specs (e.g. maybe much longer gate delay).
2. Crystal is dead.
3. Some traces on the mainboard are broken or corroded.
4. Solder joints are broken, dry - so maybe intermittent connection?
5. Capacitors (C130, C131) or resistor R143 broken.
That should be pretty much extensive on what is wrong with the clock.
Thank you for all these responses.
I do have a scope, albeit a hantek usb one which can be a bit of a pain to use.
I'll check those components, traces and pin2 of ic125 and report back.
I have breadboards, so pulling the chip to test further as suggested is also possible.
Hi.
Got a couple mins spare time to test a bit further.
On powering on for the first time i was receiving a clock signal off pin2, but over the course of a minute it dwindled away to just a roughly 2v high signal.
Both caps were removed and seem fine. R143 was removed and has a value of 10.09M ohm.
With the cap removed both sides of c131 were showing gnd. Traced through to the xtal, removed it and one of the two pins is shorted to the metal housing, that cant be right surely?
I am not sure of what crystal is in the later 464s, which you have. But if it is still the HC-18/U housing (which was pretty much standard), then there should be no connection between the housing and the two pins. They shall be isolated. However the case should be connected to ground. Probably it is tied down with a lead over the crystal?
clock signal.jpg
A HC-18/U looks like this:
(https://www.jameco.com/Jameco/Products/ProdImag/14592.jpg)
It is compatible to the new HC-49/U - which just have thinner leads. But that should not be any issue.
The Resistance of R143 is correct (10M in the schematics), Caps typically do not break in this pf caps. They are normally ceramic and will not break of change its capacitance.
What about the 74xx04 ?
Can you also check the power supply on IC125? Is that draining somehow (getting lower over time?).
If you have removed all the other parts (e.g. crystal, caps and Resistor) you can apply low or high to pin 1 and measure pin 2. Is it giving a stable output (and the correct one?)
It might be just right to put everything into the breadboard and check if it works there with bench power (+5v), so that you can eliminate everything else that could influence it.
Looking for a replacement of the crystal, this would match, but would also require the replacement of C130,C131.
https://www.reichelt.com/ie/en/shop/product/tht_crystal_16_000000_mhz_-30_ppm_cl_32pf_hc-49u-1605
I just asked chatGPT on that question, and here is the short summary, which you will need to test with an OSC to see if the outcome is as expected (e.g. 16Mhz clock):
Questions:
This is a clock signal oscillator for the amstrad cpc, with 16Mhz clock signal. It feeds the output of pin2 of the 74HCU04 into another inverter to make a clean clock signal. Can you recalculate the values of C130 and C131 if the load capacity of the crystal is 32pF and the series Resistance is 20?
Answer:
Conclusion
- Capacitors C130 and C131 should be 54 pF each, but 56 pF is a practical and readily available value.
- Ensure to verify the circuit with an oscilloscope to fine-tune the values if necessary, considering the impact of stray capacitances and the layout of your PCB.
This setup should ensure the crystal sees the correct load capacitance of 32 pF, resulting in stable oscillation at the intended 16 MHz frequency.
The result above does assume 5pf stray capacity from the PCB, which still might be off and I cannot even calculated it.
Or other way around the load capacitance of the crystal used by Amstrad will be
The actual issue is, that we cannot find out the real values of the old crystal if we do not exactly know what manufacturer and model it was. If you can fotograph it, we can potentially find that information. Not sure if there is any vendor marking on it.
Also find attached the whole calculation from ChatGPT for our nice little circuit.
Okay, and if you replace the 74xx04 with a new CD74HCU04E (PDIP) from TI and the crystal above, you would need two 56pF capacitors. To replace the circuit. Those two Cs bring you pretty close 33pF load capacitance of the requested 32pF capacitance and that should work here.
R143 will be still 10M as in the original. You also should look for very low tolerance capacitors here (5% or lower).
Also if you use another crystal, you will need to recalculate C as outlined in the PDF.
Really appreciate you taking the time to reply, there's a lot to digest for a learner like me. I haven't been back out just yet to look over these suggestions but should do very soon.
There is a definite connection between one of the pins and the metal housing of the crystal. I got it under the scope and could see rust around the where the isolated pin goes into the housing. Cleaned all this off but unfortunately the short remains. I suspect the crystal is toast. I do have a picture of it which I will attach.
I also have already removed ic125 as I wanted to see underneath it to view the condition of the traces. I'll be belling these out to confirm they're sound and I'll get that chip put in a breadboard and follow your guide in testing it.
I aim to get back to you asap. Thanks again
I tried to figure out, what the maker of the quartz was and what series it is to understand what the load capacitance and series resistance would be. Unfortunately to no avail.
It looks like CITIZEN to me (which hat CTZ markings) however I cannot find anything on the internet wich has CTZ and 56 in it. It is for sure an HC-18/U, so any HC-49/U or S would fit.
https://www.mouser.com/ProductDetail/ECS/ECS-160-20-4X?qs=ObzGnTthPd%252BlRw5FTf6P8A%3D%3D
This one would do it, and it would better fit to capacitors ...
You would need two 30pF capacitors like those:
https://www.mouser.com/ProductDetail/KEMET/C325C300JAG5TA?qs=sGAEpiMZZMsh%252B1woXyUXj1p5ReH8PUn7pCzRCPFSDXI%3D
Lower voltage would do it, however this is the cheapest at 5% tolerance.
Or you can take this one with 1% tolerance. The voltage rating ist 25V which is still plenty.
https://www.mouser.com/ProductDetail/KEMET/C315C300F3G5TA?qs=h3%2Fj8evtlm2tyDJUu3qLkQ%3D%3D
If you get one of those:
https://www.mouser.com/ProductDetail/Tusonix-CTS/538-011-D-9-35LF?qs=0eVsa72UW5ANzVGWgUkM4g%3D%3D
you can adjust the capacitance of one of the capacitors (C130) ...
However you would need to adjust the legs, as it seems to be 0.1 inch too wide.
I have got some time this afternoon for some further shenanigans.
The traces from IC125 to the next significant component all check out, confirms traces and via's are good.
I got the chip onto a breadboard, applied VCC and GND and tested the gates. All six worked as expected inverting the input to the output pin. I think this chip is sound, which is good news. Took the opportunity to put a socket in.
I think the next stage is to order the above crystal and the matching caps to see how we get on.
Not knowing the history of the computer is a pain as we're going in blind, hoping for a result in the end but its been good learning more about the workings and design.
If there is anything else you think I should check, let me know.
Thanks again.
For now let's focus on getting a stable clock, from there we tackle one thing after the other.
Quote from: SerErris on 14:09, 21 October 24https://www.mouser.com/ProductDetail/ECS/ECS-160-20-4X?qs=ObzGnTthPd%252BlRw5FTf6P8A%3D%3D
https://www.mouser.com/ProductDetail/KEMET/C315C300F3G5TA?qs=h3%2Fj8evtlm2tyDJUu3qLkQ%3D%3D
Ordered the above items, one crystal and a pair of the 1% tolerance caps for c130 and c131. Is there anything else I need to change or do before I install them?
Test them in breadboard first (with 1M resistor) to see if it works.
Quote from: SerErris on 22:07, 06 November 24Test them in breadboard first (with 1M resistor) to see if it works.
The chances of a new one being broken is as good as zero. Modern crystals are pretty robust.
Bryce.
It is not about broken, but about the frequency right - so the chip + the crystal + the two caps + the resistor.
I would just put that into a breadboard and check the frequency before soldering everything in and then finding out - not working, or wrong frequency etc.
Why would the frequency be wrong on a component bought from a reliable supplier?
The capacitor he has linked to is the wrong value for the crystal, but the crystal itself should be fine.
Bryce.
Yes, that is true. however the capacitors influence the frequency. And if that is not correctly calculated (e.g. I made a mistake) than you have to desolder the caps again and fit correct ones.
Also the NAND gate is still not out of the equation. It might work if you put on a simple voltage (0 or +5v), but that does not mean that it does its work as an Oscillator.
Of cause you can just solder it. And probably it will work. However testing it out of circuit would make any changes easier ;-)
Never worry these things happen! :)
How would I go about calculating the values for the two caps? I'm going to try getting them from eBay as I don't have anything else to get from mouser at the moment.
I got a couple of those crystals just incase something has damaged the other one.
Quote from: ClintonGoodfellow on 02:17, 08 November 24Never worry these things happen! :)
How would I go about calculating the values for the two caps? I'm going to try getting them from eBay as I don't have anything else to get from mouser at the moment.
I got a couple of those crystals just incase something has damaged the other one.
You don't need to calculate it. They tell you right on the first page and it's also what the "20" in the part number means.
Bryce.
Ah, I did see that, but wondered it if meant something else! Might have to just pay the mouser postage as the price for low-% tolerance caps is very expensive on eBay. Best I can find there is 10% tolerance for a reasonable price. The KEMET 1% ones above are coming in at £7ea!
The capacitor value doesn't need to be exact. Even a simple ceramic cap with +/- 20% is fine for this application.
Bryce.
https://www.ebay.co.uk/itm/234095672334?mkcid=16&mkevt=1&mkrid=711-127632-2357-0&ssspo=zKp1MezwR1C&sssrc=4429486&ssuid=umekACLEQHK&var=533727471807&widget_ver=artemis&media=COPY
Would these do?
Yup.
Bryce.
Hello,
Sorry I haven't updated this thread in a while, I've had a busy lot of months. However I'm now able to spend some time and keen to make some progress.
I have since soldered in the new crystal and the matching caps, but still need to give it power and measure the frequencies.
Could you guys possibly suggest what pins I should be checking with the scope and what the expected outcome should be?
Rowan.
Hi,
I'm getting a stable 16mhz on pin2 of ic125, i can see this on pin 8 of the unpopulated socket for the 40007, but im reading nothing from pin 40? is my gate array faulty?
I will note that the pio is very hot to touch if the machine is powered for a while, the vdu not as hot but still toasty, the cpu is warm and the GA is stone cold.
Hi,
Not sure why I'm not getting any further replies? If it's because I let it languish for a while due to personal circumstances, should I maybe start a new thread?
I'm struggling to find a replacement gate array chip for this poor cpc. I am finding modern recreations, but are kind of expensive just to rule out issues with this board.
I'm wondering if I should just write this machine off and search for a new one? Seems a bit of a shame.
Quote from: ClintonGoodfellow on 17:10, 30 August 25Hi,
Not sure why I'm not getting any further replies? If it's because I let it languish for a while due to personal circumstances, should I maybe start a new thread?
I'm struggling to find a replacement gate array chip for this poor cpc. I am finding modern recreations, but are kind of expensive just to rule out issues with this board.
I'm wondering if I should just write this machine off and search for a new one? Seems a bit of a shame.
@Bryce please would you offer some assistance?
Quote from: ClintonGoodfellow on 00:02, 24 July 25Hi,
I'm getting a stable 16mhz on pin2 of ic125, i can see this on pin 8 of the unpopulated socket for the 40007, but im reading nothing from pin 40? is my gate array faulty?
I will note that the pio is very hot to touch if the machine is powered for a while, the vdu not as hot but still toasty, the cpu is warm and the GA is stone cold.
Is it possible to record a video or post some screensshots of what is happening or what you see on the screen when it is switched on?
I am hopeful it is not the gate-array but perhaps a rom or ram fault but I don't know enough about diagnostics to help.
Hello,
Unfortunately I'm getting nothing on the screen whatsoever, just a black screen. There's no change on the screen when turned on, no evidence of sync at all on the tv.
It's connected to the tv using one of the 'retro computer shack' cables which I have no reason to doubt works as they're generally fantastic.
Quote from: ClintonGoodfellow on 19:44, 30 August 25Hello,
Unfortunately I'm getting nothing on the screen whatsoever, just a black screen. There's no change on the screen when turned on, no evidence of sync at all on the tv.
It's connected to the tv using one of the 'retro computer shack' cables which I have no reason to doubt works as they're generally fantastic.
OK. Is the power led lit up? If not take the switch apart and clean it.
If you turn up volume and press del do you hear any beep?
If you have a multimeter check the ics on the pcb have power.
If possible check the z80 is not being held in reset and it has a good input clock.
I guess if you have a digital scope check the syncs at the 6845 are doing something.
I believe its quite unusual for gate array to break and more likely to be something else like rom.
Edit: I had a thought. If the z80 is running but never gets to program the 6845 then you may not get any sync from the 6845. I haven't checked but this may be true of mc6845 so this is why I suggest checking z80 is executing rom correctly.
Hi,
it sounds like the CPC may have had an over-voltage (wrong PSU attached). First things to check are that all chips are getting 5V. Then check whether any data or address pins are switching. Do this one the GA, ROM and CRTC too. That way you'll know whether anything is running on the PCB.
Bryce.
Quote from: ClintonGoodfellow on 17:10, 30 August 25Not sure why I'm not getting any further replies? If it's because I let it languish for a while
Probably, but not on purpose. This is not an obvious one. Just to get up to speed it requires to read the full thread closely again from the start to understand what was already done. If you are on a hurry or on vacation and just quickly checking the posts here it you might not dive into it immediately - and next time you visit the forum it's gone.
Btw: Please always add (good) pictures of the inside of the CPC. We had it SO often that something crucial was visible in a picture that was never recognized by the OP or seen as unimportant.
The reason you did not get any response, was - not paying attention to this thread (and vacation).
Do you have any access to a bench supply and see what power draw the CPC has ? (indicator of any shorted chips).
What voltage level do you get on any of the +5V pins on any chip?
Good for now is, that you get 16Mhz clock on pin 2.
However the actual signal you are interested in is on Pin4 of IC125. However as you can see it on Pin8 of the 40007 socket, that is good for now.
However Pin40 on the GateArray is not CLK16 (16Mhz Clock, but Databus). The clock input is on pin 24 and it should still read 16Mhz.
The next clock you want to grab from there is the 4Mhz Clock for the CPU, which is on Pin19 of the GA and then goes again through IC125. You should find the output on Pin6 of IC125. That should be a stable 4 Mhz clock, that you then also should be able to measure on the CPU - Pin6.
Check if you have a good clock there (CPU) and if not trace the way (see if the clock is not transporting somewhere in between.
Then check the 1Mhz Clock for CRTC and Sound (the later is not important for your issue right now). That should be Pin4 on the CRTC (40010) and also check Pin14 on the CRTC, that also should give a stable 1Mhz Clock.
So if Bryce is right (and he always is ;-) ), something on the board might have got toasted and we need to find out what it is.
What you also can test is:
Check if there is a short between +5V and GND. Disconnect the Powersupply and just measure it with the multimeter and see if you get low resistance between +5V and GND. That will tell you, some part is shorted - maybe due to high voltage input.
Do you have any access to a diagnostic rom? There might be also a possibility that the ROM is toast and you get nothing. However I cannot remember if you would get any output on the screen (flirring image or something), or if it would be just black.