March 2, 2018 AT 3:00 am

Change the Speed of the i2c Bus on a Raspberry Pi with This Config Change @Raspberry_Pi #PiDay #RaspberryPi

Changing the default I2C bus speed on the Raspberry Pi can help improve the performance of some projects. This is particularly important when using the I2C interface to control a display module. In the newer versions of Raspbian this change must be made using a Device Tree parameter.

The bus speed is sometimes referred to as “baudrate” although the two aren’t actually the same thing.

Before the interface baudrate can be changed the I2C interface must be enabled. This can be done using “raspi-config” on the command line or “Raspberry Pi Configuration” on the Raspbian desktop.

Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!