Hey Mario,
It is a bit hard to debug without the schematic + fpga project etc.
A few things to make sure off the bat is that you have a good ground connection - you can measure it on a live board, and see what the difference between the ground pin is here and there.
Also, try to make sure all of the fpga pins are configured correctly, and don't have pull ups/pull downs. Make sure the output isn't driving anything too power hungry. Debug that by setting the problematic ones to high-Z and seeing what happens.
Further points of debug are to look at your fpga project and make sure that there are no relevant warnings. Depending on the exact design, try to make sure that the board can provide enough power to the FPGA.
Where is the daughter board power coming from? Is there really enough power on the relevant rail?
Hi, so in terms of the FPGA project it is literally just assigning the input and output pins together at this time for all the connections (ie "assign out1 = in1" for each pin). The FPGA is really doing nothing other than passing data from 1 pin to the next for now. More will come once I get this working properly and this was the exact reason I have the FPGA doing essentially nothing, to aid with debugging issues that are coming now.
I have checked all pins against GND, there is only 20mV maximum difference between GND and any given pin when the pin is being held low. There are no pull ups or pull downs configured in the FPGA design and setting various pins to high-Z makes no difference at all.
Only warning in the FPGA design is to do with the lack of a user defined clock as like I have mentioned above, the input & output pins are just mapped 1 to 1 to minimise the FPGA introducing any issues. This will be changed later.
The mezzanine card is being powered from the FPGA dev board FMC connector, all voltages are very stable and the only thing they are driving is an ADV7513 HDMI encoder which is powered off at the moment, but powering it on via the registers does not change things anyway.
Something I have noticed however is that on the clock pin specifically, when I disconnect my mezzanine board the original output works fine on a TV, but when I connect my mezzanine board the voltage gets clipped off top & bottom as it's being loaded up and the TV signal disappears (see 1st image below).
Then when I measure the input of the mezzanine card the CLK signal shows -20mv to 1.62v which is still fine (2nd image) and finally when it leaves the FPGA the voltage is as I expect (voltage up to 1.76v, as per the 3rd image).
Seems strange that the voltage on the clock pin is as expected out of the FPGA (1.76v peak) but the VSYNC is being pulled down by about 0.5v when it comes out of the FPGA compared to the VSYNC input (as low as 0.89v on the output with noise, which would explain the random pickups from the logic analyser).
Anyone got any ideas on why this would occur?
you got a reel of alufoil in your kitchen ?
cut a piece same length of all your test cables, and fold it round all your test wires, individually
and connect each end of the foil to gnd, target and the debugger/logger
same ?
Thanks, I will try to take a look at that and try it out during the week. Late here (23:40), so going to bed now. However I am beginning to think this is something else. Question is why is VSYNC being pulled down by about 0.5v on the output of the FPGA, but the clock is not. I have not checked, but I suspect the other signals I am seeing random state changes on are also being pulled down a little bit.


