| Zakładka z wyszukiwarką danych komponentów |
|
STV9432TAP Arkusz danych(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STV9432TAP Arkusz danych(HTML) 7 Page - STMicroelectronics |
|
7 / 25 page ![]() STV9432TAP 7/25 7 - SERIAL INTERFACE The 2-wires serial interface is an I2C interface. To be connected to the I 2C bus, a device must own its slave address; the slave address of the STV9432TAP is BA (in hexadecimal). 7.1 - Data Transfer in Write Mode The host MCU can write data into the STV9432TAP registers or RAM. To write data into the STV9432TAP, after a start, the MCU must send (Figure 2): - First, the I2C address slave byte with a low level for the R/W bit, - The two bytes of the internal address where the MCU wants to write data, - The successive bytes of data. All bytes are sent MSB bit first and the write data transfer is closed by a stop. 7.2 - Data Transfer in Read Mode The host MCU can read data from the STV9432TAP register, RAM or ROM. To read data from the STV9432TAP (Figure 3), the MCU must send 2 different I 2C sequences. The first one is made of I 2C slave address byte with R/W bit at low level and the 2 internal address bytes. The second one is made of I 2C slave address byte with R/W bit at high level and all the successive data bytes read at successive addresses starting from the initial address given by the first sequence. Figure 2. I 2C Write Operation Figure 3. I2C Read Operation A6 A5 A4 A3 A2 A1 A0 RW 101 1 1 0 1 SCL SDA R/W A7 A6 A5 A4 A3 A2 A1 A0 - - A13 A12 A11 A10 A9 A8 I2C Slave Address ACK LSB Address ACK MSB Address ACK Start D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 ACK ACK Data Byte 1 Data Byte 2 ACK Data Byte n Stop SCL SDA SCL SDA R/W A7 A6 A5 A4 A3 A2 A1 A0 I 2C Slave Address ACK LSB Address ACK MSB Address ACK Start - - A13 A12 A10 A10 A9 A8 Stop SCL SDA R/W D7 D6 D5 D4 D3 D2 D1 D0 I 2C Slave Address ACK ACK Data Byte n ACK Start D7 D6 D5 D4 D3 D2 D1 D0 Stop Data Byte 1 * |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |