|Our Pinout is based on Philips recommendations. Our I2C Bus connector used is a MICRO-MATCH by AMP. This connector is small, reliable, polarised, and cheap. We recommend that you use it in your designs.
Predictably no two people use the same connector, hell Philips change pinout every year or two. So we have collected pinout and connector info for various companies, whose products you might want to actually use. We have an adaptor board available to make it easy to use boards from different companies, so you can get your job done.
Micro-match 6pin Connectors & Cables
Either 4 or 6 way can be used. 0.050" ribbon cable is used and the connectors can be daisy chained on the wire. Because of the keying arrangement used, the 6 pin plugs can be correctly plugged into 4 pin sockets, so a mixed system is quite practical. For longest runs or best speed, use a 4 wire cable if you aren't going to use INT. We don't specify the use of VAUX. If you use it for something other than +12 we recommend it has a resistor in series of sufficient value to protect it in the event that it is connected to +12
|Interrupt input (active low) for I2C.
ALERT for SMBUS
CS when being used for an SPI bus.
|Aux supply (eg 12V). Not connected
Connector Part Number and Suppliers
|6 way male-on-wire
|6 pin female-on board
|6 pin side-entry female-on board
|6 pin SMT female-on board
|6 pin female-on board, locking latch
|4 pin male-on-wire
|4 pin female-on-board
|4 pin side-entry female-on-board
|4 pin SMT female-on-board
Do NOT run SDA and SCL parallel, or twist them together. Yes, you got a module of Aliexpress in China that does this, but don't.
The reason for our arrangement of the power lines being between the I2C wires is to stop crosstalk. ie the edges of SDA and SCL coupling together. Placing VDD and GND between SDA and SCL, means that the capacitance on either signal line is equal (for 4 wire cable)
This is the Philips recommendation. The pattern is that set out in section 17.3 of The I2C Bus Specification. (there are recommendations for twisted pair etc)
Bus Pullups and Drive
The I2C Bus normally uses a resistive pullup. The exponential RC pullup characteristic slows the bus down and reduces the noise margin. Using a constant current pullup will improve this.
Note that the I2C spec is for 1.5mA pullup current, and all chips will do this. Many have significantly greater capability, so you can run some busses at higher current. (eg our BL232 is happy at 15mA.
The length of the bus is limited by 3 factors
First see the Philips documents for info on bus speed and capacitance.
The basic limit for standard mode (100kHz) is 400pF. This is about 8m of 4 way ribbon cable (normally 40-50pF/m). Some STP (shielded-twisted-pair) cables have about 55pF/m, others have twice this. You can always reduce the bit rate to increase the bus length.
Noise, RF, and mains spikes set another limit. Frankly you would be insane to run 8m of ribbon cable. Every cellphone for about 100m would stop it working.
Ground Bounce is a third problem. As the bus is single ended, any voltage drop and noise on the GND (and VDD) wires affects the threshold. For longer runs, or where modules draw a significant, and particularly, a fluctuating current, you must provide separate power wires for the high current circuits, and use the bus power to run the i2c interface chips. Large currentSome possible solutions are:
How Do I2CChip Boards Help?
Some pinouts used by others. It seems no one uses the same pinout, even Philips change it every year...
So we have a Connector Adaptor Board for the common formats below
On the 2002 demo board, this is the layout used for the 0.1" headers. Some of our boards have holes for this header. Philips change this all the time...
These use loose cable rather than ribbon, and this kind of connector is far larger than the micromatch.
Another 0.1" connector
|active low reset
MCC used what was probably the only standard I2C connector: The ACCESS Bus connector from Molex. Unfortunately USB killed Access Bus. This must cast some doubt over the availability of this connector in future.
MCC/ACCESS BUS mod-type cable connector (This is on our adaptor Board)
iPack Stackable Board Format
Pond Electronics use an RJ45 connector, and a buffered I2C bus. They use the 82B715 buffer to increase bus current 10x, (15mA). In an email Paul claims "we have sucessfully run and powered our LCD down 250m of cable".
Note that the I2C-2-PC has an 82B715 built in, so it can drive this bus directly. (This feature may be revised, so check with us before using)
To connect Connii or Audrii you will need a male Mini-DIN connector / cable as used for PS2 keyboard/mice.
male Mini-DIN connector
Phone +64 21 623-402
Please send us mail telling us what you think about this page and how we might improve it.