How to change I2C baudrate/speed in Ubuntu Mate?

Hello,

I’m using a Raspberry Pi 3 with Ubuntu Mate installed.

I tried editing /boot/config.txt and uncommenting the dtparam=i2c_arm_baudrate=100000 line. I tried varying values but unfortunately, the timing of my test reads did not change.

(Goal is to get the fastest speed possible).

Would happily supply any other details requested.

Thanks!

Hello,

I managed to change baudrate, but it was on Raspbian. I think it could be similar on Ubuntu Mate…
You just have to add the line

options i2c_bcm2708 baudrate=10000

in the /etc/modprobe.d/i2c_bcm2708.conf file, if you want to set 10000 baud/sec.

I did this modification because I had some communication issues between an Arduino like (a TheAirBoard) and a raspberry pi 3 for large baudrates.