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:49]
charles.park
en:xu4_hardware_hsi2c [2017/04/26 14:51]
charles.park
Line 12: Line 12:
 |  :::                          |  :::                         ​| ​ 6                         ​| ​ GPA2[3](I2C_5.SCL) ​ |  188            |  SCL          | |  :::                          |  :::                         ​| ​ 6                         ​| ​ GPA2[3](I2C_5.SCL) ​ |  188            |  SCL          |
  
-** Using the HW-HSI2C(/​dev/​i2c-1) with Expansion Board. I2C Physical Address : 0x12CB0000 ** +   ** 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) **+ 
 +   ** 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 110: Line 113:
 // //
 //​------------------------------------------------------------------------------------------------------------ //​------------------------------------------------------------------------------------------------------------
-// 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