AnsweredAssumed Answered

ADV7181 color issue

Question asked by on Feb 23, 2018
Latest reply on Feb 23, 2018 by PoornimaSubramani

Dear Supporter,



We are working with ADV7181C.

input : 720p/60Hz YPrPb

output : 12bit 444 RGB mode.


we refer to this(ADV7181C_ADV7181C@_ADV7341-VER.3.2c.txt >> ##CP 720p## :720p/60Hz YPrPb In 12Bit 444 RGB HS/VS HDMI:) as an initialized.



Q1. color issue.

The output color is strange compared to the original.

The output changed when the CSC register was changed. color.jpg : original.

2. color issue.jpg : output

3.  color issue2.jpg  : output After changing the CSC register.

What can I do to solve this problem?



Q2. auto detection problem.

As i know, the way to do auto detection,

1. BL(0xb1, 0xb2), LCF(0xb3, 0xb4) value read,

2. change the VID_STD.


But how do i know if it has changed properly?

What register should I check?






this is my setting..


//:720p/60Hz YPrPb In 12Bit 444 RGB HS/VS HDMI:
 {0x21, 0x05, 0x01},// ; PRIM_MODE = 001b COMP
 {0x21, 0x06, 0x0a},// ; VID_STD for 525i//0x0A:720p, 0x0C:1080i
 {0x21, 0xC3, 0x46},// ; ADC1 to Ain4, ADC0 to Ain6,
 {0x21, 0xC4, 0xB5},// ; ADC2 to Ain5 and enables manual override of mux 
 {0x21, 0x1D, 0x47},// ; Enable 28.63636MHz crystal
 {0x21, 0x3A, 0x21},// ; Set Latch Clock 01b. Power down ADC3.
 {0x21, 0x3B, 0x81},// ; Enable Internal Bias
 {0x21, 0x3C, 0x5d},// ; PLL QPUMP to 011b
 //{0x21, 0x52, 0x04},// ; Setup reg 52 to 66 in CSC for RGB color space 
 {0x21, 0x52, 0x00},
 /*{0x21, 0x53, 0x00},// ; CSC Register */     {0x21, 0x53, 0x40},
 /*{0x21, 0x54, 0x78},// ; CSC Register */     {0x21, 0x54, 0x03},
 /*{0x21, 0x55, 0x23},// ; CSC Register */     {0x21, 0x55, 0xF8},
 /*{0x21, 0x56, 0x8C},// ; CSC Register */     {0x21, 0x56, 0x5D},
 /*{0x21, 0x57, 0xC5},// ; CSC Register */     {0x21, 0x57, 0xC9},
 /*{0x21, 0x58, 0xBB},// ; CSC Register */     {0x21, 0x58, 0xD3},
 /*{0x21, 0x59, 0x00},// ; CSC Register */     {0x21, 0x59, 0x08},
 /*{0x21, 0x5A, 0x00},// ; CSC Register */     {0x21, 0x5A, 0x00},
 /*{0x21, 0x5B, 0x28},// ; CSC Register */     {0x21, 0x5B, 0x1C},
 /*{0x21, 0x5C, 0x94},// ; CSC Register */     {0x21, 0x5C, 0x1B},
 /*{0x21, 0x5D, 0x00},// ; CSC Register */     {0x21, 0x5D, 0xCC},
 /*{0x21, 0x5E, 0x05},// ; CSC Register */     {0x21, 0x5E, 0x5A},
 /*{0x21, 0x5F, 0xDB},// ; CSC Register */     {0x21, 0x5F, 0x98},
 /*{0x21, 0x60, 0x00},// ; CSC Register */     {0x21, 0x60, 0x08},
 /*{0x21, 0x61, 0x00},// ; CSC Register */     {0x21, 0x61, 0x00},
 /*{0x21, 0x62, 0x00},// ; CSC Register */     {0x21, 0x62, 0x7D},
 /*{0x21, 0x63, 0x01},// ; CSC Register */     {0x21, 0x63, 0x70},
 /*{0x21, 0x64, 0x05},// ; CSC Register */     {0x21, 0x64, 0xE0},
 /*{0x21, 0x65, 0x25},// ; CSC Register */     {0x21, 0x65, 0xD9},
 /*{0x21, 0x66, 0xDB},// ; CSC Register */     {0x21, 0x66, 0x9E},
 {0x21, 0x6B, 0x84},// ; Enable DE output, swap colours
 {0x21, 0xC9, 0x08},// ; Enable DDR
 {0x21, 0x73, 0xF0},// ; Enable Manual Gain and set CH_A gain
 {0x21, 0x74, 0x0C},// ; Set CH_A and CH_B Gain
 {0x21, 0x75, 0x03},// ; Set CH_B and CH_C Gain
 {0x21, 0x76, 0x00},// ; Set CH_C Gain
 {0x21, 0x0E, 0x80},// ; Enable Hidden Space.
 {0x21, 0xF6, 0x3B},// ; ADI Recommended Setting
 {0x21, 0x0E, 0x00},// ; Disable Hidden Space.     
 {0x21, 0x77, 0x04},// ; Set offset to 64d
 {0x21, 0x78, 0x01},// ; Set offset to 64d
 {0x21, 0x79, 0x00},// ; Set offset to 64d
 {0x21, 0x7A, 0x40},// ; Set offset to 64d
 {0x21, 0x7B, 0x1D},// ; Turn off EAV and SAV Codes. Set BLANK_RGB_SEL.
 {0x21, 0x7C, 0x93},// ; set HS position & polarity
 {0x21, 0x7D, 0x90},// ; set HS position
 {0x21, 0x7E, 0x40},// ; set HS position
 {0x21, 0x85, 0x19},// ; Turn off SSPD and force SOY
 {0x21, 0x86, 0x0B},// ; Enable STDI Line Count Mode
 {0x21, 0xBF, 0x06},// ; Blue Screen Free Run Colour
 {0x21, 0xC0, 0x40},// ; default color
 {0x21, 0xC1, 0x80},// ; default color
 {0x21, 0xC2, 0xF0},// ; Default color
 {0x21, 0x0E, 0x80},// ; ADI recommended sequence
 {0x21, 0x52, 0x46},// ; ADI recommended sequence
 {0x21, 0x54, 0x00},// ; ADI recommended sequence
 {0x21, 0x0E, 0x00},// ; ADI recommended sequence