| Electronic Components Datasheet Search |
|
ADN8102ACPZ-R7 Datasheet(PDF) 27 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADN8102ACPZ-R7 Datasheet(HTML) 27 Page - Analog Devices |
|
27 / 32 page ![]() ADN8102 Rev. A | Page 27 of 32 I2C INTERFACE DATA TRANSFERS—DATA READ To read data from the ADN8102 register set, a microcontroller, or any other I2C master, needs to send the appropriate control signals to the ADN8102 slave device. The steps that need to be completed are listed as follows, where the signals are controlled by the I2C master, unless otherwise specified. A diagram of the procedure can be seen in Figure 43. 1. Send a start condition (while holding the SCL line high, pull the SDA line low). 2. Send the ADN8102 part address (seven bits) whose upper five bits are the static value 10010b and whose lower two bits are controlled by the input pins ADDR[1:0]. This transfer should be MSB first. 3. Send the write indicator bit (0). 4. Wait for the ADN8102 to acknowledge the request. 5. Send the register address (eight bits) from which data is to be read. This transfer should be MSB first. The register address is kept in memory in the ADN8102 until the part is reset or the register address is written over with the same procedure (Step 1 to Step 6). 6. Wait for the ADN8102 to acknowledge the request. 7. Send a repeated start condition (while holding the SCL line high, pull the SDA line low). 8. Send the ADN8102 part address (seven bits) whose upper five bits are the static value 10010b and whose lower two bits are controlled by the input pins ADDR[1:0]. This transfer should be MSB first. 9. Send the read indicator bit (1). 10. Wait for the ADN8102 to acknowledge the request. 11. The ADN8102 then serially transfers the data (eight bits) held in the register indicated by the address set in Step 5. 12. Acknowledge the data. 13a. Send a stop condition (while holding the SCL line high, pull the SDA line high) and release control of the bus. 13b. Send a repeated start condition (while holding the SCL line high, pull the SDA line low) and continue with Step 2 of the write procedure (in the I2C Interface Data Transfers—Data Write section) to perform a write. 13c. Send a repeated start condition (while holding the SCL line high, pull the SDA line low) and continue with Step 2 of this procedure to perform a read from a another address. 13d. Send a repeated start condition (while holding the SCL line high, pull the SDA line low) and continue with Step 8 of this procedure to perform a read from the same address. Figure 43 shows the ADN8102 read process. The SCL signal is shown along with a general read operation and a specific example. In the example, Data 0x49 is read from Address 0x6D of an ADN8102 part with a part address of 0x4B. The part address is seven bits wide. The upper five bits of the ADN8102 are internally set to 10010b. The lower two bits are controlled by the ADDR[1:0] pins. In this example, the bits controlled by the ADDR[1:0] pins are set to 11b. In Figure 43, the corresponding step number is visible in the circle under the waveform. The SCL line is driven by the I2C master and never by the ADN8102 slave. As for the SDA line, the data in the shaded polygons is driven by the ADN8102, whereas the data in the nonshaded polygons is driven by the I2C master. The end phase case shown is that of Step 13a. Note that the SDA line changes only when the SCL line is low, except for the case of sending a start, stop, or repeated start condition, as in Step 1, Step 7, and Step 13. In Figure 43, A is the same as ACK in Figure 42. Equally, Sr represents a repeated start where the SDA line is brought high before SCL is raised. SDA is then dropped while SCL is still high. 3 2 2 1 SCL SDA SDA GENERAL CASE EXAMPLE 4 5 6 7 8 10 9 8 11 12 13a START REGISTER ADDR AA ASr A STOP DATA FIXED PART ADDR FIXED PART ADDR ADDR [1:0] ADDR [1:0] R/ W R/ W Figure 43. I2C Read Diagram |
|
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 |