| 数据搜索系统,热门电子元器件搜索 |
|
STV9432 数据表(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STV9432 数据表(HTML) 6 Page - STMicroelectronics |
|
6 / 18 page ![]() STV9432 6/18 6 - SERIAL INTERFACE The 2-wires serial interface is an I2C interface. To be connected to the I2C bus, a device must own its slave address; the slave address of the STV9432 is BA (in hexadecimal). 6.1 - DATA TRANSFER IN WRITE MODE The host MCU can write data into the STV9432 regis- ters or RAM. To write data into the STVA9432TA 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(s), - The successive bytes of data(s). All bytes are sent MSB bit first and the write data transfer is ended with a stop. 6.2 - DATA TRANSFER IN READ MODE The host MCU can read data from the STV9432 reg- isters, RAM or ROM. To read data from the STV9432 (Figure 3), the MCU must send 2 different I2C sequences. The first one includes the I2C slave address byte with R/W bit at low level and the 2 internal address bytes. The second one includes the I2C 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. I2C Write Operation Figure 3. I2C Read Operation A6 A5 A4 A3 A2 A1 A0 RW 10 111 01 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 I2C 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 I2C Slave Address ACK ACK Data Byte n ACK Start D7 D6 D5 D4 D3 D2 D1 D0 Stop Data Byte 1 * |
|
|
链接网址 |
| 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 |