UP Board UBUNTU 18.04 - I2C speed select

Options
lz1msz
lz1msz New Member Posts: 1

We use UP board with standard UBUNTU 18.04 installation and then custom kernel update, according to the instruction:
https://wiki.up-community.org/Ubuntu

We use I2C0 (PIN 27 and 28) to communicate with ATECC508A. It requires 100KHz operation and not possible to use with 400KHz (actually possible up to 1M, but the Wake-up procedure will not work using the i2c driver). We need to setup the I2C speed to 100KHz. We did that trough the BIOS and the speed remained 400KHz. Do you know any way to run the I2C with 100KHz?

Comments

  • AustinL
    AustinL New Member Posts: 6
    Options

    Did you ever solve this? I have the same problem with my UPCORE. However i have the latest BIOS they currently offer and it does not give me the option to change the speed. How did you change the speed in the BIOS.

  • ccalde
    ccalde New Member Posts: 348 ✭✭✭
    Options

    Hi,

    Thank you for the information about the speed issue.
    We will try to replicate the problem locally with the latest BIOS to get a solution as soon as possible.

  • ccalde
    ccalde New Member Posts: 348 ✭✭✭
    Options

    Hi @lz1msz ,

    Could you tell us the BIOS version are you using?
    Also, why don't use the i2c-5 for SDA and SCL (3 and 5 pins)? Did you try?

  • mdostie
    mdostie New Member Posts: 4
    Options

    In our case, changing the I2C mode from ACPI to PCI made it. It's in the BIOS menu. And we use i2c-5 (pins 3, 5) along with the BIOS UPC1DM15 because we are unable to upgrade to UPC1DM17.

  • Dan O'Donovan
    Dan O'Donovan Administrator, Moderator, Emutex Posts: 241 admin
    Options

    Hi folks
    We've just published Ubuntu and Yocto kernel updates to fix this for the UP board. After updating the kernel, changing the speed of the I2C clock should now take effect.
    Best regards,
    -Dan