Changes

How to use I2C

826 bytes added, 11:45, 31 December 2013
m
Requirements
More information about [http://en.wikipedia.org/wiki/Extended_display_identification_data EDID].<br>
= Feedback and Contributing Requirements =
At any pointThere are some requisites to follow this guide:  *[https://www.isee.biz/support/downloads/item/igep-virtual-machine-sdk IGEP SDK VM]: follow the [http://isee.biz/component/zoo/item/igep-sdk-software-user-manual IGEP&nbsp;SDK&nbsp;SOFTWARE&nbsp;USER&nbsp;MANUAL] (chapter 2.3 "Setting up and running the VM") or install [http://labs.isee.biz/index.php/How_to_setup_a_cross_compiler#Download.2FInstall_IGEP_SDK IGEP&nbsp;SDK] in your host computer<br> *[http://www.isee.biz/products/processor-boards/igepv2-board IGEPv2], if you see a mistake you can contribute to [https://www.isee.biz/products/igep-expansion-boards/igep-berlin IGEP BERLIN] or [https://www.isee.biz/products/igep-expansion-boards/igep-paris IGEP PARIS] (in this Howguide is used I2C located at HDMI connector) *[http://labs.isee.biz/images/8/8c/Parse-edid-Tobeta3.tar.bz2 parse-edid-beta3.tar. bz2]<br>
= Check I2C Devices =
Download [http://labs.isee.biz/images/8/8c/Parse-edid-beta3.tar.bz2 parse-edid-beta3.tar.bz2] and extract it.
There are some things that is interesting learn, before compiling the program. Open it, and seek next lines:<br>
<pre>//1==enabled 0==disable
#define FORCE 1
More information about [[Peripherals Summary#I2C|I2C]].<br>
Compile program using your Cross Compiler, I used arm-linux-gnueabi-IGEP SDK: <pre>arm-poky-linux-gnueabi-gcc parse-edid-beta3.c -o parse-edid-beta3</pre> Export binary to IGEP using [[Transfer files via SCP|scp]]: <pre>scp parse-edid-beta3 root@&lt;IGEP IP address&gt;:/home/root </pre>
Run program as root. Pass the i2c number that you want to parse:
<pre>./parse-edid-beta3 -d 23</pre>
= Results =
Monitor name: SMB2030HD
</pre>  [[Category:SPI]]
4,199
edits