TS-TPC-7990 TWI

From embeddedTS Manuals

The i.MX6 CPU implements a standard I2C interface at 100khz that is compatible with fast mode for 400khz operation. The CPU has 2 I2C buses used on the TS-7990.

I2C 0 is used for many onboard peripherals only, but I2C 1 is unused and brought out to the DIO header pins 1 (DAT) and 3 (CLK).

/dev/i2c-0
Address Device
0x0A SGTL5000 audio codec
0x1C Accelerometer
0x28-0x2F FPGA
0x4A Supervisory Microcontroller
0x5C [1] Capacitive Touch Controller
0x68 RTC
  1. LXD option only

The kernel I2C device node is available at /dev/i2c-<bus number>. The i2c-tools (i2cdetect, i2cget, i2cset) suite can be used to manipulate the bus. It is also possible to create a custom application using the I2C device interface API.