www.ti.com |
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
[0]0x10
[1]0xA0
[2]0x02
[3]0x05
[4]0xAA
[5]0x55
Now consider a
[0]0x14
[1]0x10
[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
47 |
Submit Documentation Feedback