Hallo All,
I'm experimenting a strange effects using the AD7391.
My System is using an FPGA to feed the AD7391 with data, clock and i2c bus.
The clock is a regenerated clock from the original Video source, and the FPGA is making some processing on the original source data.
The AD7391 is configured to generate a square pixel PAL Signal according to the table in the datasheet.
I noticed that with some specific Image pattern (tipically red-blue transition) some kind of Color distortion is sometimes (in random way) generated.
The following Picture shows the working condition observed on the monitor
The following Pictures Show some condition where the strange behaviour is observed:
On a different Monitor the effect is more evident showing a clear green area artifact
I can observe a different behaviour every time I'm resetting the Encoder or every time I'm switching the clock (because I'm switching the Image source).
After the reset the Encoder Keep the state (with or without the artifact), and the reached state seems to be randomly distributed.
I also make another test where I captured an Image Frame from the source camera and use the FPGA to deliver the captured STILL image to the Encoder.
In this condition I never observed the Problem.
In this latest configuration I applied to the Encoder one time the reovered clock from the camera and one time an internal free running clock.
With both clock configuration I never observed the Problem.
It appear to me that every time the Encoder re-lock the clock some Kind of different initialization are performed putting the Encoder in a different state.
Can someone help me to get some understanding on what I'm experimenting?
This is the configuration I'm appling to the Encoder:
{Addr, Data},
{0x17,0x02},
{0x00,0x1C},
{0x01,0x00},
{0x80,0xF1},
{0x82,0xD3},
{0x84,0x00},
{0x87,0x10},
{0x89,0x03},
{0x8C,0x0C},
{0x8D,0x8C},
{0x8E,0x79},
{0x8F,0x26},
{0xA2,0x07}
Best Regards.