cancel
Showing results for 
Search instead for 
Did you mean: 

how to connect more than 2 chips over I2C ?

MNapi
Senior III

I have custom board with 4 chips, communicating over I2C. The problem is that I cannot have 4 chips talking to each other.

I can only communicate between 2 chips. As soon as I enable I2C on third chips the communication stops.

One is setup as master transmit the rest as slave receive. My guess maybe it is something do to with CLK line as soon as the 3rd or 4th is enabled.

2 REPLIES 2

The Slave drives the transaction and pacing.

Make sure that the pins are Open Collector/Drain.

Make sure the Slaves are NOT responding to the same addresses.

Perhaps use serial output to understand the behaviour/interactions of the slaves.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Foued_KH
ST Employee

Hello @MNapi​ ,

You may connect an Oscilloscope to see the SDA and SCL behavior.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.