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: 
Highlighted
Adventurer
Adventurer
706 Views
Registered: ‎01-26-2017

KCU105 - setup I2C for IIC Mux 1 (PCA9544)

Jump to solution

Hi,

 

I have a working I2C module in hardware on my board for programming the ADV7511 chip. This works fine, as the I2C path to ADV7511 goes through TCA9548 8-channel bus switch.

 

However, my design now requires that I use I2C to program another device also, which is plugged in FMC-HPC. I assume that FMC pins c30 and c31 are wired directly to the I2C chips, so all I should have to change is the address (from 0x74 to 0x75) and write data XXXXXX00 (X is don't care) then I should be able to access the other device's registers. However nothing happens. 

 

To debug, I set my I2C module to spam the FMC pins with continuous instructions and measure the pins with an oscilloscope. SDA and SCL are always pulled high, which leads me to believe that the connection to FMC is not working for some reason. I.e the path is maybe still going through the TCA9548 8-channel bus switch instead of the PCA9544 4-channel bus switch.

 

Could anyone provide any insight into anything I might have missed?

 

Thanks for your time,

Aaron

--- Estimated Development time: 2*Pi*(planned completion date) ---
Tags (4)
0 Kudos
1 Solution

Accepted Solutions
Participant nuelle85
Participant
898 Views
Registered: ‎04-27-2016

Re: KCU105 - setup I2C for IIC Mux 1 (PCA9544)

Jump to solution

From PCA9544 datasheet:  "The three LSBs of the control byte are used to determine which channel (or channels) is to be selected." Moreover, the I2C bus from FMC HPC connector is routed to channel 1 of U80 (PCA9544, 0x75).  So write XXXX101 to enable channel 1 of PCA9544 bus switch.

3 Replies
Participant nuelle85
Participant
899 Views
Registered: ‎04-27-2016

Re: KCU105 - setup I2C for IIC Mux 1 (PCA9544)

Jump to solution

From PCA9544 datasheet:  "The three LSBs of the control byte are used to determine which channel (or channels) is to be selected." Moreover, the I2C bus from FMC HPC connector is routed to channel 1 of U80 (PCA9544, 0x75).  So write XXXX101 to enable channel 1 of PCA9544 bus switch.

Adventurer
Adventurer
628 Views
Registered: ‎01-26-2017

Re: KCU105 - setup I2C for IIC Mux 1 (PCA9544)

Jump to solution

Okay, will try this and report back - thanks.

--- Estimated Development time: 2*Pi*(planned completion date) ---
0 Kudos
Adventurer
Adventurer
616 Views
Registered: ‎01-26-2017

Re: KCU105 - setup I2C for IIC Mux 1 (PCA9544)

Jump to solution
Yup, that worked. Much thanks (although I think I should have realised such a simple mistake myself >.< )
--- Estimated Development time: 2*Pi*(planned completion date) ---
0 Kudos