Closed LinuxJedi closed 3 years ago
You need to look at the sync pulse (Pin 16 / GPIO23) and pixel clock (Pin 11 / GPIO 17) going into the Pi zero to see what changes when the problem arises. If it's only one board with the problem it might be an intermittent solder joint on one of those signal paths.
You need to look at the sync pulse (Pin 16 / GPIO23) and pixel clock (Pin 11 / GPIO 17) going into the Pi zero to see what changes when the problem arises. If it's only one board with the problem it might be an intermittent solder joint on one of those signal paths.
If it was one, yes. When it was 5 of a batch and they were the only ones with NXPs I figured that might be a pattern.
Well, my observations are flawed. Now getting similar issues with more boards, just taking longer to hit them (a few seconds in a few hours). I'm guessing the double inversion of C1 XOR C3 is causing additional latency.
@LinuxJedi
That looks like the pixel clock is running at twice the expected frequency which could be the result of spurious spikes in the clock generation circuit.
To mitigate against this and other issues I've observed, particularly with A2000 and R3 Super Denise (which I didn't even know was a thing), I've designed an updated modified version here: https://github.com/LinuxJedi/RGBtoHDMI/tree/amiga-slot-fixes
It:
And has several other changes. I'll see in a couple of weeks how this works out.
I'm tempted to look into whether or not just an XOR of 7MHz and CDAC works to give 14M (and if it does what extra delay that needs). Plus I may make the board a little smaller so things are closer together / traces are shorter.
Closing this, finding much better reliability with my new layout, I'll upstream it with build instructions when I get time to write them next week.
I've built several of these boards for friends and have been using 3 different IC for U1/U5:
The ones using the Nexperia ICs after a while fail with random bursts of this pattern for a second or two when in Super Denise mode:![160062723_453790052608066_7873489733878691552_n](https://user-images.githubusercontent.com/636271/111060527-69813100-8495-11eb-84a1-44011569b11d.jpg)
I can think of two possible reasons for this:
It could even be a combination of both, the floating input causes a high power draw which is causing too much load for the regulator.
I have a reworked design for the PCB I'll test in a few months time which:
I'd also probably recommend using at least a 400mA regulator.
If anyone wants to test this before I get a chance, the work in progress is here (I haven't updated the Gerbers there yet): https://github.com/LinuxJedi/RGBtoHDMI/tree/amiga-slot-fixes