www.ti.com

USB-MODEVM Protocol

Do the same with a fast mode I2C device:

[0]0x12

[1]0xA0

[2]0x02

[3]0x05

[4]0xAA

[5]0x55

Now with an SPI device which uses an 8-bit register address:

[0]0x10

[1]0xA0

[2]0x02

[3]0x05

[4]0xAA

[5]0x55

Now consider a 16-bit register address, as found on parts like the TSC2101. Assume that the register address (command word) is 0x10E0:

[0]0x14

[1]0x10 --> Note: the I2C address now serves as MSB of reg addr.

[2]0x02

[3]0xE0

[4]0xAA

[5]0x55

In each case, the TAS1020 returns, in an HID interrupt packet, the following:

[0]interface byte status status:

REQ_ERROR 0x80 INTF_ERROR 0x40 REQ_DONE 0x20

[1]for I2C interfaces, the I2C address as sent

for SPI interfaces, the read back data from SPI line for transmission of the corresponding byte

[2]length as sent

[3]for I2C interfaces, the reg address as sent

for SPI interfaces, the read back data from SPI line for transmission of the corresponding byte [4..60] echo of data packet sent

SLAU261–November 2008

USB-MODEVM Protocol

47

Submit Documentation Feedback

Page 49
Image 49
Texas Instruments TLV320AIC3107EVM-K quick start 0x12 0xA0 0x02 0x05 0xAA 0x55