| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AD5933 bảng dữ liệu(PDF) 29 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD5933 bảng dữ liệu(HTML) 29 Page - Analog Devices |
|
29 / 40 page ![]() Data Sheet AD5933 Rev. F | Page 29 of 40 READ OPERATIONS The AD5933 uses two I2C read protocols: receive byte and block read. Receive Byte In the AD5933, the receive byte protocol is used to read a single byte of data from a register address whose address has previously been set by setting the address pointer. In this operation, the master device receives a single byte from a slave device as follows (see Figure 33): 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 an acknowledge on SDA. 4. The master receives a data byte. 5. The master asserts a no acknowledge on SDA (the slave needs to check that master has received data). 6. The master asserts a stop condition on SDA and the transaction ends. SR A A P SLAVE ADDRESS REGISTER DATA Figure 33. Reading Register Data Block Read In this operation, the master device reads a block of data from a slave device (see Figure 34). The start address for a block read must previously have been set by setting the address pointer. 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 an acknowledge on SDA. 4. The master sends a command code (1010 0001) that tells the slave device to expect a block read. 5. The slave asserts an acknowledge on SDA. 6. The master sends a byte-count data byte that tells the slave how many data bytes to expect. 7. The slave asserts an acknowledge on SDA. 8. The master asserts a repeat start condition on SDA. This is required to set the read bit high. 9. The master sends the 7-bit slave address followed by the read bit (high). 10. The slave asserts an acknowledge on SDA. 11. The master receives the data bytes. 12. The master asserts an acknowledge on SDA after each data byte. 13. A no acknowledge is generated after the last byte to signal the end of the read. 14. The master asserts a stop condition on SDA to end the transaction. NUMBER BYTES READ S SLAVE ADDRESS WA BLOCK READ AA S SLAVE ADDRESS R A BYTE 0 A BYTE 1 A BYTE 2 A P Figure 34. Performing a Block Read |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |