Difference between revisions of "Test I2C General"

From RidgeRun Developer Connection
Jump to: navigation, search
(Test the I2C)
m
 
Line 20: Line 20:
 
70: -- -- -- -- -- -- -- --   
 
70: -- -- -- -- -- -- -- --   
 
</pre>
 
</pre>
 +
[[Category:Tools]]

Latest revision as of 00:41, 16 March 2014

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: -- -- -- -- -- -- -- --