Test I2C General: Difference between revisions

From RidgeRun Developer Wiki
(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> /...')
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
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.
Line 20: Line 20:
70: -- -- -- -- -- -- -- --   
70: -- -- -- -- -- -- -- --   
</pre>
</pre>
[[Category:Tools]]

Latest revision as of 05: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: -- -- -- -- -- -- -- --