attachment:Dockstar_I2C_upper_DSC05050.jpg

Dockstar, I2C bus

The Marvell 88F6281 SoC (System On Chip) has an I2C bus connection, not brought out to a plug, but the pullup resistors are there.

The Linux kernel needs to have an I2C driver enabled for to use, please see at the links.

I2C bus, Hardware

The data and clock connection points can be found (see pictures):

I soldered a 4 pin (spacing 2.54 mm) header to the board, please see the picture. The signals are:

attachment:Dockstar_I2C_lower_DSC05051.jpg

For wiring I used thin wire-wrap wire. It works best to give a little flux to the soldering points of the board.

The housing must be cut out, that you can plug a connector, if the housing is closed. Also part of the shield on the inside of the housing must be bend up, to avoid any electric contact to the pins.

I2C bus, Software

shyd was so friendly and compiled the Linux kernel version 3.9.5 for the Dockstar, including I2C support. You can also download there:

For installation details please have also a look at Dockstar Debian.

Check the I2C interface with an I2C slave connected to the bus:

$ sudo apt-get install i2ctools

# look for the device
$ ls -ls /dev/i2*
0 crw-rw---T 1 root i2c 89, 0 Jan  1  1970 /dev/i2c-0

# look for I2C slaves
$ sudo i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- 04 -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
# The address 04 is an ATtiny85 listening to I2C 

List of pages in this category:

-- RudolfReuter 2013-12-23 17:21:17


Go back to CategoryDockstar or FrontPage

Dockstar_I2C_bus (last edited 2013-12-23 17:54:28 by RudolfReuter)