I am trying to connect i2c devices to my beablebone blue, but they are not detected. I have tried four different devices, but none of them appear in the output from `i2cdetect -y -r 1’ Does anybody have any advice for things I can check to get this working?
Does the i2c connection on the board include pull-up resistors for sda/scl?
I don’t have a BeagleBone Blue, but I would assume that the necessary pull up resistors for the I2C bus to function are NOT included on the Beaglebone board.
You need to supply them externally.
The I2C device is powered by 3.3V, and I have verified that power is going to it (there is a 3.3V out pin sou you can chain devices together and that shows 3.3V when I measure it with a multi-meter).
i2cdetect -y -r 2 and 0 both show devices, but they are not the ones I am looking for (and are present when my external devices are disconnected).
Hi, I made a really stupid mistake. After taking a step back to go through everything from the beginning I discovered I had connected my I2C devices to the CAN port and not the I2C port facepalm. With the device connected properly, I do not need the line in uEnv.txt to enable the bus, it appears to be enabled by default in the image I downloaded from the beablebone website a few weeks ago.
I don’t have bb blue, however, when you connect the board are you able to see it using i2cdetect? That is a starting point. Also make sure you have the correct overlay installed if the i2c port you are using is not on by default.
I can’t detect any peripheral I2C device that I connect to I2C port on BB blue. I already have I2C bus up and running as when I do ls /dev/i2c* it gives me 3 buses. Do i still need to add any add on modules?
You should see those values show up, I don’t see them.
Make sure your device is wired correctly.
2.Correct pins?
3.Look on the schematic for a CS (chip select) that will have to be pulled high for the device to work(may or may not use it).
Reverse the SDA and SCL
Do you need pull up resistors on the SoC, some have pull ups on the board others do not. If you do be careful about the bus voltage and use a 4.7k or so resistor to pull up each line.
Go back and probe each module until you see 49, when you get it you will be close to getting it up.
If that does not yield results then it might be an overlay issue, if that is the case some one that has the board will have to jump in and provide some guidance. Without the board it is hard to troubleshoot.