| 전자부품 데이터시트 검색엔진 |
|
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 * |
|
|
링크 URL |
| 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 |