adv7181D decode VGA (640 x 480 @60Hz) to 8 bit YUV 422

PCBWe are currently using an ADV7181D to decode VGA (640 x 480 @60Hz) to 8 bit YUV 422.But there is no register

configuration in the script you provided.So I want to ask you something:

1、Does it support doing that  to decode VGA (640 x 480 @60Hz) to 8 bit YUV 422.

2、If yes,could you provide such a script.

Parents
  • +1
    •  Analog Employees 
    on Sep 6, 2019 12:35 PM over 1 year ago

    Hi,

     Yes,there is no configuration script available for VGA to YUV 422 . But you can configure 8bit YUV 422 in register 0x03(OF_SEL) . It allow the user to choose different output format in 8bit,10bit,16bit,20bit in YUV 422.

    Thanks,

    Poornima

  • Thanks for your reply!It works well when we use CVBS signaling,but it didn't work when decoding the VGA signal.We may only use 8bit YUV422 format for hardware reasons.The register 0X03 allow us to choose different output format,but I don't know how to set the other registers because these Settings are professional.So could you provide such a new script and inform the configuration process?
  • 0
    •  Analog Employees 
    on Sep 10, 2019 9:39 AM over 1 year ago in reply to Three

    Hi,

    Please try below configuration for VGA input to 8bit YUV 422.

    42 05 02 ; Prim_Mode =010b for GR
    42 06 08 ; VID_STD=1000b for 640x480 @ 60
    42 C3 31 ; ADC1 to Ain5 (R), ADC0 to Ain2 (G),
    42 C4 F2 ; ADC2 to Ain3 (B), enables manual override of mux, use SOG
    42 1D 47 ; Enable 28MHz Crystal
    42 3A 11 ; set latch clock settings to 001b, Power Down ADC3
    42 3B 81 ; Enable Internal Bias
    42 3C 5C ; PLL_QPUMP to 100b
    42 6A 00 ; DLL Phase Adjust
    //42 6B 84 ; Enable DE output, swap Pr& Pb
    //42 C9 08 ; Set DDR_EN
    42 73 90 ; Set man_gain
    //42 7B 1D ; TURN OFF EAV & SAV CODES Set BLANK_RGB_SEL
    42 03 0C ; 8 Bit Mode - Added
    42 85 03 ; Enable DS_OUT
    42 86 0B ; Enable stdi_line_count_mode
    42 8A 90 ; VCO Range to 00b
    42 F4 3F ; Max Drive Strength
    42 0E 80 ; ADI Recommended Setting
    42 52 46 ; ADI Recommended Setting
    42 54 80 ; ADI Recommended Setting
    42 0E 00 ; ADI Recommended Setting
    42 52 80 ; ADI Recommended Setting
    42 57 08 ; ADI Recommended Setting
    42 5B 00 ; ADI Recommended Setting
    42 5C 01 ; ADI Recommended Setting
    42 62 20 ; ADI Recommended Setting
    42 63 00 ; ADI Recommended Setting
    42 67 03 ; ADI Recommended Setting
    42 68 01 ; ADI Recommended Setting

    Thanks,

    Poornima

Reply
  • 0
    •  Analog Employees 
    on Sep 10, 2019 9:39 AM over 1 year ago in reply to Three

    Hi,

    Please try below configuration for VGA input to 8bit YUV 422.

    42 05 02 ; Prim_Mode =010b for GR
    42 06 08 ; VID_STD=1000b for 640x480 @ 60
    42 C3 31 ; ADC1 to Ain5 (R), ADC0 to Ain2 (G),
    42 C4 F2 ; ADC2 to Ain3 (B), enables manual override of mux, use SOG
    42 1D 47 ; Enable 28MHz Crystal
    42 3A 11 ; set latch clock settings to 001b, Power Down ADC3
    42 3B 81 ; Enable Internal Bias
    42 3C 5C ; PLL_QPUMP to 100b
    42 6A 00 ; DLL Phase Adjust
    //42 6B 84 ; Enable DE output, swap Pr& Pb
    //42 C9 08 ; Set DDR_EN
    42 73 90 ; Set man_gain
    //42 7B 1D ; TURN OFF EAV & SAV CODES Set BLANK_RGB_SEL
    42 03 0C ; 8 Bit Mode - Added
    42 85 03 ; Enable DS_OUT
    42 86 0B ; Enable stdi_line_count_mode
    42 8A 90 ; VCO Range to 00b
    42 F4 3F ; Max Drive Strength
    42 0E 80 ; ADI Recommended Setting
    42 52 46 ; ADI Recommended Setting
    42 54 80 ; ADI Recommended Setting
    42 0E 00 ; ADI Recommended Setting
    42 52 80 ; ADI Recommended Setting
    42 57 08 ; ADI Recommended Setting
    42 5B 00 ; ADI Recommended Setting
    42 5C 01 ; ADI Recommended Setting
    42 62 20 ; ADI Recommended Setting
    42 63 00 ; ADI Recommended Setting
    42 67 03 ; ADI Recommended Setting
    42 68 01 ; ADI Recommended Setting

    Thanks,

    Poornima

Children
  • Hi,

        First of all, thanks for your reply!

        I tried this configuration on my device.Unfortunately, the effect was not what I expected.

    This picture is the effect that I used this configuration, but no VGA signal was connected.And whether you connect the signal or not, that's the state.

  • 0
    •  Analog Employees 
    on Sep 10, 2019 11:08 AM over 1 year ago in reply to Three

    Hi,

     Here we don't have adv7181D eval board to verify. I commented some configuration for VGA input to YUV 422. Please let me know,why VGA signal was not connected?

    Thanks,

    Poornima

  • I'm sorry, I didn't make myself clear. What I mean is that the VGA signal input has no influence on the output signal of ADV7181D.We know that when CVBS signal is collected, when CVBS signal is not connected, the output of ADV7181D shows a blue screen.But whether the VGA signal is input or not, the phenomenon displayed is the above picture.

    Thanks,

  • 0
    •  Analog Employees 
    on Sep 11, 2019 12:32 PM over 1 year ago in reply to Three

    Hi,

     Please let us know your Tx(DAC). And also try with below configuration.

    42 05 02 ; Prim_Mode =010b for GR
    42 06 08 ; VID_STD=1000b for 640x480 @ 60
    42 C3 31 ; ADC1 to Ain5 (R), ADC0 to Ain2 (G),
    42 C4 F2 ; ADC2 to Ain3 (B), enables manual override of mux, use SOG
    42 1D 47 ; Enable 28MHz Crystal
    42 3A 11 ; set latch clock settings to 001b, Power Down ADC3
    42 3B 81 ; Enable Internal Bias
    42 3C 5C ; PLL_QPUMP to 100b
    42 6A 00 ; DLL Phase Adjust
    42 6B 83 ; Enable DE output, swap Pr& Pb
    42 C9 08 ; Set DDR_EN
    42 73 90 ; Set man_gain
    42 7B 1D ; TURN OFF EAV & SAV CODES Set BLANK_RGB_SEL
    42 85 03 ; Enable DS_OUT
    42 86 0B ; Enable stdi_line_count_mode
    42 0C 36 ;DEF_VAL_AUTO_EN bit set to high when ADV7181D lost lock.
    42 8A 90 ; VCO Range to 00b
    42 F4 3F ; Max Drive Strength
    42 0E 80 ; ADI Recommended Setting
    42 52 46 ; ADI Recommended Setting
    42 54 80 ; ADI Recommended Setting
    42 0E 00 ; ADI Recommended Setting
    42 52 80 ; ADI Recommended Setting
    42 57 08 ; ADI Recommended Setting
    42 5B 00 ; ADI Recommended Setting
    42 5C 01 ; ADI Recommended Setting
    42 62 20 ; ADI Recommended Setting
    42 63 00 ; ADI Recommended Setting
    42 67 03 ; ADI Recommended Setting
    42 68 01 ; ADI Recommended Setting

    Thanks,

    Poornima

  • Hi,

       When we collect CVBS signals, the configuration script provided by you is "AUTODETECT CVBS IN NTSC/PAL/SECAM, 8-Bit 422 encoder".This is the CVBS signal that we connected to the camera, which is displayed, and the effect is quite good.

        Of course, I also compared these two scripts and found the differences in registers 0x6b, 0xc9 and 0x7b, and I found that our MCU could not collect the data output of ADV7181 when configuring the 0x7b register.

        When we do not configure register 0X7B, the effect is the same as the configuration script you provided last time,Our MCU can collect some data, as shown in the figure below, but the VGA signal input has no impact on the signal output of ADV7181D.