| 数据搜索系统,热门电子元器件搜索 |
|
AD8120ACPZ-R7 数据表(PDF) 12 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD8120ACPZ-R7 数据表(HTML) 12 Page - Analog Devices |
|
12 / 16 page ![]() AD8120 Rev. 0 | Page 12 of 16 I2C Control The I2C interface of the AD8120 is a 2-wire interface consisting of a clock input and a bidirectional data line. The AD8120 drives the SDA line either to acknowledge the master (ACK) or to send data during a read operation. The SDA pin for the I2C port is open drain and requires a 10 kΩ pull-up resistor. Table 9. AD8120 I2C Pin Descriptions Pin No. Pin Name Description 2 SDA Serial data input/output 30 SCL Serial clock input 29 A1 I2C Address Bit A1 31 A0 I2C Address Bit A0 The AD8120 address consists of a built-in address of 0x38 and the two address pins, A0 and A1. The two address pins enable up to four AD8120 devices to be used in a system (see Table 10). Both address pins must be terminated (high or low) for the AD8120 I2C interface to operate properly. Table 10. I2C Addresses A1 Pin A0 Pin I2C Address 0 0 0x38 0 1 0x39 1 0 0x3A 1 1 0x3B In I2C mode, the AD8120 is programmed with a 3-byte sequence for a write operation (see Figure 19) and a 4-byte sequence for a read operation (see Figure 20). The first byte contains the 7-bit device address and the R/W instruction bit. The second byte con- tains the color register. In write mode, the third byte contains the delay code. In read mode, the third byte contains the device address, and the fourth byte contains the stored delay code. START BY MASTER STOP BY MASTER ACK BY AD8120 ACK BY AD8120 ACK BY AD8120 0 11 9 1 1 1 0 A1 A0 0 0 00 0 0 0 C1 C0 SCL SD 9 A SDA (CONTINUED) SCL (CONTINUED) 9 1 X X D5 D4 D3 D2 D1 D0 R/W BYTE 1 I2C ADDRESS BYTE 2 COLOR REGISTER BYTE 3 DELAY DATA CODE Figure 19. I2C Write Sequence START BY MASTER ACK BY AD8120 ACK BY AD8120 R/W SCL 11 9 9 SDA 01 1 1 0 01 1 10 A1 A0 0 0 0 0 0 0 0 C1 C0 BYTE 1 I2C ADDRESS BYTE 2 COLOR REGISTER BYTE 3 I2C ADDRESS BYTE 4 DATA BYTE FROM AD8120 STOP BY MASTER START BY MASTER ACK BY AD8120 NO ACK BY AD8120 SCL 11 9 9 SDA A1 A0 1 X X D5 D4 D3 D2 D1 D0 R/W Figure 20. I2C Read Sequence |
|
|
链接网址 |
| 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 |