Difference between revisions of "Test I2C General"

From RidgeRun Developer Connection
Jump to: navigation, search
(Created page with '=Test the I2C= this steps shown below test your I2C device. Power on the board and left it to complete the boot process use the command i2cdectect 1 to test the I2C bus. <pre> /...')
 
(Test the I2C)
Line 1: Line 1:
 
=Test the I2C=
 
=Test the I2C=
this steps shown below test your I2C device.
+
This step shown below test your I2C device.
 
Power on the board and left it to complete the boot process
 
Power on the board and left it to complete the boot process
 
use the command i2cdectect 1 to test the I2C bus.
 
use the command i2cdectect 1 to test the I2C bus.

Revision as of 10:30, 21 July 2010

Test the I2C

This step shown below test your I2C device. Power on the board and left it to complete the boot process use the command i2cdectect 1 to test the I2C bus.

/ # i2cdetect 1 
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-1.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 
20: -- 21 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --