We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c_hardware_i2c [2017/01/19 12:58]
odroid [Loading I2C driver]
en:c_hardware_i2c [2017/06/20 13:18] (current)
brian.kim [How to change the I2C clock speed]
Line 1: Line 1:
 ====== I2C ====== ====== I2C ======
-This page introduces how you can interface your I2C devices to **ODROID-C**.+This page introduces how you can interface your I2C devices to **ODROID-C** ​series.
 ===== H/W connection ===== ===== H/W connection =====
  
Line 48: Line 48:
 Change the DTB file for i2c-2 (i2c channel #2) Change the DTB file for i2c-2 (i2c channel #2)
 <​code>​ <​code>​
-dtput -t i /​media/​boot/​meson64_odroidc2.dtb /​i2c@c11087c0 master_i2c_speed "​100000"​+fdtput ​-t i /​media/​boot/​meson64_odroidc2.dtb /​i2c@c11087c0 master_i2c_speed "​100000"​
 sync sync
 reboot reboot
 </​code>​ </​code>​
  
-If you want to go back to original ​400Khz ​mode, change "​100000"​ to "400000".\\+If you want to go back to original ​300Khz ​mode, change "​100000"​ to "300000".\\
  
-**Actual I2C clock speed.** \\ +**Actual I2C clock speed** ​(Measured with an oscilloscope)\\ 
-In 400Khz ​mode : 270Khz \\+In 300Khz ​mode : 270Khz \\
 In 100Khz mode : 80Khz \\ In 100Khz mode : 80Khz \\
 +
 +**Default I2C clock speed** \\
 +C1/C1+/C0 : 100Khz mode \\
 +C2 : 400Khz mode \\
  
 ===== Tutorials ===== ===== Tutorials =====
en/c_hardware_i2c.1484800118.txt.gz · Last modified: 2017/01/19 12:58 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0