MinnowBoard-org / bugs-and-help

Ask QUESTIONS here. MinnowBoard.org issue and get help submission. See README for use.
14 stars 2 forks source link

How to change I2C frequency ? #149

Open JulienTheron opened 5 years ago

JulienTheron commented 5 years ago

Hi,

We are using Debian 10 x64.

119 helped a lot to load the I²C drivers. We can read and write to an Arduino Uno via /dev/i2c-0 (pins 13 and 15).

However, we found out that the frequency is set to 400 kHz (fast mode) by default. We have a device that do not support fast mode, so i2cdetect does not detect it. How to change the bus speed to 100 kHz (standard mode) ? For the Raspberry Pi, there is a config file, but we found nothing of the sort on the MinnowBoard.

Thanks in advance for your help!