This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Green output image on TVP5146

Other Parts Discussed in Thread: TVP5146

Hi,

I use Video Input Daughtercard (DC-VIDEO-TVP5146N) with my FPGA Stratix II (DK-NIOS-2S60N) and with camera ACE-S360E (B&W, composite output). TVP5146 has next settings:

reg(0x00) = 0x05
reg(0x08) = 0x00
reg(0x0E) = 0x04
reg(0x35) = 0xEF
reg(0x34) = 0x11

I get next data on the output of my card: Sample 1, Sample 2 and so on. Seems, it's green line in RGB.

What's wrong in my settings? Why luma components are 0x200 and how fix it?

Thanks for your help.

  • Vsevolod,

    Your settings are for composite video on the VI_2_B TVP5146 input. 

    Is your system set up to convert 10-bit 4:2:2 YCbCr data to RGB?  The TVP5146 output will be 4:2:2 YCbCr.

    Do you see any changing video from the camera?

    What video test pattern Is being used when you see the green data?  Are you seeing green data seen when you expect black data?

     

  • Your settings are for composite video on the VI_2_B TVP5146 input.

    My card sends only null values (200,400,200,40...) in all other settings of CVBS (VI_1_A,VI_1_B etc.).

    After fixing some mistakes I get next frame from my TVP:

    It should be b&w chess board. We can see periodicity in each line (every 8 pixels). What is that? Is it a bad TVP settings?

  • Following power up and reset, to get a valid 10-bit ITU bt.656 YCbCr output for embedded sync operation, the following I2C writes should be all that are are requried.

    REG 03h = 01h

    REG 03h = 00h   // Toggle Power save bit after power up

    REG 00h =  05h       // Input MUX, CVBS input connected to channel VI_2_B

    REG 34h = 11h       // Clock and data enabled. If needed, output CLK polarity can be changed in this register.

    To enable the HS and VS sync outputs:  Set REG 36h = AFh

    Following setup, lock status can be checked in REG 3Ah.

  • Hi,

    I get these frames:

    Now TVP has minimum settings. These green lines (on the black) and purple lines (on the white) relate to settings of TVP? Why I can get frames 2 in 1?  Thanks.