i2c on RPI-B not working
Winston Smith
smith.winston.101 at gmail.com
Thu May 1 15:38:47 UTC 2014
On Wed, Apr 30, 2014 at 7:49 PM, Winston Smith
<smith.winston.101 at gmail.com> wrote:
> 1) Hopefully, you'll have more luck with the i2cscan.c tool I wrote than I did!
> 2) Does anyone know why I'm not detecting any i2c devices on the BBB?
I fixed the i2cscan.c tool and it's able to detect the various i2c
devices (including the EEPROM at 0x50) on the BBB's I2C0 bus:
root at beaglebone:~ # ./i2cscan /dev/iic0
Checking device: /dev/iic0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- 24 -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- 34 -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
I have updated the pastebin for this:
http://pastebin.com/RxpRCyJU
More information about the freebsd-arm
mailing list