| Electronic Components Datasheet Search |
|
MIC24045 Datasheet(PDF) 39 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MIC24045 Datasheet(HTML) 39 Page - Microchip Technology |
|
39 / 46 page ![]() 2016 Microchip Technology Inc. DS20005568A-page 39 MIC24045 8.5.5 BLOCK WRITE (AUTO-INCREMENT MODE) This command writes data to the designated register and to all the following registers that are specified through the command byte. Bit<6> of the command byte indicates the Auto-Increment mode. If this bit is set, the address gets incremented by one automatically and the registers are written in order, starting from the address provided by the command byte. The Block/Auto-Increment Write command is as follows and it is illustrated in the timing diagram of Figure 8-7 below. 1. Send START sequence 2. Send 7-bit slave address 3. Send the R/W bit - 0 to indicate a write operation 4. Wait for acknowledge from the slave 5. Send the command byte – address that needs to be written with Bit<6> set high to indicate the Auto-Increment Write mode. 6. Wait for acknowledge from the slave. 7. Receive the 8-bit data from the master and write it to the slave register indicated in step 5, starting from MSB. 8. Acknowledge from the slave 9. Repeat steps 7 and 8 until the entire data is sent 10. Send STOP sequence FIGURE 8-7: Block Write Timing Diagram. 1 0 SDA SCL S 0 A A A 1 2 3 4 5 6 7 8 9 START condition R/W ACK from Slave Slave address Command byte ACK from Slave Data to port P Data out from port DATA 1 VALID DATA 1 ACK from Slave Data to port A DATA 1 Data to port A ACK from Slave ACK from Slave DATA 1 STOP condition DATA 2 VALID DATA n VALID Note: If the master is using a non-existing register location, a reject (NACK) will be generated. |
|
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 |