AnsweredAssumed Answered

How can i write EDID for port B on adv7441a

Question asked by Jackchoi on Oct 13, 2012
Latest reply on Dec 12, 2012 by GuenterL

Hello,

I designed hdmi signal in port a and dvi signal in port b on adv7441a.

hdmi(port a) signal is working..but dvi signal(port b) is not working.

I think, edid is not working on port b.

i can`t not understand how to write edid on port b.

there is my source code.

 

for (i = 0x00; i <= 0xfe; i++) {

  adv_i2c_write(0x6e, i, EDID1[i]);

}

adv_i2c_write(KSV, 0x73, 0x07);

 

adv_i2c_write( 0x42 , 0x1D , 0x00 ); // ; Disable TRI_LLC
adv_i2c_write( 0x42 , 0x37 , 0x00 ); // ; Disable PCLK
adv_i2c_write( 0x42 , 0x6B , 0xEE ); // ; Setting cp_op_sel = 2 & Enable DE
adv_i2c_write( 0x42 , 0x68 , 0xF2 ); // ; Auto CSC , RGB Out
adv_i2c_write( 0x42 , 0xBA , 0xA0 ); // ; Enable HDMI and Analog in
adv_i2c_write( 0x42 , 0xC8 , 0x08 ); // ; Digital Fine Clamp Start position
adv_i2c_write( 0x42 , 0x7B , 0x0D ); // ; Disable AV code Insertion
adv_i2c_write( 0x42 , 0x7C , 0xCF ); // ; HSync Adjust
adv_i2c_write( 0x42 , 0x7D , 0xFF ); // ; HSync Adjust
adv_i2c_write( 0x42 , 0x7E , 0xFF ); // ; HSync Adjust
adv_i2c_write( 0x42 , 0xF4 , 0x3F ); // ; Max Drive Strength
adv_i2c_write( 0x62 , 0xF0 , 0x10 ); // ; ADI Recommended Write
adv_i2c_write( 0x62 , 0xF1 , 0x0F ); // ; ADI Recommended Write
adv_i2c_write( 0x62 , 0xF4 , 0x20 ); // ; ADI Recommended Write
adv_i2c_write( 0x6A , 0x00 , 0x00 ); // ; Port B HDMI Select
adv_i2c_write( 0x6A , 0x15 , 0xEC ); // ; Disable these mute mask bits
adv_i2c_write( 0x6A , 0x1C , 0x49 ); // ; Set MCLKOUT to output 256fs
adv_i2c_write( 0x6A , 0x1D , 0x04 ); // ;  & Set Unmute Delay to 1_5 sec.
adv_i2c_write( 0x6A , 0x5A , 0x01 ); // ; Reset Audio Pll

 

unsigned char EDID1[] =

{

0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00, //0x00 - 0x07

0x05,0x87,0x48,0x44,0x01,0x00,0x00,0x00, //0x08 - 0x0F

0x22,0x0E,0x01,0x03,0x80,0x31,0x1C,0xA0, //0x10 - 0x17

0x2A,0xAA,0x33,0xA4,0x55,0x48,0x93,0x25, //0x18 - 0x1F

0x10,0x45,0x47,0x20,0x00,0x00,0x01,0x01, //0x20 - 0x27

0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, //0x28 - 0x2F

0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x1D, //0x30 - 0x37

0x00,0x72,0x51,0xD0,0x1E,0x20,0x46,0x28, //0x38 - 0x3F

0x55,0x00,0xE8,0x12,0x11,0x00,0x00,0x18, //0x40 - 0x47

0x8C,0x0A,0xD0,0x8A,0x20,0xE0,0x2D,0x10, //0x48 - 0x4F

0x10,0x3E,0x96,0x00,0xE8,0x12,0x11,0x00, //0x50 - 0x57

0x00,0x18,0x00,0x00,0x00,0xFC,0x00,0x48, //0x58 - 0x5F

0x44,0x4D,0x49,0x20,0x54,0x56,0x0A,0x20, //0x60 - 0x67

0x20,0x20,0x20,0x20,0x00,0x00,0x00,0xFD, //0x68 - 0x6F

0x00,0x31,0x3D,0x0F,0x2E,0x08,0x00,0x0A, //0x70 - 0x77

0x20,0x20,0x20,0x20,0x20,0x20,0x01,0x00, //0x78 - 0x7F

0x02,0x03,0x1C,0x71,0x49,0x84,0x85,0x03, //0x80 - 0x87

0x12,0x01,0x13,0x20,0x21,0x22,0x23,0x0A, //0x88 - 0x8F

0x04,0x01,0x83,0x01,0x00,0x00,0x65,0x03, //0x90 - 0x97

0x0C,0x00,0x10,0x00,0x01,0x1D,0x00,0x72, //0x98 - 0x9F

0x51,0xD0,0x1E,0x20,0x6E,0x28,0x55,0x00, //0xA0 - 0xA7

0xE8,0x12,0x11,0x00,0x00,0x1E,0x8C,0x0A, //0xA8 - 0xAF

0xD0,0x90,0x20,0x40,0x31,0x20,0x0C,0x40, //0xB0 - 0xB7

0x55,0x00,0xE8,0x12,0x11,0x00,0x00,0x18, //0xB8 - 0xBF

0x8C,0x0A,0xD0,0x8A,0x20,0xE0,0x2D,0x10, //0xC0 - 0xC7

0x10,0x3E,0x96,0x00,0xE8,0x12,0x11,0x00, //0xC8 - 0xCF

0x00,0x18,0x01,0x1D,0x80,0x18,0x71,0x1C, //0xD0 - 0xD7

0x16,0x20,0x58,0x28,0x25,0x00,0xE8,0x12, //0xD8 - 0xDF

0x11,0x00,0x00,0x98,0x01,0x1D,0x00,0xBC, //0xE0 - 0xE7

0x52,0xD0,0x1E,0x20,0xB8,0x28,0x55,0x40, //0xE8 - 0xEF

0xE8,0x12,0x11,0x00,0x00,0x1E,0x00,0x00, //0xF0 - 0xF7

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00  //0xF8 - 0xFF

};

Outcomes