Max device can be connected to I2C bus and why?

Thread Starter

pradiptart

Joined Dec 15, 2013
1
Hi all,

Nice to join this forum.

I got one question and searched internet for the answer.The question is

What is the max number of devices that can be connected to I2C bus.

I got the answer like 128 but 16 are reserved so 112 devices.
but I am not able to figure it out how they are telling 128 and why 16 are reserved.

Can any one please tell me the cause.

Thanks in advance.
 

ErnieM

Joined Apr 24, 2011
8,377
128 comes from the 7 bit address used, that's the max that fits in that space.

There is also a 10 bit address scheme you could use to get 4 times the useful slave addresses.

Several addresses are reserved for things like the 10 bit address flag, a master call (all devices listen), and for things not thought of yet.

And welcome to the forums!
 

Shagas

Joined May 13, 2013
804
I2C is also limited by bus capacitace. Basically you should check the datasheet of the devices that you are using and add up the capacitances. I'm not sure what the limit is but I think that it's in the order of a few hundred picofarads.
In other words , you might only be able to connect a few tens of devices if they add heavy capacitances.
 

ErnieM

Joined Apr 24, 2011
8,377
I2C is also limited by bus capacitace. Basically you should check the datasheet of the devices that you are using and add up the capacitances. I'm not sure what the limit is but I think that it's in the order of a few hundred picofarads.
In other words , you might only be able to connect a few tens of devices if they add heavy capacitances.
That's why buffers were invented.

(Yes Virginia, there IS an I2C buffer. Several in fact.)
 
Top