We 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.
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 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?
Please try below configuration for VGA input to 8bit YUV 422.
42 05 02 ; Prim_Mode =010b for GR42 06 08 ; VID_STD=1000b for 640x480 @ 6042 C3 31 ; ADC1 to Ain5 (R), ADC0 to Ain2 (G),42 C4 F2 ; ADC2 to Ain3 (B), enables manual override of mux, use SOG42 1D 47 ; Enable 28MHz Crystal42 3A 11 ; set latch clock settings to 001b, Power Down ADC342 3B 81 ; Enable Internal Bias42 3C 5C ; PLL_QPUMP to 100b42 6A 00 ; DLL Phase Adjust//42 6B 84 ; Enable DE output, swap Pr& Pb//42 C9 08 ; Set DDR_EN42 73 90 ; Set man_gain//42 7B 1D ; TURN OFF EAV & SAV CODES Set BLANK_RGB_SEL42 03 0C ; 8 Bit Mode - Added42 85 03 ; Enable DS_OUT42 86 0B ; Enable stdi_line_count_mode42 8A 90 ; VCO Range to 00b42 F4 3F ; Max Drive Strength42 0E 80 ; ADI Recommended Setting42 52 46 ; ADI Recommended Setting42 54 80 ; ADI Recommended Setting42 0E 00 ; ADI Recommended Setting42 52 80 ; ADI Recommended Setting42 57 08 ; ADI Recommended Setting42 5B 00 ; ADI Recommended Setting42 5C 01 ; ADI Recommended Setting42 62 20 ; ADI Recommended Setting42 63 00 ; ADI Recommended Setting42 67 03 ; ADI Recommended Setting42 68 01 ; ADI Recommended Setting
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.
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?