| поискавой системы для электроныых деталей |
|
TUSB322I датащи(PDF) 16 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
TUSB322I датащи(HTML) 16 Page - Texas Instruments |
|
16 / 37 page ![]() TUSB322I SLLSEO5 – OCTOBER 2015 www.ti.com 7.5 Programming For further programmability, the TUSB322I device can be controlled using I2C. The TUSB322I device local I2C interface is available for reading/writing after TI2C_EN when the device is powered up. The SCL and SDA terminals are used for I2C clock and I2C data respectively. If I2C is the preferred method of control, the ADDR pin must be set accordingly. Table 7. TUSB322I I2C Addresses TUSB322I I2C Target Address ADDR pin Bit 7 (MSB) Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 (W/R) H 1 1 0 0 1 1 1 0/1 L 1 0 0 0 1 1 1 0/1 The following procedure should be followed to write to TUSB322I I2C registers: 1. The master initiates a write operation by generating a start condition (S), followed by the TUSB322I 7-bit address and a zero-value R/W bit to indicate a write cycle 2. The TUSB322I device acknowledges the address cycle 3. The master presents the sub-address (I2C register within the TUSB322I device) to be written, consisting of one byte of data, MSB-first 4. The TUSB322I device acknowledges the sub-address cycle 5. The master presents the first byte of data to be written to the I2C register 6. The TUSB322I device acknowledges the byte transfer 7. The master can continue presenting additional bytes of data to be written, with each byte transfer completing with an acknowledge from the TUSB322I device 8. The master terminates the write operation by generating a stop condition (P) The following procedure should be followed to read the TUSB322I I2C registers: 1. The master initiates a read operation by generating a start condition (S), followed by the TUSB322I 7-bit address and a one-value R/W bit to indicate a read cycle 2. The TUSB322I device acknowledges the address cycle 3. The TUSB322I device transmits the contents of the memory registers MSB-first starting at register 00h or last read sub-address+1. If a write to the T I2C register occurred prior to the read, then the TUSB322I device starts at the sub-address specified in the write. 4. The TUSB322I device waits for either an acknowledge (ACK) or a not-acknowledge (NACK) from the master after each byte transfer; the I2C master acknowledges reception of each data byte transfer 5. If an ACK is received, the TUSB322I device transmits the next byte of data 6. The master terminates the read operation by generating a stop condition (P) The following procedure should be followed for setting a starting sub-address for I2C reads: 1. The master initiates a write operation by generating a start condition (S), followed by the TUSB322I 7-bit address and a zero-value R/W bit to indicate a read cycle 2. The TUSB322I device acknowledges the address cycle 3. The master presents the sub-address (I2C register within the TUSB322I device) to be read, consisting of one byte of data, MSB-first 4. The TUSB322I device acknowledges the sub-address cycle 5. The master terminates the read operation by generating a stop condition (P) NOTE If no sub-addressing is included for the read procedure, then the reads start at register offset 00h and continue byte-by-byte through the registers until the I2C master terminates the read operation. If a I2C address write occurred prior to the read, then the reads start at the sub-address specified by the address write. 16 Submit Documentation Feedback Copyright © 2015, Texas Instruments Incorporated Product Folder Links: TUSB322I |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |