| Electronic Components Datasheet Search |
|
ADM1068ACP Datasheet(PDF) 24 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADM1068ACP Datasheet(HTML) 24 Page - Analog Devices |
|
24 / 28 page ![]() ADM1068 Preliminary Technical Data Rev. PrB | Page 24 of 28 5. The slave asserts ACK on SDA. 6. The master sends a data byte that tells the slave device how many data bytes are being sent. The SMBus specification allows a maximum of 32 data bytes in a block write. 7. The slave asserts ACK on SDA. 8. The master sends N data bytes. 9. The slave asserts ACK on SDA after each data byte. 10. The master asserts a stop condition on SDA to end the transaction. SLAVE ADDRESS SW A 2 COMMAND 0xFC (BLOCK WRITE) 4 13 A 5 BYTE COUNT 6 A 7 A 9 10 A P A DATA 1 8 DATA N DATA 2 Figure 33. Block Write to EEPROM or RAM Unlike some EEPROM devices that limit block writes to within a page boundary, there is no limitation on the start address when performing a block write to EEPROM, except • There must be at least N locations from the start address to the highest EEPROM address (0xFBFF), to avoid writing to invalid addresses. • If the addresses cross a page boundary, both pages must be erased before programming. Note that the ADM1068 features a clock extend function for writes to EEPROM. Programming an EEPROM byte takes approximately 250 µs, which would limit the SMBus clock for repeated or block write operations. The ADM1068 pulls SCL low and extends the clock pulse when it cannot accept any more data. READ OPERATIONS The ADM1068 uses the following SMBus read protocols. Receive Byte In a receive byte operation, the master device receives a single byte from a slave device, as follows: 1. The master device asserts a start condition on SDA. 2. The master sends the 7-bit slave address followed by the read bit (high). 3. The addressed slave device asserts ACK on SDA. 4. The master receives a data byte. 5. The master asserts no acknowledge on SDA. 6. The master asserts a stop condition on SDA, and the transaction ends. In the ADM1068, the receive byte protocol is used to read a single byte of data from a RAM or EEPROM location whose address has previously been set by a send byte or write byte/word operation, as shown in Figure 34. 23 14 5 SLAVE ADDRESS S R DATA P A 6 A Figure 34. Single Byte Read from EEPROM or RAM Block Read In a block read operation, the master device reads a block of data from a slave device. The start address for a block read must have been set previously. In the ADM1068, this is done by a send byte operation to set a RAM address, or a write byte/word operation to set an EEPROM address. The block read operation itself consists of a send byte operation that sends a block read command to the slave, immediately followed by a repeated start and a read operation that reads out multiple data bytes, as follows: 1. The master device asserts a start condition on SDA. 2. The master sends the 7-bit slave address followed by the write bit (low). 3. The addressed slave device asserts ACK on SDA. 4. The master sends a command code that tells the slave device to expect a block read. The ADM1068 command code for a block read is 0xFD (1111 1101). 5. The slave asserts ACK on SDA. 6. The master asserts a repeat start condition on SDA. 7. The master sends the 7-bit slave address followed by the read bit (high). 8. The slave asserts ACK on SDA. 9. The ADM1068 sends a byte-count data byte that tells the master how many data bytes to expect. The ADM1068 always returns 32 data bytes (0x20), which is the maximum allowed by the SMBus 1.1 specification. 10. The master asserts ACK on SDA. 11. The master receives 32 data bytes. 12. The master asserts ACK on SDA after each data byte. 13. The master asserts a stop condition on SDA to end the transaction. |
|
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 |