Electronic – How to estimate a value for IC capacitance in a I2C bus

capacitancei2c

What is a reasonable value to use as the capacitance a I2C device adds to a bus if so is not stated in the datasheet?

With this value I intend on calculating the pull-up resistors to eventually use in a PCB.

I need to append to the bus the following devices:

L3G4200D gyroscope

LIS331DLH accelerometer

HMC5883L compass

Best Answer

Since none of the three of those datasheets give any details on data line capacitive loading, design around a total bus capacitance of 400pF (the maximum allowed within the I2C spec). Obviously, once you have a prototype PCB up, use a scope to check the signal waveforms and adjust the pullups appropriately.