This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS25772Q1EVM: I2C Commands Related to What is Displayed on USB-PD GUI

Part Number: TPS25772Q1EVM

Hello,

I am asking a related question towards I2C commands sent to the TPS2257 module. On the USB-PD GUI that is used to configure settings, there are I2C Slave Addresses: (0x22 for Port A and 0x26 for Port B) that can be read to determine the output voltage. Port A seems to have more information and even displays the DCDC1 VCode and DCDC1 Current Code. I am planning to hook up a Raspberry Pi to these I2C lines and reading these values back would be a great way to confirm that my system is working properly. Is there any software interface sheet that has the I2C commands on the slave address to read these values? Thanks again...

  • Hi Kevin,

    We do not have documentation available at this time.

    You can access this information by reading register 0x1A (12 bytes) over I2C.

    Of bytes 6 through 12:
    VIN: 0x1A[31:24], 80mV/bit
    DCDC1 VCODE: 0x1A[11:0], approximately 10mV/bit
    DCDC1 CURRENT CODE: 0x1A[23:16], approximately 25mA/bit
    VBUS PORT A: 0x1A[39:32], 98mV/bit
    VBUS PORT B: Same as Port A, just read from address 0x26 instead of 0x22 in your case.

    Please be advised this is only suggested for debug purposes. With a two port system, the I2C slave pins SDA2 and SCL2 are used as Port B D+/-.
    I2C master pins SCL1 and SDA1 can be used as a slave port for debug, but should not be used in your final solution to avoid collisions due to two masters on the bus.