| Electronic Components Datasheet Search |
|
AD5933 Datasheet(PDF) 18 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD5933 Datasheet(HTML) 18 Page - Analog Devices |
|
18 / 20 page ![]() AD5933 Preliminary Technical Data Rev. PrA | Page 18 of 20 Figure 15. Reading Register Data Block Read In this operation, the master device reads a block of data from a slave device. The start address for a block read must previously have been set. This is again done by setting a pointer to set the RAM/OTP address. 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 (10100001) that tells the slave device to expect a block read. 5. The slave asserts ACK on SDA. 6. The master sends a byte count data byte that tells the slave how many data bytes to expect. 7. The master asserts ACK on SDA. 8 . The master asserts a repeat start condition on SDA. (This is required to set Read bit high) 9. The master sends the 7-bit slave address followed by the read bit (high). 10. The slave asserts ACK on SDA. 11. The master receives the data bytes. 12. The master asserts ACK on SDA after each data byte. 14. A NACK is generated after the last byte to signal the end of the read. 15. The master asserts a STOP condition on SDA to end the transaction. BLOCK READ W A A SLAVE ADDRESS S S R A NUMBER BYTES READ BYTE0 A A A BYTE1 BYTE2 P A S SLAVE ADDRESS Figure 16. Performing a block read ERROR CORRECTION P.E.C. The AD5933 provides the option of issuing a PEC (Packet Error Correction) byte after all commands. This enables the user to verify that the data received by or sent from the AD5933 is correct. The PEC byte is an optional byte sent after that last data byte has been written to or read from the AD5933. The protocol is as follows: 1. The AD5933 issues a PEC byte to the master. The master should check the PEC byte and issue another block read if the PEC byte is incorrect. 2. A NACK is generated after the PEC byte to signal the end of the read. 3. The PEC is generated per the following specifications. Note: The PEC byte is calculated using CRC-8. The Frame Check Sequence (FCS) conforms to CRC-8 by the polynomial: () 1 x x x x C 1 2 8 + + + = CHECKSUM A checksum register is available to allow the user to verify the correct contents of the frequency register, frequency increment register, and number of increments. The checksum register is based on a error checking algorithm from the above registers. TBD. The user reads this checksum register and verifies contents are correct. USER COMMAND CODES These command codes are used for reading/writing to the interface and the memory. They are further explained in the appropriate sections but are grouped here for ease of reference. |
|
|
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 |