| 数据搜索系统,热门电子元器件搜索 |
|
ADP1046ACPZ-R7 数据表(PDF) 38 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADP1046ACPZ-R7 数据表(HTML) 38 Page - Analog Devices |
|
38 / 96 page ![]() ADP1046 Data Sheet Rev. 0 | Page 38 of 96 Command Overview Data transfer using the I2C slave is established using commands. All commands start with a slave address with the R/W bit cleared (set to 0), followed by the command code (register address). All commands supported by the ADP1046 follow one of the protocol types shown in Figure 46 to Figure 52. S 7-BIT SLAVE ADDRESS W A A P COMMAND CODE = MASTER-TO-SLAVE = SLAVE-TO-MASTER Figure 46. Send Byte Protocol S 7-BIT SLAVE ADDRESS W A A A P COMMAND CODE DATA BYTE = MASTER-TO-SLAVE = SLAVE-TO-MASTER Figure 47. Write Byte Protocol S W A A DATA BYTE HIGH COMMAND CODE DATA BYTE LOW A A P = MASTER-TO-SLAVE = SLAVE-TO-MASTER Figure 48. Write Word Protocol DATA BYTE NA P S W A A COMMAND CODE Sr R A = MASTER-TO-SLAVE = SLAVE-TO-MASTER Figure 49. Read Byte Protocol DATA BYTE LOW A NA P DATA BYTE HIGH S W A A COMMAND CODE Sr R A = MASTER-TO-SLAVE = SLAVE-TO-MASTER Figure 50. Read Word Protocol DATA BYTE 1 A ... A P DATA BYTE N S 7-BIT SLAVE ADDRESS W A A BYTE COUNT = N COMMAND CODE A = MASTER-TO-SLAVE = SLAVE-TO-MASTER Figure 51. Block Write Protocol S W A A COMMAND CODE A R Sr DATA BYTE 1 A A ... NA DATA BYTE N P BYTE COUNT = N = MASTER-TO-SLAVE = SLAVE-TO-MASTER Figure 52. Block Read Protocol Clock Generation and Stretching The ADP1046 is always a slave in the overall system; therefore, the device never needs to generate the clock, which is done by the master device in the system. However, the I2C slave device is capable of clock stretching to put the master in a wait state. By stretching the SCL signal during the low period, the slave device communicates to the master device that it is not ready and that the master device must wait. Conditions where the I2C slave device stretches the SCL line low include the following: The master device is transmitting at a higher baud rate than the slave device. The receive FIFO buffer of the slave device is full and must be read before continuing. This prevents a data overflow condition. The slave device is not ready to send data that the master has requested. Note that the slave device can stretch the SCL line only during the low period. Also, whereas the I2C specification allows indefinite stretching of the SCL line, the ADP1046 limits the maximum time that the SCL line can be stretched, or held low. For more information about the maximum time, see the Timeout Condition section. Start and Stop Conditions Start and stop conditions involve serial data transitions while the serial clock is at a logic high level. The I2C slave device monitors the SDA and SCL lines to detect the start and stop conditions and transition its internal state machine accordingly. Typical start and stop conditions are shown in Figure 53. SCL SDA START STOP Figure 53. Start and Stop Transitions |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |