Difference between revisions of "Beaglebone black i2c"
From Teknologisk videncenter
(Created page with "Category:Beaglebone BlackCategory:i2c") |
m |
||
| Line 1: | Line 1: | ||
| + | |||
| + | |||
| + | ==Detect i2c devices== | ||
| + | Use with a little care - read tne ''i2cdetect'' man page | ||
| + | <source lang=bash> | ||
| + | root@beaglebone:/home/debian/bin# i2cdetect -y -r 2 | ||
| + | 0 1 2 3 4 5 6 7 8 9 a b c d e f | ||
| + | 00: -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
| + | 10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- -- | ||
| + | 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
| + | 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- | ||
| + | 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
| + | 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- | ||
| + | 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
| + | 70: -- -- -- -- -- -- -- -- | ||
| + | </source> | ||
| + | |||
| + | ''--" Means no answer on probe | ||
| + | "UU" Means probing was skipped, because a device driver uses the address | ||
| + | "Number" - A n i2c device was found | ||
| + | |||
| + | |||
[[Category:Beaglebone Black]][[Category:i2c]] | [[Category:Beaglebone Black]][[Category:i2c]] | ||
Revision as of 12:50, 21 November 2020
Detect i2c devices
Use with a little care - read tne i2cdetect man page
root@beaglebone:/home/debian/bin# i2cdetect -y -r 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
--" Means no answer on probe "UU" Means probing was skipped, because a device driver uses the address "Number" - A n i2c device was found