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
Next revision Both sides next revision
en:xu4_hardware_hsi2c [2017/04/26 14:48]
charles.park [Table]
en:xu4_hardware_hsi2c [2017/04/26 14:51]
charles.park
Line 4: Line 4:
 The Expansion Board have two I2C devices.\\ The Expansion Board have two I2C devices.\\
 You can use the devices via H/W I2C(I2C-A : HSI2C). You can use the devices via H/W I2C(I2C-A : HSI2C).
 +
 +{{:​en:​xu4:​xu4_hsi2c_with_expansion.png?​700|}}
  
 **H/W I2C(I2C-A : HSI2C)** **H/W I2C(I2C-A : HSI2C)**
Line 10: Line 12:
 |  :::                          |  :::                         ​| ​ 6                         ​| ​ GPA2[3](I2C_5.SCL) ​ |  188            |  SCL          | |  :::                          |  :::                         ​| ​ 6                         ​| ​ GPA2[3](I2C_5.SCL) ​ |  188            |  SCL          |
  
-{{:​en:​xu4:​xu4_hsi2c_with_expansion.png?​700|}} +   ** Using the HW-HSI2C(/​dev/​i2c-1) with Expansion Board. I2C Physical Address : 0x12CB0000 ** 
- +   ​** Must Read : Can't use SMBus Quick Write command on this bus.(Not support i2cdetect) **
-{{http://​dn.odroid.com/​wiki_image/​xu4/​xu4_hw_hsi2c.png|}} +
- +
-** Using the HW-HSI2C(/​dev/​i2c-1) with Expansion Board. I2C Physical Address : 0x12CB0000 ** +
-** Must Read : Can't use SMBus Quick Write command on this bus.(Not support i2cdetect) **+
  
-HW-HSI2C Test Code+**HW-HSI2C Test Code**
 <file c xu4_hsi2c.c>​ <file c xu4_hsi2c.c>​
 //​------------------------------------------------------------------------------------------------------------ //​------------------------------------------------------------------------------------------------------------
Line 112: Line 110:
 // //
 //​------------------------------------------------------------------------------------------------------------ //​------------------------------------------------------------------------------------------------------------
-// const char *i2cHandleNode = "/​dev/​i2c-3";+// kernel 4.9.y device node 
 +// const char *i2cHandleNode = "/​dev/​i2c-5"; 
 + 
 +// kernel 3.10.y device node
 const char *i2cHandleNode = "/​dev/​i2c-1";​ const char *i2cHandleNode = "/​dev/​i2c-1";​
 static ​ int i2c_fd = -1; static ​ int i2c_fd = -1;
en/xu4_hardware_hsi2c.txt · Last modified: 2017/04/26 14:57 by charles.park
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0