| Datenblatt-Suchmaschine für elektronische Bauteile |
|
USB-TO-GPIO Datenblatt(PDF) 14 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
USB-TO-GPIO Datenblatt(HTML) 14 Page - Texas Instruments |
|
14 / 50 page ![]() www.ti.com 3.3 I2C Write Command and Response 3.4 I2C Read Command and Response I2C Write Command and Response USB PACKET COMMAND BYTE 0 USB PACKET USB PACKET USB PACKET USB PACKET USB PACKET USB PACKET COMMENTS DESCRIPTION COMMAND BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTES 6–63 CODE C number of bytes (from 1 up to 60 bytes) to 0x14 A B C I2C Write write USB PACKET COMMAND BYTE 0 USB PACKET USB PACKET USB PACKET USB PACKET USB PACKET USB PACKET COMMENTS DESCRIPTION COMMAND BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTES 6–63 CODE Response from Success: 0 0x94 Fail: 1 I2C Write The following describes the detailed bit banking of this command: I2C Start → write A (= slave address shifted left by 1 bit + write bit of 0) → slave ACK → write B (which is usually either a command byte or a register address byte) → slave ACK → repeat (write 1 byte → slave ACK) for C number of times → I2C stop. There is another more generic I2C Write transaction command in Section 3.10. USB PACKET COMMAND BYTE 0 USB PACKET USB PACKET USB PACKET USB PACKET USB PACKET USB PACKET COMMENTS DESCRIPTION COMMAND BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTES 6–63 CODE D (from 1 to 0x15 A B C I2C Read 62 bytes) USB PACKET COMMAND BYTE 0 USB PACKET USB PACKET USB PACKET USB PACKET USB PACKET USB PACKET COMMENTS DESCRIPTION COMMAND BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTES 6–63 CODE Response from Success: 0 0x95 D number of bytes read Fail: 1 I2C Read The following describes the detailed bit banking of this command: I2C start → write A (= slave address shifted left by 1 bit + write bit of 0) → slave ACK → write B (which is usually either a command byte or a register address byte) → slave ACK → repeated start → write C (= slave address shifted left by 1 bit + read bit of 1) → slave ACK → read D number of bytes (with master ACKs in between) from a slave → master NACK → I2C stop. There is another more generic I2C Read transaction command in Section 3.11. Firmware Programming and Communications Protocol 14 SLLU093 – August 2006 Submit Documentation Feedback |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |