TPS25814: Request for TPS25814 Host Interface Specification / I2C Register Map

Other Parts Discussed in Thread: TPS25814, TPS25752A

Dear TI Support Team,

We are currently designing a custom board incorporating the TPS25814 USB Type-C Port Controller interfaced with an Embedded Controller (MCU) via the I2C_EC interface.

While reviewing the datasheet (SLLVSEZ5A), we noticed that the detailed I2C register map and interrupt logic are described in a separate document.

To implement our MCU firmware an event-handling routines properly, could you please provide or grant access to the TPS25814 Host Interface Specification (or Technical Reference Manueal)?

Specifically, we need detailed information on:
1. Complete I2C register map and register bit definitions.
2. Specific trigger contidtions for the I2C_EC_IRQ interrupt pin (e.g., attach/detach, faults, power dstate changes).
3. Interrpt masking registers and clear-on-read/write-to-clear behavior for I2C_EC_IRQ.

  • Particular attention should go to the I2C addresses and which actions trigger the interrupt.

  • Hi Marius,

    Would it be possible to move your design to TPS25752A instead? 

    https://www.ti.com/product/TPS25752A

    I'm looking internally for the TRM for TPS25814 but after it is found I may not be able to fully publish it which will add a bit more time for completion. 

  • Hi Jason,
    thanks for checking internally.
    I’d like to stay with TPS25814, as it is a simple solution that meets our requirements without much additional effort.

    At minimum, this is what I need via I2C for TPS25814:
    1. The key status registers that indicate the main operating states, e.g. no USB-C device attached, USB-C device attached, overcurrent, overtemperature, and similar conditions.
    2. Confirmation whether all relevant status changes on TPS25814 are signaled via the interrupt pin, so I don’t need to poll I2C cyclically.

    For TPS25814, a design without I2C (using only FAULT and SINK outputs) would also be possible, but it would be unfortunate not to use I2C since the bus is available anyway.

    Thanks!

  • Hi Marius,

    Got it, ok no problem!

    Please give me a bit of time to see if I can find the documents and maybe an EVM to run a few quick tests to make sure everything is correct.

  • Hi Marius,

    Thank you for your patience one this thread. It took a bit of digging, what I found was that for TPS25814 we've pointed customers to the TPS6599xAD Technical Reference Manual (TRM) for the register definitions.

    /cfs-file/__key/communityserver-discussions-components-files/138/TPS6599xAD_5F00_TRM_5F00_slvubt3.pdf

     TPS25814: I2C register specification 

  • Hi Jason,

    Thank you for the pointer to the TPS6599xAD TRM. It is very helpful. I went through it and selected the following registers and bits for my use case (source-only, no PD, attach/detach plus OC/OT monitoring, interrupt-driven):

    • Interrupt: INT_EVENT1 (0x14), INT_MASK1 (0x16), INT_CLEAR1 (0x18). Bits used: PlugInsertOrRemoval (bit 3), Overcurrent (bit 9), PPswitchChanged (bit 23), PowerStatusUpdate (bit 24), StatusUpdate (bit 26), and ErrorPowerEventOccurred (bytes 5-8, bit 3).
    • Status: STATUS (0x1A): PlugPresent (bit 0), ConnState (3:1), PlugOrientation (bit 4), PortRole (bit 5), VbusStatus (21:20). TYPEC_STATE (0x69): TypeCPortState (31:24), Cc1PinState, Cc2PinState.
    • Power path: POWER_PATH_STATUS (0x26): PP1switch (8:6), PP1_Overcurrent (bit 4), PP_CABLE1_Overcurrent (bit 10), PowerSource (15:14). POWER_STATUS (0x3F): TypeCCurrent (3:2).
    • Fault cause: PD_STATUS (0x40), ErrorRecoveryDetails (27:22), to tell OTSD, OVP and ILIM apart.

    I ignore all PD, alternate mode, Thunderbolt, PP3/PP4 and second-port fields and mask them in software.

    From the TRM I understand that I2C_EC_IRQ is pulled low whenever an unmasked bit is set in INT_EVENT1. INT_EVENT1 is read-only, INT_MASK1 enables the events, and INT_CLEAR1 is write-1-to-clear. I will rely on this, so no polling is needed. Please correct me if the TPS25814 behaves differently.

    Could you please confirm:

    1. Are these registers and bits actually implemented on the TPS25814, and is my bit selection correct?
    2. Do the Overcurrent (ILIM on PP_5V) and over-temperature shutdown events set bits in INT_EVENT1 on the TPS25814? Which bits are they: Overcurrent (bit 9), ErrorPowerEventOccurred, or both?
    3. The TRM describes MODE (0x03) as a 4-byte ASCII string, "APP " (0x41 0x50 0x50 0x20) in normal operation. Does the TPS25814 return the same value, or something else?

    Thanks and best regards,

    Marius

  • Hi Marius,

    From the TRM I understand that I2C_EC_IRQ is pulled low whenever an unmasked bit is set in INT_EVENT1. INT_EVENT1 is read-only, INT_MASK1 enables the events, and INT_CLEAR1 is write-1-to-clear. I will rely on this, so no polling is needed. Please correct me if the TPS25814 behaves differently.

    Sorry for the confusion I was expecting that behavior as well but it is actually the opposite.

    The I2C_EC_IRQ will be pulled low whenever a masked bit in register 0x16 INT_MASK1 is triggered and populated into register 0x14 INT_EVENT1

    Are these registers and bits actually implemented on the TPS25814, and is my bit selection correct?
    The TRM describes MODE (0x03) as a 4-byte ASCII string, "APP " (0x41 0x50 0x50 0x20) in normal operation. Does the TPS25814 return the same value, or something else?

    Combining these questions as they're related.

    I don't have a TPS25814 EVM handy to test. But yes these bits and registers should be implemented in TPS25814. The mode register (0x03) is common to many of the TI USB PD controllers that allow for I2C communication. Generally speaking the mode register is typically within one of the 3 modes highlighted below but if any other value is seen this usually indicates some kind of error.

    Do the Overcurrent (ILIM on PP_5V) and over-temperature shutdown events set bits in INT_EVENT1 on the TPS25814? Which bits are they: Overcurrent (bit 9), ErrorPowerEventOccurred, or both?

    Section 5.4 of the TRM details the fault reporting in a bit more of a clear way for us. For PP_5V both Overcurrent and ErrorPowerEventOccurred are asserted.