5

It is given in philips i2c specification that maximum number of devices connected to the bus is limited by bus capacitance.There is formula specified for pull up resistor but there is no formula to calculate bus capacitance. Then how to calculate bus capacitance?

mee
  • 117
  • 1
  • 5
  • 1
    [Another thread dealing with I2C bus capacitance.](http://electronics.stackexchange.com/q/57121/7036) Just wanted to link it. – Nick Alexeev Mar 13 '13 at 20:44

1 Answers1

7

Each device on the I2C bus will contribute to the bus capacitance. These values are taken from the device datasheet and added together. Example taken from the first I2C device datasheet I found, the M24C08:

M24C08

Remember to include the capacitance of the master device too. Maximum capacitance for the bus is 400pF.

stanri
  • 5,352
  • 2
  • 27
  • 54
  • 2
    Don't neglect the capcitance of the cables if the device is remote. – Scott Seidman Mar 13 '13 at 11:05
  • Is there a way to calculate the capacitance of the cables? I am a bit rusty on the subject but I think it depends on the layout of the connections; if so, is there some way to get an approximate value before hands, or is it something one only measures? –  Jul 08 '14 at 07:49
  • Agreed, this computation appears good if the parts are built to specification and you have the datasheet. What can we do if there is no datasheet? Is this something we can measure using an instrument of some kind? – Nicholas Miller Jun 14 '16 at 15:09
  • How to calculate the capacitance contribution of the traces on the PCB? – user1406716 Sep 18 '16 at 16:12