We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Newbie rasoo
Registered: ‎02-13-2017

Failed to configure ADV7611 from xilinx sdk

Hi, I am very new in this area and currently working on video application. I am using ZC706 and FMC-HDMI. I want to get hdmi input from FMC-HDMI and sent the output from th HDMI port of ZC706.

I configured using ADV7511 using xiling SDK for the output. But in the same way i want to configure the ADV7611 of FMC-HDMI but it is not working and very much frustating as using the TCL file it works... Can someone explain me why it works with TCL but not with xilings SDk prograam.

The tcl fil eis attached whic works.

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
Registered: ‎08-01-2008

Re: Failed to configure ADV7611 from xilinx sdk

check example design here
You may also contact ADI for this issue
Thanks and Regards
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Newbie rasoo
Registered: ‎02-13-2017

Re: Failed to configure ADV7611 from xilinx sdk

Thanks for the response and I have already searched and visited those links. But actually did not served my purpose.

I got a vivado design file and my task is to write software for the configuration and peripheral test.
I am using xiling SDK 2016.3.
I have used the code below to configure the ADV7511 for HDMI output and it works fine.



HDMI_REG hdmi_iic[NUMBER_OF_HDMI_REGS] = { { 0xD6, 0x00, 0xC0 }, { 0x41, 0x00,
0x10 }, { 0x98, 0x00, 0x03 },
{ 0x9A, 0x00, 0xE0 }, // 0xE0 ----- ***
{ 0x9C, 0x00, 0x30 }, { 0x9D, 0x00, 0x61 }, { 0xA2, 0x00, 0xA4 }, {
0xA3, 0x00, 0xA4 }, { 0xE0, 0x00, 0xD0 }, { 0xF9, 0x00, 0x00 },
{ 0x15, 0x00, 0x00 }, //0x01
{ 0x16, 0x00, 0x30 }, //0xB9
{ 0x18, 0x00, 0x66 }, //0x66
{ 0xAF, 0x00, 0x06 }, // hdmi dvi mode (bit [1] 0= dvi, 1=hdmi)
{ 0x48, 0x00, 0x00 }, //08
{ 0xDE, 0x00, 0x18 }, //18
{ 0xBA, 0x00, 0x00 }, { 0x56, 0x00, 0x10 }, { 0x55, 0x00, 0x40 } };


int IicLowLevelDynEeprom() {
u8 BytesRead;
u8 BytesWritten;
u32 StatusReg;
u8 Index;
int i;
int Status;

* Initialize the IIC Core.
Status = XIic_DynInit(IIC_BASE_ADDRESS);
if (Status != XST_SUCCESS) {

* Make sure all the Fifo's are cleared and Bus is Not busy.
while (((StatusReg = XIic_ReadReg(IIC_BASE_ADDRESS, XIIC_SR_REG_OFFSET))


* Initialize the data to written and the read buffer.
for (Index = 0; Index < PAGE_SIZE; Index++) {
WriteBuffer[Index] = Index;
ReadBuffer[Index] = 0;
DataBuf[Index] = 0;

* Write to the IIC SWITCH.
EepromIicAddr = IIC_SWITCH_ADDRESS; // Alternate use of Write routine
//iic_base_address = IIC_BASE_ADDRESS;
WriteBuffer[0] = 0x02;
BytesWritten = EepromWriteByte(0x02, &DataBuf[0], 0);

* Write Initialization Sequence to ADV7511.
EepromIicAddr = IIC_ADV7511_ADDRESS;
for (Index = 0; Index < NUMBER_OF_HDMI_REGS; Index++) {
BytesWritten = EepromWriteByte(hdmi_iic[Index].addr,
&hdmi_iic[Index].init, 1);

for (i = 0; i < 50000; i++)
/*xil_printf("\r\n||Read register from ADV7511 :-------------|| Register : %X ||------", hdmi_iic[Index].addr);
BytesRead = EepromReadByte(hdmi_iic[Index].addr,
&hdmi_iic[Index].init, 1);*/




Now I just want to know can iConfigure the ADV7611 for hdmi input in the same way.. ? If yes, then why it is not working ?

0 Kudos
Visitor edu5163
Registered: ‎09-26-2017

Re: Failed to configure ADV7611 from xilinx sdk

Hi rasoo,


I attached a link to a tutorial where I configure ADV7611. I used Xilinx zc702 board and FMC-HDMI Diligent,

in the tutorial I solve some of your questions.




I hope it helps.

0 Kudos
Registered: ‎11-09-2015

Re: Failed to configure ADV7611 from xilinx sdk

Hi @rasoo,


Do you have any updates on this?


If everything is clear for you, please close the topic by marking the best reply as accepted solution


Thanks and Regards,

Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos