| Electronic Components Datasheet Search |
|
MIPSZ2012D3R3 Datasheet(PDF) 26 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
MIPSZ2012D3R3 Datasheet(HTML) 26 Page - STMicroelectronics |
|
26 / 48 page ![]() Application information TS4621B 26/48 Doc ID 022194 Rev 2 Table 11. Control registers at power-up Writing to the control registers To write data to the TS4621B, 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 TS4621B, 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 read. ● 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 are read repeatedly from CR1, CR2, CR3 and CR4. Description Register address D7 D6 D5 D4 D3 D2 D1 D0 CR1 1 0 0 0 0 0 0 0 1 CR2 2 1 1 0 0 0 0 0 0 CR3 3 0 0 0 0 0 0 0 0 CR4 4 0 1 0 0 0 0 0 0 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 |