Datasheet

www.ti.com
Kit Operation
The data packet consists of the following bytes, shown in Table 8 :
Table 8. Data Packet Configuration
BYTE NUMBER TYPE DESCRIPTION
0 Interface Specifies serial interface and operation. The two values are logically OR'd.
Operation:
READ 0x00
WRITE 0x10
Interface:
GPIO 0x08
SPI_16 0x04
I2C_FAST 0x02
I2C_STD 0x01
SPI_8 0x00
1 I
2
C Slave Address Slave address of I
2
C device or MSB of 16-bit reg addr for SPI
2 Length Length of data to write/read (number of bytes)
3 Register address Address of register for I
2
C or 8-bit SPI; LSB of 16-bit address for SPI
4..64 Data Up to 60 data bytes could be written at a time. EP0 maximum length is 64. The
return packet is limited to 42 bytes, so advise only sending 32 bytes at any one
time.
Example usage:
Write two bytes (AA, 55) to device starting at register 5 of an I
2
C device with address A0:
[0] 0x11
[1] 0xA0
[2] 0x02
[3] 0x05
[4] 0xAA
[5] 0x55
Do the same with a fast mode I
2
C 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 let's do a 16-bit register address, as found on parts like the TSC2101. Assume the register address
(command word) is 0x10E0:
[0] 0x14
[1] 0x10 --> Note: the I
2
C address now serves as MSB of reg addr.
[2] 0x02
[3] 0xE0
[4] 0xAA
[5] 0x55
TLV320AIC32EVM and TLV320AIC32EVM-PDK User's Guide32 SBAU113 November 2005