cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
li_zicong
Observer
Observer
1,090 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
austin
Scholar
Scholar
1,043 Views
Registered: ‎02-27-2008

Do you know if your LCD is good & working?

 

 

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

Yeah, LCD works. Thanks for reminding me this.

0 Kudos
li_zicong
Observer
Observer
1,018 Views
Registered: ‎04-28-2017

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.