Main Content
Troubleshoot BeagleBone Black I2C Interface
Trying to create a connection with an I2C device produces an error:
addr = scanI2CBus(bbb,'i2c-1') i2csensor = beaglebone.i2cdev(bbb,'i2c-1',char(addr))
The error states that another connection exists to the device at that address. Create a connection to a device that has a different address, or clear the object for the current connection.
Note
The hardware enables HDMI (orange) pins by default. MATLAB® Support Package for BeagleBone® Black Hardware does not support HDMI. To disable HDMI, see the BeagleBone Black hardware documentation.