AnsweredAssumed Answered

ADV7181D The input signal is 720p60hz RGB SOG, the screen is shifted to the left

Question asked by mhqyz on Feb 28, 2017
Latest reply on Mar 22, 2017 by JeyasudhaMuthuPerumal

Hi:

Hardware:ADV7181D+Sil9134 HDMI out

Q:ADV7181D The input signal is 720p60hz RGB SOG, the screen is shifted to the left。

Where is the configuration wrong?

Software configuration:

ADV7181D_WriteByte(0x05, 0x01);//PRIM_MODE = 001b COMP
ADV7181D_WriteByte(0x06, 0x0A);//VID_STD=1010b for 720P 1x1
ADV7181D_WriteByte(0xC3, 0x31);//ADC1 to Ain5 (R), ADC0 to Ain2 (G),
ADV7181D_WriteByte(0xC4, 0xF2);//ADC2 to Ain3 (B), enables manual override of mux, use SOG
ADV7181D_WriteByte(0x1D, 0x47);//Enable 28MHz Crystal
ADV7181D_WriteByte(0x3A, 0x21);//set latch clock settings to 010b, Power Down ADC3
ADV7181D_WriteByte(0x3B, 0x81);//Enable internal Bias
ADV7181D_WriteByte(0x3C, 0x5D);//PLL_QPUMP to 101b
ADV7181D_WriteByte(0x52, 0x00);//Color Space Conversion from RGB->YCrCb
ADV7181D_WriteByte(0x53, 0x00);//CSC
ADV7181D_WriteByte(0x54, 0x12);//CSC
ADV7181D_WriteByte(0x55, 0x90);//CSC
ADV7181D_WriteByte(0x56, 0x38);//CSC
ADV7181D_WriteByte(0x57, 0x69);//CSC
ADV7181D_WriteByte(0x58, 0x48);//CSC
ADV7181D_WriteByte(0x59, 0x08);//CSC
ADV7181D_WriteByte(0x5A, 0x00);//CSC
ADV7181D_WriteByte(0x5B, 0x75);//CSC
ADV7181D_WriteByte(0x5C, 0x21);//CSC
ADV7181D_WriteByte(0x5D, 0x00);//CSC
ADV7181D_WriteByte(0x5E, 0x1A);//CSC
ADV7181D_WriteByte(0x5F, 0xB8);//CSC
ADV7181D_WriteByte(0x60, 0x08);//CSC
ADV7181D_WriteByte(0x61, 0x00);//CSC
ADV7181D_WriteByte(0x62, 0x20);//CSC
ADV7181D_WriteByte(0x63, 0x03);//CSC
ADV7181D_WriteByte(0x64, 0xD7);//CSC
ADV7181D_WriteByte(0x65, 0x19);//CSC
ADV7181D_WriteByte(0x66, 0x48);//CSC
ADV7181D_WriteByte(0x67, 0x13);//CSC last
ADV7181D_WriteByte(0x6B, 0x81);//20 Bit 422
ADV7181D_WriteByte(0xC9, 0x00);//SDR
ADV7181D_WriteByte(0x73, 0xCF);//Enable Manual Gain and set CH_A gain
ADV7181D_WriteByte(0x74, 0xA3);//Set CH_A and CH_B Gain - 0FAh
ADV7181D_WriteByte(0x75, 0xE8);//Set CH_B and CH_C Gain
ADV7181D_WriteByte(0x76, 0xFA);//Set CH_C Gain
ADV7181D_WriteByte(0x7B, 0x1D);//Turn off EAV and SAV Codes. Set BLANK_RGB_SEL.
ADV7181D_WriteByte(0x7C, 0x10);//set HS position & polarity
ADV7181D_WriteByte(0x85, 0x19);//Turn off SSPD and force SOG
ADV7181D_WriteByte(0x86, 0x0B);//Enable stdi_line_count_mode
ADV7181D_WriteByte(0xBF, 0x06);//Blue Screen Free Run Colour
ADV7181D_WriteByte(0xC0, 0x40);//Default color
ADV7181D_WriteByte(0xC1, 0x80);//Default color
ADV7181D_WriteByte(0xC2, 0xF0);//Default color
ADV7181D_WriteByte(0xC5, 0x01);//CP_CLAMP_AVG_FACTOR[1-0] = 00b
ADV7181D_WriteByte(0xF4, 0x3F);//Max Drive Strength
ADV7181D_WriteByte(0x0E, 0x80);//ADI Recommended Setting
ADV7181D_WriteByte(0x52, 0x46);//ADI Recommended Setting
ADV7181D_WriteByte(0x54, 0x80);//ADI Recommended Setting
ADV7181D_WriteByte(0x57, 0x01);//ADI Recommended Setting
ADV7181D_WriteByte(0xF6, 0x3B);//ADI Recommended Setting
ADV7181D_WriteByte(0x0E, 0x00);//ADI Recommended Setting

 

picture(the screen is shifted to the left):

Outcomes