SLDS216B December 2017 – February 2025 PGA302
PRODUCTION DATA
The basic Protocol of the I2C frame for a Write operation is shown in Figure 6-17:
The diagram represents the data fed into or out from the I2C SDA port.
The basic data transfer is to send 2 bytes of data to the specified Target Address. The first data field is the register address and the second data field is the data sent or received.
The I2C Target Address is used to determine which memory page is being referenced. Table 6-5 shows the mapping of the target address to the memory page.
| Target Address | PGA302 Memory Page |
|---|---|
| 0x40 | Test Registers |
| 0x42 | Control and Status Registers, DI_PAGE_ADDRESS = 0x02 |
| 0x45 | EEPROM Cache/Cells |
| 0x46 | Reserved |
| 0x47 | Control and Status Registers, DI_PAGE_ADDRESS = 0x07 |
The basic PGA302 I2C Protocol for a read operation is shown in Figure 6-18.
The Target Address determines the memory page. The R/W bit is set to 0.
The Register Address specifies the 8-bit address of the requested data.
The Repeat Start Condition replaces the write data from the above write operation description. This informs the PGA302 devices that Read operation will take place instead of a write operation.
The second Target Address contains the memory page from which the data will be retrieved. The R/W bit is set to 1.
Target data is transmitted after the acknowledge is received by the controller.
Table 6-6 lists a few examples of I2C Transfers.
| Command | Controller to Target Data on I2C SDA |
|---|---|
| Read COM_MCU_TO_DIF_B0 |
Target Address: 100 0000 Register Address: 0000 0100 |
| Write 0x80 to Control and Status Registers 0x30 (DAC_REG0_1) |
Target Address: 100 0010 Register Address: 0011 0000 Data: 1000 0000 |
| Read from EEPROM Byte 7 |
Target Address: 100 0101 Register Address: 0000 0111 |