The i2c-2 bus is the one that is free for use so we'll be using that in this tutorial.
The i2c-0 bus is not accessible on the header pins while the i2c-1 bus is utilized for reading EEPROMS on cape add-on boards and may interfere with that function when used for other digital I/O operations. There are three I2C buses on the Beaglebone Black according to the AM335X Technical Reference Manual and their memory addresses are: In this tutorial, we will look at how to use the I2C protocol on the BBB and create a simple Beaglebone Black I2C application. This is why most microcontrollers, including Arduino, PICs, and STM32 have I2C support. I2C is a popular communications protocol and is used by a lot of sensors and devices.