| Electronic Components Datasheet Search |
|
TS4621E Datasheet(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
TS4621E Datasheet(HTML) 23 Page - STMicroelectronics |
|
23 / 32 page ![]() TS4621E Application information Doc ID 022201 Rev 1 23/32 Writing to the control registers To write data to the TS4621E, after the "start" message the MCU must: ● send the I²C 7-bit slave address and a low level for the R/W bit. ● send the register address to write to. ● send the data bytes (control register settings). All bytes are sent MSB first. The transfer of written data ends with a "stop" message. When transmitting several data bytes, the data can be written without having to repeat the "start" message or send the byte with the slave address. If several bytes are transmitted, they will be written repeatedly to CR1, CR2 and CR3. Figure 72. I²C write operations Reading from the control registers To read data from the TS4621E, after the "start" message the MCU must: ● send the I²C 7-bit slave address and a low level for the R/W bit. ● send the register address to write to. ● send the I²C 7-bit slave address and a high level for the R/W bit. ● receive the data (control register value). All bytes are read MSB first. The transfer of read data ends with a "stop" message. When transmitting several data bytes, the data can be read without having to repeat the "start" message or send the byte with the slave address. If several bytes are transmitted, they will be read repeatedly from CR1, CR2, CR3 and CR4. SDA S 11 0 0 0 0 ACK 00 A7 D7 A0 A1 ACK P Start condition SLAVE DEVICE ADDRESS DATA BYTES R/W Acknowledge from slave Acknowledge from slave Stop condition A6 D6 D1 D0 D7 D6 D1 D0 REGISTER ADDRESS CR X CRX+1 ACK ACK AM06115 |
|
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 |