Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use I2C

59 bytes added, 18:32, 16 January 2012
no edit summary
= Check I2C Devices =
In this How-to i , I used pre-compiled modules, because: it's quick and it works. All versions of Linux are supported, as long as I2C support is included in the kernel. <br>
To make sure that I2C driver works well, follow the next steps (tested in [http://releases.linaro.org/platform/linaro-m/headless/final/linaro-m-headless-tar-20101108-2.tar.gz Linaro Headless]), install i2c-tools:
<pre>sudo apt-get install i2c-tools
</pre> Parse I2C busses: <pre>i2cdetect -l</pre>
The result will be similar at that:
<pre>i2c-1 i2c OMAP I2C adapter I2C adapter
i2c-3 i2c OMAP I2C adapter I2C adapter
</pre>
It's important than i2c-3 is enablewas enabled, because it connect by default connects to DVI-Dby default.
= Compile and Run<br> =
4,199
edits