SLVUCR8A September 2023 – March 2024 TPS25751
| Description | The 'I2Cr' task can be used to cause the PD controller to read from a specified target address and register offset using a I2C read transaction through the I2Cc_SDA and I2Cc_SCL pins. | ||
|---|---|---|---|
| INPUT DATAX | Bit | Name | Description |
| Byte 3: Number of bytes to read from the target. | |||
| 7:0 | NumBytes | ||
| Byte 2: Register offset to use in the I2C read transaction. | |||
| 7:0 | RegisterOffset | ||
| Byte 1: Target Address | |||
| 7 | Reserved | ||
| 6:0 | Target to use for the transaction. | ||
| OUTPUT DATAX | Bit | Name | Description |
| Bytes 2-65: Data Bytes read from the target (in order received) | |||
| 511:0 | Data | ||
| Byte 1: Standard Task Return Code. | |||
| Task Completion | The PD controller completes after it has successfully read the specified number of bytes, or the I2C transaction terminated for some other reason. | ||
| Side Effects | This task causes the PD controller to issue a command on the I2Cc port. It can result in INT_EVENTx.I2CControllerNACKed being asserted. | ||
| Additional Information | The 'I2Cr' command cannot be sent within 5s from sending a previous 'I2Cr' command. This allows the PD controller to complete all I2C transactions. | ||