Its been running fine with slow skew and 330R on the clock and 5.20V on a SR98. Now i've changed back to fast slew for the hell of it and... something is amiss :lol: who can spot it ?
This is without blitter
With blitter..
EDIT:
I also tried 270R and with slow slew TTram isn't found again ! There must be some ultra tight borderline timing somewhere..
REV 3 - REV 5 - The beginning (ST536)
-
exxos
- Site Admin

- Posts: 28353
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28353
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
This is madness...
BLUE = CPU clock (50MHz)
YELLOW = SDRAM CLOCK (100MHz)
270R load resistors on the CPU clock...
330R load...
How is that even possible ?!
Slow slew vs fast slew...
It looks like the PLD is really struggling to drive the CPU clock. Even with 500R load its still struggling on the rise.
With no load resistor at all (fast slew still)
I think I need to get some series resistance in the clocks like I did with the STE536.. but that's not to simple..
BLUE = CPU clock (50MHz)
YELLOW = SDRAM CLOCK (100MHz)
270R load resistors on the CPU clock...
330R load...
How is that even possible ?!
Slow slew vs fast slew...
It looks like the PLD is really struggling to drive the CPU clock. Even with 500R load its still struggling on the rise.
With no load resistor at all (fast slew still)
I think I need to get some series resistance in the clocks like I did with the STE536.. but that's not to simple..
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28353
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
Managed to hack on a 500R trimmer..
Now regardless of trimmer setting, or parallel loading, fast or slow slew , its totally unstable again . Can't bloody win with the thing ! :headbang:
It be useful if someone could measure a original TF536 SDRAM clock and CPU clock to see what its like with the 10ns PLD.
Now regardless of trimmer setting, or parallel loading, fast or slow slew , its totally unstable again . Can't bloody win with the thing ! :headbang:
It be useful if someone could measure a original TF536 SDRAM clock and CPU clock to see what its like with the 10ns PLD.
You do not have the required permissions to view the files attached to this post.
-
PhilC
- Moderator

- Posts: 7442
- Joined: 23 Mar 2018 20:22
Re: REV 3 - REV 5 - The beginning (ST536)
@exxos will try and get that done tomorrow.
If it ain't broke, test it to Destruction.
-
exxos
- Site Admin

- Posts: 28353
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
Thanks. Be super useful.
-
exxos
- Site Admin

- Posts: 28353
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
Decided to hardwire the SDRAM clock back to the master OSC again.. and its booted up fine (need to do more tests)
This was the clocks PLD driven..
BLUE = CPU clock (50MHz)
YELLOW = SDRAM CLOCK (100MHz)
Master OSC driven..
Not massive change.. but clear something has changed on the rise and fall... More voltage output as well.. Those changes are enough to make or break it it seems :roll:
I mean maybe the timing report wasn't lying afterall ... (max clock)
EDIT:
Now with about 250R in series with the clock...
GB6 ran fine now as well..
So i'm leaning towards the PLD can't drive 100MHz SDRAM clock reliably now.. I mean it struggles to even hit 2v p-p a lot of the time. The min voltage on the SDRAM inputs is 2V !
Its running YAARTTT.. Will leave it on for a bit and see what happens now...
This was the clocks PLD driven..
BLUE = CPU clock (50MHz)
YELLOW = SDRAM CLOCK (100MHz)
Master OSC driven..
Not massive change.. but clear something has changed on the rise and fall... More voltage output as well.. Those changes are enough to make or break it it seems :roll:
I mean maybe the timing report wasn't lying afterall ... (max clock)
EDIT:
Now with about 250R in series with the clock...
GB6 ran fine now as well..
So i'm leaning towards the PLD can't drive 100MHz SDRAM clock reliably now.. I mean it struggles to even hit 2v p-p a lot of the time. The min voltage on the SDRAM inputs is 2V !
Its running YAARTTT.. Will leave it on for a bit and see what happens now...
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28353
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
Left it on overnight and it has been working fine again...
Tests are slow slew and 5.20v with a SR98.. Problem is on the ST536 the voltage ends up at 5.05v when the floppy turns on..
I'm going to try one of my PSUs next. 5.05v on the PSU and 5.02v on the 536..
One very interesting observation is that ST Ram speed has gone up now from 114% to 116%... TTram speed also gone up..
Problem is.. Since swapping PSU.. And swapping back again.. Its unstable again.. So powering down seems to upset something.. Now it's working again... I lowered the clock series resistance..
One thing I just found out is that the clock pin on the CPU is very sensitive to the point where if I even touch it with the meter probe it locks up and it does not seem to matter what resistance is there either.
EDIT:
If I put the 330R on the PLD and then have ~68R in series with the CPU clock its way more stable that way. So those mods will go into the next board respin. Previous boards can hack the 330R on the back of the CPU for now.
Tests are slow slew and 5.20v with a SR98.. Problem is on the ST536 the voltage ends up at 5.05v when the floppy turns on..
I'm going to try one of my PSUs next. 5.05v on the PSU and 5.02v on the 536..
One very interesting observation is that ST Ram speed has gone up now from 114% to 116%... TTram speed also gone up..
Problem is.. Since swapping PSU.. And swapping back again.. Its unstable again.. So powering down seems to upset something.. Now it's working again... I lowered the clock series resistance..
One thing I just found out is that the clock pin on the CPU is very sensitive to the point where if I even touch it with the meter probe it locks up and it does not seem to matter what resistance is there either.
EDIT:
If I put the 330R on the PLD and then have ~68R in series with the CPU clock its way more stable that way. So those mods will go into the next board respin. Previous boards can hack the 330R on the back of the CPU for now.
You do not have the required permissions to view the files attached to this post.
-
stephen_usher
- Site sponsor

- Posts: 7376
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: REV 3 - REV 5 - The beginning (ST536)
It's not a grounding issue is it?
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
-
exxos
- Site Admin

- Posts: 28353
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: REV 3 - REV 5 - The beginning (ST536)
From what to what ?
-
stephen_usher
- Site sponsor

- Posts: 7376
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: REV 3 - REV 5 - The beginning (ST536)
Between the clock generation and the CPU.
If touching the clock pin skews the voltage enough to upset things then my first suspect would be the grounding of the clock generator as the capacitance of the body is likely to cause a DC offset. Just a thought.
The other alternative is that the drive circuitry just can't push a lot of electrons and so touching the pin basically pulls it down to zero. Putting a resistor on the line would just make this worse if this is the issue.
P.S. To generate the clocks, one being half the other, have you thought about pushing the crystal output into a couple of high speed inverter gates (50MHz) and a high speed flip-flop (25MHz), which will probably have similar latency. You'd then get logic level square clock signals which are far less influenced by chip voltage level switching tolerances and hysteresis.
If touching the clock pin skews the voltage enough to upset things then my first suspect would be the grounding of the clock generator as the capacitance of the body is likely to cause a DC offset. Just a thought.
The other alternative is that the drive circuitry just can't push a lot of electrons and so touching the pin basically pulls it down to zero. Putting a resistor on the line would just make this worse if this is the issue.
P.S. To generate the clocks, one being half the other, have you thought about pushing the crystal output into a couple of high speed inverter gates (50MHz) and a high speed flip-flop (25MHz), which will probably have similar latency. You'd then get logic level square clock signals which are far less influenced by chip voltage level switching tolerances and hysteresis.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
Who is online
Users browsing this forum: ClaudeBot and 2 guests