| 数据搜索系统,热门电子元器件搜索 |
|
TUSB8043 数据表(PDF) 16 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
TUSB8043 数据表(HTML) 16 Page - Texas Instruments |
|
16 / 59 page ![]() 16 TUSB8043 SLLSEW4 – JUNE 2017 www.ti.com Product Folder Links: TUSB8043 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated 8.3.3.1 SET REPORT (Output) Report length includes overhead bytes (1 byte of opcode, 1 byte of device address and 2 bytes of data length) and must match the number of bytes sent in the data stage or the request will be stalled. • 1-byte opcode – 0x01 read I2C – 0x02 write I2C with stop – 0x03 write I2C without stop (use to set sub-address prior to read) • 1-byte I2C slave (7-bit) address • 2-byte I2C transaction data length • "length" bytes of Data for a write, but none for a read. Set Report status stage reports only the status of the receipt and validity of the request, not the status of the I2C transaction. As long as the fields construct a valid request, the status stage will be Acked by a null packet. Otherwise, it will be STALLed. For example, if the report_length is longer than the amount of data sent before the status stage or the wLength is greater than the number of bytes of data sent in the data stage, the status stage will be STALLed. If the number of bytes sent in the data stage is greater than wLength or report_length, the data stage will be STALLED. Software shall ensure properly formatted commands and data responses. The sum of the start address and wLength shall be less than the total size of the address range of the target device in a properly formatted command. Hardware shall wrap any data addresses above FFFFh and shall discard any data transmitted greater than wLength and return STALL. A STALL will also be returned if opcode is 00h. The I2C master that performs the I2C reads and writes initiated through USB HID interface supports clock stretching. It operates at 400 kHz by default, but can be configured for 100 kHz through eFuse or register. If the TUSB8043 is suspended (L2) by the USB host, the USB HID interface must enter suspend, but the I2C master shall remain active while attempting to complete an active I2C write request. An active I2C read request may be aborted if the TUSB8043 enters USB suspend state. Per the USB specification, the USB host should not suspend the HID interface while an I2C read or write is still in progress. The USB HID interface shall refuse requests to enter USB 2.0 sleep mode (L1) while an I2C read or write is in progress. 8.3.3.2 GET REPORT (Feature) This HID Report will always return a 2-byte constant (0x82FF) which can be used to identify compatible HID devices even if the customer changes the VID/PID. 8.3.3.3 GET REPORT (Input) A report length of one reports the status byte only. To receive a report with data, the report length must be the length of the data, plus one byte for status and two bytes for the length field. • 1-byte Status – 0 Success – 1 Fail — timeout (35 ms) – 2 Fail — Address nak – 3 Fail — data nak • 2-byte length • "length" bytes of Data for a read, but not for a write or a feature report. A Get Report (input) request is required for both read and write. The interrupt endpoint will NAK until the I2C transaction is complete, so that it can report length, data for a read, and final status. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |