TS-TPC-7990 TWI

From embeddedTS Manuals
Revision as of 16:15, 27 October 2016 by Mark (talk | contribs)

The i.MX6 supports standard I2C at 100khz, or using 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/3.

/dev/i2c-0
Address Device
0x0a SGTL5000 audio codec
0x1c #Accelerometer
0x28-0x2f #FPGA
0x5c [1] Capacitive Touch Controller
0x68 #RTC
0x6b #Silabs
  1. LXD option only

The kernel makes the I2C available at /dev/i2c-#. You can use the i2c-tools (i2cdetect, i2cget, i2cset), or you can write your own client.