Then it is not wired or connected correctly. Put an oscilloscope on the data and clock lines and see if they are doing what they are supposed to do. It also looks like you are using an old version of the OS. Move to Debian 8, and you should see the I2C devices on bus 2. Hook the I2C Clock to P9-19. Hook the I2C data to P9-20. You should not have to mess with the device tree or pin configuration. Power and ground also required.
--- Graham == On Thursday, March 9, 2017 at 6:52:04 AM UTC-6, christ christ wrote: > > The MPU-9250 breakout from spark fun come with pull up resistors. > > On 09 Mar 2017 00:42, "Graham" <[email protected] <javascript:>> > wrote: > >> Something is not wired right. >> Did you put pull-up resistors on the I2C lines? >> --- Graham >> >> == >> >> On Wednesday, March 8, 2017 at 12:02:04 PM UTC-6, [email protected] >> wrote: >>> >>> Hi Guys, >>> >>> I’m struggling to get the device address (MPU-9250). i got to the >>> following stage: >>> >>> >>> root@beaglebone:~# sudo i2cdetect -r 0 >>> WARNING! This program can confuse your I2C bus, cause data loss and >>> worse! >>> I will probe file /dev/i2c-0 using read byte commands. >>> 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: — — — — — — — — — — — — — — — — >>> 20: — — — — UU — — — — — — — — — — — >>> 30: — — — — UU — — — — — — — — — — — >>> 40: — — — — — — — — — — — — — — — — >>> 50: UU — — — — — — — — — — — — — — — >>> 60: — — — — — — — — — — — — — — — — >>> 70: UU — — — — — — — >>> root@beaglebone:~# sudo i2cdetect -r 1 >>> WARNING! This program can confuse your I2C bus, cause data loss and >>> worse! >>> I will probe file /dev/i2c-1 using read byte commands. >>> 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: — — — — — — — — — — — — — — — — >>> 20: — — — — — — — — — — — — — — — — >>> 30: — — — — — — — — — — — — — — — — >>> 40: — — — — — — — — — — — — — — — — >>> 50: — — — — UU UU UU UU — — — — — — — — >>> 60: — — — — — — — — — — — — — — — — >>> 70: — — — — — — — — >>> >>> >>> But even after connecting my device It is still the same (I mean it >>> still doesn't show the device's address). Any advise? >>> >>> Thanks >>> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/d26b5680-ca1c-4152-b247-8aec52d1ee62%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
