| Electronic Components Datasheet Search |
|
USB-TO-GPIO Datasheet(PDF) 37 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
USB-TO-GPIO Datasheet(HTML) 37 Page - Texas Instruments |
|
37 / 50 page ![]() A.1 Host PC to USB Interface Adapter Commands Appendix A SLLU093 – August 2006 Lists of Communication Protocol This appendix contains a list of communication commands that can be sent from a host PC to the USB interface adapter, as well as a list of communication commands that can be sent from the USB interface adapter to the host PC. USB PACKET USB USB USB USB USB COMMAND USB PACKET BYTE 0 PACKET PACKET PACKET PACKET PACKET COMMENTS DESCRIPTION BYTES 6-63 COMMAND BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 CODE Firmware 0x00 See Chapter 4 Version C number of bytes (from 1 up to 0x14 A B C I2C Write 60 bytes) to write D (from 1 to 0x15 A B C I2C Read 62 bytes) B does not A (bit.x=1 for apply to port 0 Read/Write read/input, B (byte to read. Each 0x16 Port 0 bit.x=0 for write) GPIO can be write/output) configured as input or output. EEPROM A = Starting B = Starting C (# of bytes Data to be programmed into EEPROM 0x18 Program address MSB address LSB to program) (up to 32 bytes) A = Starting B = Starting C (# of bytes EEPROM Read 0x19 C ≤ 60 address MSB address LSB to program) 0x00 for no pullups (switch off), 0x01 for 2.2 k Ω, 0x02 Set Pullup C (for for 1 k Ω, 0x03 0x1A A (for SDA) B (for SCL) Resistors ALERT) for 688 Ω. For ALERT, the option is either open (0x00) or 2.2 k Ω (0x01). A (0 for Set 100 kHz, 0x1B I2C/PMBUS/SM otherwise BUS Speed 400 kHz) The first byte of data to write is Generic I2C 0x1C A A number of bytes (from 2 up to 62) to write usually (device Write address << 1) + write bit 0. X # of Y = 1st bytes The first byte of byte to (1 to 62) data to write is write + Generic I2C 0x1D A A number of bytes (2 to 60) to write to read usually (device read bit 1 Read back address << 1) + USB USB write bit 0. Byte 62 Byte 63 SLLU093 – August 2006 Lists of Communication Protocol 37 Submit Documentation Feedback |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |