TS-TPC-7990 TWI: Difference between revisions
From embeddedTS Manuals
No edit summary |
m (Links auto-updated for 2022 re-branding ( https://github.com/embeddedarm/linux-3.10.17-imx6/blob/619e6bf97479243e9d7b7f6b34ce0ae8558ff1fd/Documentation/i2c/dev-interface → https://github.com/embeddedTS/linux-3.10.17-imx6/blob/619e6bf97479243e9d7b7f6b34ce0ae8558ff1fd/Documentation/i2c/dev-interface)) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The i.MX6 | 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|DIO header pins 1 | I2C 0 is used for many onboard peripherals only, but I2C 1 is unused and brought out to the [[#DIO_Header|DIO header]] pins 1 (DAT) and 3 (CLK). | ||
{| class=wikitable | {| class=wikitable | ||
Line 9: | Line 9: | ||
! Device | ! Device | ||
|- | |- | ||
| | | 0x0A | ||
| [[#Audio|SGTL5000 audio codec]] | | [[#Audio|SGTL5000 audio codec]] | ||
|- | |- | ||
| | | 0x1C | ||
| [[#Accelerometer]] | | [[#Accelerometer|Accelerometer]] | ||
|- | |- | ||
| 0x28- | | 0x28-0x2F | ||
| [[#FPGA]] | | [[#FPGA|FPGA]] | ||
|- | |- | ||
| | | 0x4A | ||
| [[#Silabs]] | | [[#Silabs|Supervisory Microcontroller]] | ||
|- | |- | ||
| | | 0x5C <ref>LXD option only</ref> | ||
| Capacitive Touch Controller | | Capacitive Touch Controller | ||
|- | |- | ||
| 0x68 | | 0x68 | ||
| [[#RTC]] | | [[#RTC|RTC]] | ||
|} | |} | ||
<References /> | <References /> | ||
The kernel | 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 [https://github.com/embeddedTS/linux-3.10.17-imx6/blob/619e6bf97479243e9d7b7f6b34ce0ae8558ff1fd/Documentation/i2c/dev-interface I2C device interface API]. |
Latest revision as of 17:45, 17 January 2022
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).
Address | Device |
---|---|
0x0A | SGTL5000 audio codec |
0x1C | Accelerometer |
0x28-0x2F | FPGA |
0x4A | Supervisory Microcontroller |
0x5C [1] | Capacitive Touch Controller |
0x68 | RTC |
- ↑ 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.