UPGRADE YOUR BROWSER

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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer li_zicong
Observer
683 Views
Registered: ‎04-28-2017

Configure I2C in ADV7511 through PCA9548A

Hi!

 

I was stuck in a display problem. My development kit is ZC706.

According to PCA9548A Product data sheet, ADV7511 Hardware Users Guide and ADV7511 Programming Guide, I want to configure I2C by writing master from PL like:

assign memory[0]  = 24'he80200;
assign memory[1]  = 24'h724110;
...

...
assign memory[15] = 24'h724c04;
assign memory[16] = 24'h724000;

 

Here are the first two configurations grabbed from ILA:

start     i2c mux addr     ack from mux        data            ack from mux    stop
   0           1110 1000          0                     0000 0010          0                     1

(continued)
start     adv7511 addr     ACK        data                ACK            data          ACK      stop
0           0111 0010           0         0100 0001          0          0001 0000         0           1

 

(continued)..

 

From ILA, I can see that there are always ACK after I write those bytes to I2C. The weird thing is LCD does not respond at all which means that ADV7511 does not work properly. Does anyone have any suggestion? Thanks in advance.

 

Regards,

 

Zicong Li

0 Kudos
3 Replies
Scholar austin
Scholar
636 Views
Registered: ‎02-27-2008

Re: Configure I2C in ADV7511 through PCA9548A

Do you know if your LCD is good & working?

 

 

Austin Lesea
Principal Engineer
Xilinx San Jose
0 Kudos
Observer li_zicong
Observer
612 Views
Registered: ‎04-28-2017

Re: Configure I2C in ADV7511 through PCA9548A

Yeah, LCD works. Thanks for reminding me this.

0 Kudos
Highlighted
Observer li_zicong
Observer
611 Views
Registered: ‎04-28-2017

Re: Configure I2C in ADV7511 through PCA9548A

My problem is solved.

I ignored the rule "Both data and clock lines remain HIGH when the bus is not busy" on page 9 in PCA9548A produce data sheet and generate SCL like a clock even when no data is transferred. So I pull it high when the bus is not busy.