Post Go back to editing

ADV7403 register configuration for STANAG 3350 CLASS B/C Video Signals

Hi,


I have the following requirements for ADV7403:


I/P Video - STANAG 3350 with Sync On Green as Input to the Chip.

1)720x576i @ 50/25Hz(Class B)video resolution, Interlaced video input,RGB(STANAG Class B)
2)720x480i @ 60/30Hz(Class C)video resolution, Interlaced video input,RGB(STANAG Class C)

O/P Video - 16bit YCbCr 4:2:2 as output from the chip.

Hardware Connections:
We have custom hardware with ADV7403 chip whose input channel configuration for RGsB is given below

Ain1 - G and SOG
Ain2 - B
Ain3 - R

Could you please provide the Script for the above configurations?

Also could you please let me know the values to be set for PRIM_MODE, INSEL, SDM_SEL, and VID_STD for the above configurations?

I want to know how to configure ADV7403 to accept RGsB at Ain1, Ain2, and Ain3? What should be the channel settings for the same?

Waiting for a quick response since it is very critical for us to proceed further.

Thank you.

Parents
  • Hi,

      Please refer this configuration script  " ##SCART RGB## "(:SCART RGB IN In Thru CP YPrPb 2X1  8Bit 422 Out through Encoder)  in that don't use CVBS connection in the AIN pin and follow the remaining configuration w.r.t reference script

     SOG register related configuration are provided in ADV7403 manual & adjust the sync slicer to use SOG.

     Also use registers 0xC3 & 0XC4 for configuring the AIN1,AIN2,AIN3 and crosscheck this configuration(ADC SWITCH) in Page 277.

    Thanks,

    Poornima

  • Hi,

    Thank you for your response.

    I want to understand, If I use Ain1, Ain2, and Ain3 using C3 and C4 registers, how ADV7403 understands that Ain1 is G, Ain2 is B and Ain3 is R? With the script given, is it possible that the Chip will recognize Ain1 as G, Ain2 as B and Ain3 as R? Is there any specific settings to be done in order to give RGB properly to the chip?

    Thank you.

  • Hello,

    Thank you for the support

    Following are the observation when done changes with the script:-

    (1)When used the script recommended by ADI (from ADV7181C_RGB_SOG.pdf)  tried to debug the 8-bit data from the decoder by capturing it in the FPGA with the help of debug probes inside the FPGA, observation was the data is sent from the decoder in SDR mode (in BT.656 format) where, the 0xC9 register was configured to 0x0C (DDR mode)

    What is the 8-bit DDR mode LLC frequency?

    (2)When the 0xC9 register is configured to 0x00 (SDR mode), the 8-bit data is not sent in BT.656 format

    (3)We checked the CP AV control register and CP default color force register and the default color registers to get at-least the free run output, tried with forcing the default color to be blue but at the output we get a combination of all three colors(red, blue and green)

    Can you suggest what can be cross checked either register setting or which part of schematic to get proper output 

    Thanks & Regards,

    Arpitha

  • Hi,

     As stated above, SDR 8-/10-bit ITU-R BT.656 4:2:2 YCrCb is only possible when the ADV7181C input is Composite and S-Video.

    For blue color output, Please configure the 0xBF(CP DEF COL) register as "0x02".

    Thanks,

    Poornima

  • Hello,

    Wanted to know what is the 8-bit DDR mode LLC frequency in CP mode?

    Thanks & Regards,

    Arpitha

  • Hi,

      DDR mode nothing but the pixel output port can be configured in an 8-/10-/12-bit 4:2:2 YCrCb upto a clock rate of 75Mhz (i.e In DDR mode we can support maximum clock rate upto 75MHz.

      Please note DDR mode doesn't change the overall performance of the part-- DDR mode maximum would be half the SDR mode maximum.  It's really no different than SDR mode-- just half the pixel clock rate since you are getting pixels on each edge instead of every other edge. 

       

    Note: DDR mode, a new data value is presented on the positive and the negative edge of the
    LLC (line-locked clock) and, hence double the amount of data is transferred.

    Thanks,

    Poornima

  • Hello,

    Wanted to know what is the DDR mode maximum and SDR mode maximum?

    Thanks,

    Arpitha

  • Hi,

      ADV7403  pixel clock can run at 140MHZ, but more than that,it will not support
      For example if you are in DDR mode the LLC is 1/2 the pixel clock rate i.e  If the pixel clock = 140MHz then DDR clock =70MHz    
       And If you are running 140MHz then you must be in SDR mode not DDR mode.  SDR has one pixel per rising edge while DDR has one pixel per rising edge and one pixel per falling edge. 

    Thanks,

    Poornima

  • Hello,

    Thank you for the response.

    As it is for ADV7403, it should same for ADV7181C, correct ?

    DDR mode maximum and SDR mode maximum means the maximum clock supported by the chip in SDR and DDR mode

    So for 8-bit of pixel data, if SDR mode the pixel clock is 27MHz then in DDR mode it is 13.5MHz

    Thanks,

    Arpitha

  • Hi,

      As it is for ADV7403, it should same for ADV7181C, correct ?

         YES, but pixel clock(LLC) will vary between ADV7403 & ADV7181C.

      So for 8-bit of pixel data, if SDR mode the pixel clock is 27MHz then in DDR mode it is 13.5MHz

         YES.

    Thanks,

    Poornima

  • Hello

    Understood. Thank you

    But according to our observation with respect to the ADV7181C chipset, when we configure the 0xC9 register to DDR mode and probe the LLC clock it shows 27MHz only, where as it should have been13.5MHz,

    Can you suggest why is this observation?

    Thanks,

    Arpitha

  • Hi,

      Please let us know, whether you have assign the DDR bus pin as per table 51.

    Thanks,

    Poornima

Reply Children