Q: Configure I2C device

A:

To use HAT-sized CPI series devices, it is necessary to configure the I2C devices.

The I2C configuring method differs depending on the form factor of the single board computer (SBC) used.
Please check the SBC form factor to be used together and refer to the table below.

Form factors of single board computers (SBC)

How to configure I2C devices

Raspberry Pi

①For Raspberry Pi OS, edit /boot/firmware/config.txt(*1).
    *1: Depending on the environment, it will be /boot/config.txt
    For Ubuntu OS, edit /boot/firmware/usercfg.txt.

  Add [dtparam=i2c_vc=on].

②Enable the I2C function.
  See How to enable I2C function on Raspberry Pi? for instructions.

③Turn off the power of Raspberry Pi.

④Install the IO module on the Raspberry Pi and start it.

Tinker Board

①Edit /boot/config.txt.

  Change [#intf:i2c6=off] to [intf:i2c6=on]
   Change [#intf:i2c7=off] to [intf:i2c7=on]

②Turn off the power of Tinker Board.

③Install the IO module on the Tinker Board and start it.