Project: HDMI/DVI out for STFM

Progress on our FPGA cores.
User avatar
exxos
Site Admin
Site Admin
Posts: 28375
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

Smonson wrote: 31 Aug 2018 10:54 No worries! I hope it's nothing serious, my track record so far isn't looking good otherwise :lol:
Welcome to the world of Atari :lol:
Smonson wrote: 31 Aug 2018 10:54 You can also read vsync off the following 3 pins arrowed in blue.
Cool.. will do that as well...
User avatar
exxos
Site Admin
Site Admin
Posts: 28375
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

IMG_3248.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
exxos
Site Admin
Site Admin
Posts: 28375
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

My first finding is noise somewhere... "finger on board" solves it...





Looks like U2 is a 16Mz buffer.. has really bad ringing on it.. with my finger on it, the image jumps to the left a couple of pixels and is stable.. without finger.. jumps to the right and has the odd horizontal noise lines shown in my video..

I suspect the buffer simply needs something like 100R on its input and output stop the ringing.. And would assume the picture would be rocksolid stable then...

Otherwise, seriously impressive stuff!
troed
Posts: 936
Joined: 21 Aug 2017 22:27

Re: Project: HDMI/DVI out for STFM

Post by troed »

Great!

And no spontaneous resets I guess?

(I don't have the finger-on-board need as far as I've seen. Haven't run medium res at all though I think)
User avatar
exxos
Site Admin
Site Admin
Posts: 28375
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

troed wrote: 31 Aug 2018 19:07 And no spontaneous resets I guess?
Not yet.. Not been running very long anyway..

Though if you're getting odd resets, it is likely noise on the 16Mhz line I assume...
User avatar
exxos
Site Admin
Site Admin
Posts: 28375
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

This is a bad fix..

But it solves my problem.. Where ever that 16MHz is going (middle right pin of U2) it needs 100R in there..

IMG_3251.JPG
You do not have the required permissions to view the files attached to this post.
troed
Posts: 936
Joined: 21 Aug 2017 22:27

Re: Project: HDMI/DVI out for STFM

Post by troed »

Hmm. So that's on the output from the 16MHz generated by the FPGA, before it ends up at the Shifter socket clk_out pin (from where it goes to the MMU, and then becomes all other clocks).

Unfortunately does not help me. I'm not using clocks from the FPGA - I clock _it_ from my GAL (and the GAL also clocks everything else). So my resets are caused by something else.
User avatar
exxos
Site Admin
Site Admin
Posts: 28375
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

troed wrote: 31 Aug 2018 19:25 I clock _it_ from my GAL (and the GAL also clocks everything else). So my resets are caused by something else.
Probably one of those times just to put your scope on all the clock pins one by one.. if it crashes when you touch one clock, then that signal is over sensitive.. Loading of the scope can also help clean up noise on clocks.. so scope on one line may solve the problem.. assuming its clock noise that is.
troed
Posts: 936
Joined: 21 Aug 2017 22:27

Re: Project: HDMI/DVI out for STFM

Post by troed »

exxos wrote: 31 Aug 2018 19:36 Probably one of those times just to put your scope on all the clock pins one by one.. if it crashes when you touch one clock, then that signal is over sensitive.. Loading of the scope can also help clean up noise on clocks.. so scope on one line may solve the problem.. assuming its clock noise that is.
Well, it's rock solid with the original Shifter - so it's at least something that somehow gets affected by the FPGA. But I also have resets (less often) using only the FPGA exactly like you are, without my GAL.

Smonson and I have debated whether there could be a fault on mine and so we've been waiting for you to run yours ... :) But I'm sure it's something fixable. I just don't know what causes it yet.

(and I'm off for another week in the US next week so will likely not have an answer for a while)
User avatar
exxos
Site Admin
Site Admin
Posts: 28375
Joined: 16 Aug 2017 23:19
Location: UK

Re: Project: HDMI/DVI out for STFM

Post by exxos »

troed wrote: 31 Aug 2018 19:44 Well, it's rock solid with the original Shifter - so it's at least something that somehow gets affected by the FPGA. But I also have resets (less often) using only the FPGA exactly like you are, without my GAL.
Does anything change with the clocks at all from the shifter being inserted to the FPGA board ? Does any clock lines get different loads between shifter vs FPGA ( I don't really know how its all hooked up in your machine or how the FPGA clocks are working )

Return to “FPGA DEVELOPMENT”

Who is online

Users browsing this forum: ClaudeBot and 7 guests