[UP2] How to select I2C speed mode ?

hgeminihgemini New Member Posts: 9
edited October 9 in UP Squared Linux


I am using UP2 with Ubuntu 16.04 and want to utilize I2C.
Default speed seems to be 400kHz and want to select standard mode.

I tried to find the menu for selecting I2C speed in BIOS, but cannot find.

BIOS version is UPA1AM40.

Could you please let us know how to change I2C speed ?

Best regards



  • hgeminihgemini New Member Posts: 9

    I have updated BIOS to 4.6 (seems to be the latest) and found no selecting I2C speed yet.

  • mdostiemdostie New Member Posts: 3
    edited October 11

    Similar situation in my case. I found the settings in the BIOS menu and selected the 100 kHz speed. However this value seems to be overwritten by the OS (Ubuntu Server 18.04 with Up Kernel 4.15.0-37-generic) during the booting. As soon as I send something to the I2C pin (27, 28), the clock frequency is close to 380 kHz, whether it is echoing something to /dev/i2c-4 or running a Python script with the smbus2 package. Next step for me is to modify the I2C driver code inside the kernel source code and to build it afterwards. Any idea?

Sign In or Register to comment.