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:wb_xu4_shifter_shield [2017/04/25 18:12]
charles.park [How to check WEATHER-BOARD with i2c-tools.]
en:wb_xu4_shifter_shield [2017/06/15 09:42] (current)
odroid [Directly connecting WEATHER-BOARD to ODROID-XU4]
Line 9: Line 9:
 ====== Directly connecting WEATHER-BOARD to ODROID-XU4 ====== ====== Directly connecting WEATHER-BOARD to ODROID-XU4 ======
  
-{{:​en:​weather_board:​wb2_xu4_wire.png?500|}}+{{:​en:​weather_board:​wb3_xu4_wire.png?500|}}
 ---- ----
  
-**H/W I2C CH-A**+**H/W I2C(I2C-A)**
 ^  Kernel 3.10.y\\ (node name)  ^  Kernel 4.9.y\\ (node name)  ^  Net Name            ^  Export Number ​ ^  Description ​ ^ ^  Kernel 3.10.y\\ (node name)  ^  Kernel 4.9.y\\ (node name)  ^  Net Name            ^  Export Number ​ ^  Description ​ ^
-|  /​dev/​i2c-4 ​                  ​|  /​dev/​i2c-1 ​                 |  GPB3[2](I2C_1.SDA) ​ |  209            |  SDA          |+|  ​<color #​ed1c24>​**/dev/i2c-4**</​color> ​                 ​|  ​<color #​ed1c24>​**/dev/i2c-1**</​color> ​                 ​| ​ GPB3[2](I2C_1.SDA) ​ |  209            |  SDA          |
 |  :::                          |  :::                         ​| ​ GPB3[3](I2C_1.SCL) ​ |  210            |  SCL          | |  :::                          |  :::                         ​| ​ GPB3[3](I2C_1.SCL) ​ |  210            |  SCL          |
  
-**H/W I2C CH-B(HS-I2C)**+**H/W I2C(I2C-B HS-I2C)**
 ^  Kernel 3.10.y\\ (node name)  ^  Kernel 4.9.y\\ (node name)  ^  Net Name            ^  Export Number ​ ^  Description ​ ^ ^  Kernel 3.10.y\\ (node name)  ^  Kernel 4.9.y\\ (node name)  ^  Net Name            ^  Export Number ​ ^  Description ​ ^
-|  /​dev/​i2c-1 ​                  ​| ​ /​dev/​i2c-5 ​                 |  GPA2[2](I2C_5.SDA) ​ |  187            |  SDA          |+|  ​<color #​ed1c24>​**/dev/i2c-1**</​color> ​                  |  ​<color #​ed1c24>​**/dev/i2c-5**</​color> ​                 ​| ​ GPA2[2](I2C_5.SDA) ​ |  187            |  SDA          |
 | :::                           | :::                          |  GPA2[3](I2C_5.SCL) ​ |  188            |  SCL          | | :::                           | :::                          |  GPA2[3](I2C_5.SCL) ​ |  188            |  SCL          |
  
Line 32: Line 32:
 </​code>​ </​code>​
  
-<note warning>​HS-I2C의 경우 ​3.10.y에서는 i2cdetect 명령어가 동작하지 않습니다</​note>​+<note warning>H/W I2C(I2C-B : HS-I2C) doesn'​t work with i2cdetect command on Kernel ​3.10</​note>​
  
 Weather board rev 0.1 output Weather board rev 0.1 output
Line 79: Line 79:
  
 **Get the WEATHER-BOARD source code.** **Get the WEATHER-BOARD source code.**
-  ​git clone https://​github.com/​hardkernel/​WEATHER-BOARD.git +<​code>​ 
-  cd WEATHER-BOARD/​c_weather +odroid@odroid:​~$ mkdir work 
-  make+odroid@odroid:​~$ cd work 
 +odroid@odroid:​~/​work$ ​git clone https://​github.com/​hardkernel/​WEATHER-BOARD.git 
 +odroid@odroid:​~/​work$ ​cd WEATHER-BOARD/​c_weather 
 +odroid@odroid:​~/​work/​WEATHER-BOARD/​c_weather$ ​make 
 +</​code>​
  
-Check your I2C nodeand run the program.+Check your I2C node first and run the program.
  
-**sudo ./​weather_board [i2c node name default /dev/i2c-1]**+<​code>​ 
 +odroid@odroid:​~/​work/​WEATHER-BOARD/​c_weather$  ​sudo ./​weather_board [i2c node name(default /dev/i2c-1)] 
 +</​code>​
  
-**I2C-4** +**If weather board is connected to I2C Channel-A (Kernel ​4.9.y)** 
-  sudo ./weather_board ​/dev/i2c-4 +<​code>​ 
-**I2C-10**\\ +odroid@odroid:​~/work/WEATHER-BOARD/c_weather$ ​ sudo ./​weather_board /​dev/​i2c-1 
-i2c-gpio-custom driver option : bus0=id,​sda,​scl[,​udelay,​timeout,​sda_open,​scl_open,​scl_outonly]\\ +</code>
-  sudo modprobe i2c-gpio-custom bus0=10,​33,​23,​10,​10 +
-  sudo ./​weather_board /dev/i2c-10 +
-**I2C-1** +
-  sudo ./weather_board /dev/i2c-1+
  
 {{:​en:​weather_board:​print_wb.png?​500|}} {{:​en:​weather_board:​print_wb.png?​500|}}
en/wb_xu4_shifter_shield.1493113336.txt.gz · Last modified: 2017/04/25 18:12 by charles.park
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0