We're no longer updating This wiki!!

This is an old revision of the document!


I2C

This page introduces how you can interface your I2C devices to ODROID-C.

H/W connection

I2CA (/dev/i2c-1)

Pin NumberNet NameExport Number
C0/C1/C1+C2
3I2CA.SDA74205
5I2CA.SCL75206

I2CB (/dev/i2c-2)

Pin NumberNet NameExport Number
C0/C1/C1+C2
27I2CB.SDA76207
28I2CB.SCL77208

Loading I2C driver

Dedicated pins for I2C are configured for GPIO, these pins can be configured as I2C bus while change the pin configuration. In order to change the configuration, you must load the driver.

$ modprobe aml_i2c

If you have to load the driver every time whenever your ODROID-C1 starts, simply you can register the driver into /etc/modules.

$ sudo echo "aml_i2c" >> /etc/modules

This adds one line at end of the file, /etc/modules, and load the driver on boot automatically.

Tutorials

en/c_hardware_i2c.1459302957.txt.gz · Last modified: 2016/03/30 10:25 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0