Post Go back to editing

Not Getting the expected bar pattern output on pixel format

Thread Summary

The user encountered issues with the AD7181D ADC not distinguishing all colors from a DAC ADV7123 color bar pattern. The solution involved cross-checking the configuration against the reference settings in the ADV7181D Evaluation Software. Additionally, the user needed to disable free run and tri-state the output port when TMDS frequency detect is lost to prevent junk pixel data and sync generation. For a moving bar pattern issue, the user was advised to monitor and adjust the START_HS, END_HS, START_VS, END_VS, START_FE, START_FO, PIN_IN_HS, PIN_INV_VS, and PIN_INV_F registers, as well as the IN_LOCK and FSC_LOCK bits.
AI Generated Content
Category: Hardware
Product Number: ADV7181D

Hi 

I am working with AD7181D device where we are feeding the output of DAC ADV7123 as an input to ADC AD7181D. We are sending the 8 colour par pattern as an input to DAC 


this colour bar pattern is feed to the ADC input and is digitised as per stanag B specification and the pixel format output is being checked on an LVDS display, but at the display we are not able to get all the colours that we are sending, ADC chip is not able to distinguish some colours. I have attached the picture of what we are getting on the screen 


I think we are missing somethink on the configuration of the ADC. So can you please help us to debug the issue. I am attaching the configuration we are doing in the ADC 


0x05  0x01
0x06  0x01
0xC3  0x31
0xC4  0xC2
0x3A  0x10
0x67  0x00
0x68  0x00
0x3C  0x5A
0x8A  0x80
0x77  0x80
0x78  0x00
0x79  0x00
0x7A  0x00
0x73  0x00
0x7B  0x01
0x6A  0x10
0x6B  0xC4
0xC9  0x08
0xBF  0x00
0xC0  0x00
0xC1  0x00
0xC2  0x00
0xf3   0x0f
0x85   0x1B
0x1D  0x40
0x6C  0xC5
0x6D  0x5F
0x6E   0x57
0x6F   0xF5
0x70   0x3F
0x87   0x94
0x88   0x00
0x7C   0x60
0x7E  0x00

An early response is highly appriciated 

  • Hi,

      Above shared configuration seems different from reference one So please crosscheck your configuration against "##CP YPrPb 525i & 625i## :625I YPrPb In 12Bit RGB DDR HS/VS HDMI:" at 6545.ADV7181D_Evaluation_Software.zip

    Thanks,

    Poornima

  • Hi Poornima 

    Thanks for the response!! 

    Now we are getting all the colours we are sending from the TX side 

    I have one more query

    When we haven't connected any cable, we are still getting sync on the pixel output side. we want that it should not generate any junk pixel data and sync when the cable is not connected. So can you please help us to find which register is causing it and what need be configured on that register to generate to stop junc pixel and sync data generation. 


    An early response will be highly appreciated!
     

  • Hi,

    If free run is disabled and there is no input or Cable disconnected then the outputs may show the default clocking or what the last frequencies the PLLs were locked to.  

     From a code stand point is you lose TMDS frequency detect, then you can tri-state the output port.  This will stop the clocking.   When TMDS frequency detect goes high & you can re-enable the outputs.

    Thanks,

    Poornima

  • Hi Purnima 

    Thanks for the quick response !! 

    Can you please tell the register which tell when we have lost the TMDS frequency detect. 

    Also there is one more query that when we are sending a fixed bar pattern from the DAC side to ADC side we are getting correct vsync from the digital output side of ADC but when we change the pattern to moving bar pattern we are getting the vsync shifted by half a line after moving bar pattern is moved by 4 bars. We are operating on Sync on green in configuration. So can you help us to debug this issue. 

    An early response is highly appreciated !!

  • Hi,

    Did you probe the HS, VS and DE signals versus the data signals at the output of the ADV7181D with an oscilloscope? Do you see the shift at the output of the ADV7181D? Did you check if the shift is occurring in the backend device(s)?

    You could try adjusting the following controls to see if they can fix your problem:

    START_HS[9:0] - Address 0x7C and 0x7E, [3:2] and [7:0]

    END_HS[9:0] - Address 0x7C and Address 0x7D, [1:0] and [7:0]

    START_VS[3:0] - Address 0x7F, [3:0]

    END_VS[3:0] - Address 0x7F, [7:4]

    START_FE[3:0] (Start Field Even) - Address 0x80, [7:4]

    START_FO[3:0] (Start Field Odd) - Address 0x80, [3:0]

     PIN_IN_HS - Address 0x7C, [7]

    PIN_INV_VS - Address 0x7C, [6]

    PIN_INV_F - Address 0x7C, [5]

    I advise that the customer monitor the IN_LOCK and FSC_LOCK bits. IN_LOCK shows if the ADV718x has locked to the horizontal sync. FSC_LOCK shows if the ADV718x has locked to the color subcarrier frequency. 

    Thanks,

    Varshini K