i2cdetect not detecting SparkFun LSM9DS1 IMU breakout board

HenryHenry Posts: 1New Member
Does anyone have experience using i2c with the upboard? Specifically, I am trying to use i2c to take measurements from the SparkFun LSM9DS1 IMU breakout board (https://www.sparkfun.com/products/13284). I have SDA connected to Up-Board pin 3, SCL connected to Up-Board pin 5, VDD connected to Up-Board pin 1, and GND connected to Up-Board pin 6 (see attached photo of the connections) . I am fairly sure these physical connections are correct, so I figure the problem must be somewhere in my linux configuration. I'm running Ubuntu 16.04 with the linux upboard kernel (https://launchpad.net/~ubilinux/+archive/ubuntu/up).

When I run: i2cdetect -y 1

from the linux command line, I get the output:

Error: Can't use SMBus Quick Write command on this bus

I have successfully used other IO functions on the 40 pin GPIO header, it's just i2c that isn't working. Any help or advice would be greatly appreciated!

Cheers!

Comments

  • Dan O'DonovanDan O'Donovan Posts: 218Emutex mod
    Try this slight variation of that command:
    i2cdetect -r -y 1
  • KurtKurt Posts: 142New Member ✭✭
    Warning I have not tried it...

    But wonder if the 10k PU resistors on this board are sufficient? Can not see your jumpers, when this message loads on my machine about 90% of your images show up as gray, only the far left edges show up?
Sign In or Register to comment.