This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

I2C Interface

Use the BeagleBone Black I2C interface

Objects

beagleboneConnection to BeagleBone Black hardware
i2cdevConnection to device on BeagleBone Black I2C bus

Functions

clearTerminate connection to BeagleBone Black hardware
showAllPinsShow diagram of all pins
showPinsShow diagram of GPIO pins
enableI2CEnable I2C interface
scanI2CBusScan I2C bus device addresses
readRead data from I2C device
writeWrite data to I2C device
readRegisterRead from register on I2C device
writeRegisterWrite to register on I2C device

Examples and How To

Use the BeagleBone Black I2C Interface to Connect to a Device

Use the I2C interface on the BeagleBone Black hardware

Controlling a 4-Digit 7-Segment Display Using I2C

This example shows you how to use the I2C peripheral on BeagleBone Black® hardware to control a 4-digit 7-segment display.

Concepts

The BeagleBone Black I2C Interface

I2C Interface on the BeagleBone Black hardware

BeagleBone Black Pin Map

Detailed description of BeagleBone Black pin map

Troubleshooting

Troubleshoot the BeagleBone Black I2C Interface

Troubleshoot I2C interface on the BeagleBone Black hardware

Featured Examples