SLVUCR8A September   2023  – March 2024 TPS25751

 

  1.   1
  2.   Read This First
    1.     Notational Conventions
    2.     Glossary
    3.     Related Documents
    4.     Support Resources
    5.     Trademarks
  3. 1Introduction
    1. 1.1 Introduction
      1. 1.1.1 Purpose and Scope
    2. 1.2 PD Controller Host Interface Description
      1. 1.2.1 Overview
      2. 1.2.2 Register and Field Notation
    3. 1.3 Unique Address Interface
      1. 1.3.1 Unique Address Interface Protocol
  4. 2PD Controller Policy Modes
    1. 2.1 Overview
    2. 2.2 Source Policy Mode
    3. 2.3 Sink Policy Mode
  5. 3TPS25751 Registers
  6. 44CC Task Detailed Descriptions
    1. 4.1 CPU Control Tasks
      1. 4.1.1 'Gaid' - Return to Normal Operation
      2. 4.1.2 'GAID' - Cold Reset Request
    2. 4.2 PD Message Tasks
      1. 4.2.1 'SWSk' - PD PR_Swap to Sink
      2. 4.2.2 'SWSr' - PD PR_Swap to Source
      3. 4.2.3 'SWDF' - PD DR_Swap to DFP
      4. 4.2.4 'SWUF' - PD DR_Swap to UFP
      5. 4.2.5 'GSkC' - PD Get Sink Capabilities
      6. 4.2.6 'GSrC' - PD Get Source Capabilities
      7. 4.2.7 'GPPI' - PD Get Port Partner Information
      8. 4.2.8 'SSrC' - PD Send Source Capabilities
      9. 4.2.9 'MBRd' - Message Buffer Read
    3. 4.3 Patch Bundle Update Tasks
      1. 4.3.1 'PBMs' - Start Patch Burst Mode Download Sequence
      2. 4.3.2 'PBMc' - Patch Burst Mode Download Complete
      3. 4.3.3 'PBMe' - End Patch Burst Mode Download Sequence
      4. 4.3.4 'GO2P' - Go to Patch Mode
    4. 4.4 System Tasks
      1. 4.4.1 'DBfg' - Clear Dead Battery Flag
      2. 4.4.2 'I2Cr' - I2C Read Transaction
      3. 4.4.3 'I2Cw' - I2C Write Transaction
  7. 5User Reference
    1. 5.1 PD Controller Application Customization
    2. 5.2 Loading a Patch Bundle
    3. 5.3 GPIO Events
    4. 5.4 AUTO_NEGOTIATE_SINK Register
      1. 5.4.1 AUTO_NEGOTIATE_SINK Usage Example 1
      2. 5.4.2 AUTO_NEGOTIATE_SINK Usage Example 2
      3. 5.4.3 AUTO_NEGOTIATE_SINK Usage Example 3
      4. 5.4.4 AUTO_NEGOTIATE_SINK Usage Example 4
  8. 6Revision History

GPIO Events

Table 5-2 GPIO Events
Event #Event NameI/ODescription
158 WAIT_nPG I GPIO from battery charger to indicate to the PD controller can communicate over I2C during a dead battery power up condition.
157 LIQUID_DETECTED O GPIO is asserted when liquid is detected on the SBU1/2 pins. When liquid is no longer detected on the SBU1/2 pins the GPIO will be de-asserted.
156 LIQUID_NMOS_CONTROL O GPIO used to enable the NMOS in the external liquid detection circuit. The GPIO will toggle during liquid detection.
155 LIQUID_PMOS_CONTROL O GPIO used to enable the PMOS in the external liquid detection circuit. The GPIO will toggle during liquid detection.
76PdNegotiationInProcessOutput

When in source mode, this GPIO is asserted after a Request message is received, before sending the Accept message. The GPIO is de-asserted after the PS_RDY message is sent.

When in sink mode, this GPIO is asserted right before sending a Request message, and de-asserted after a PS_RDY message is received.

In either mode, the GPIO is de-asserted when a detach occurs.

75AttachedAsSinkOutputWhen the PD controller has a port that is connected to a Source, this GPIO will be asserted. The GPIO is de-asserted upon disconnect, hard reset, during power-role swap and during fast-role swap only if none of the ports in the PD controller are connected to a source.
73EnableSourceOutputPD controller will assert this GPIO when acting as a source (implicit or explicit contract)
65Load_Switch_DriveOutputWhen the PD controller enables the PP_EXT1 sinking path, it will pull the selected GPIO low to enable a load-switch. When the PD controller disables the PP_EXT1 sinking path, it will drive the selected GPIO high.
61Dp_Dm_Mux_Enable_EventOutputThis GPIO must be used to enable/disable a USB 2.0 D+/D- mux. The GPIO is driven high upon connection, and low upon disconnect on the port.
50Debug_Accessory_Mode_EventOutputOutput: This GPIO is asserted high when a Debug Accessory is attached on the port.
45Prevent_DRSwap_To_UFP_EventInputWhen the GPIO is high, the PD controller will reject any DR_Swap messages from the Port Partner requesting to change the data-role from DFP to UFP.
44UFP_Indicator_EventOutputThe GPIO is driven high when the data role of any port in the PD controller is UFP.
43Barrel_Jack_EventInputWhen this GPIO is high, the PD controller interprets it to mean that a barrel-jack adaptor is connected and the system has Unconstrained power. A falling edge on this GPIO will automatically set PORT_CONTROL.UnconstrainedPower to 0 and TX_SCEDB.SourceInputs[0] to 0. A rising edge on this GPIO will automatically set PORT_CONTROL.UnconstrainedPower to 1 and TX_SCEDB.SourceInputs[0] to 1.
35Fault_Condition_Active_Low_EventOutputAsserts low on an overcurrent event on the port.
33Fault_Input_EventInputWhen set low by the system, the port enters the Type-C Error Recovery State. When set high, no action is taken.
29UFP_DFP_EventOutputOutput: Asserted high when the port is operating as UFP. Asserted low when port is operating as DFP.
13SourcePDOContractBit2OutputOutput: Bit2 of binary encoded outputs indicating when a Source PDO1 through PDO7 on the port has been negotiated (the Accept message has been transmitted and the tSrcTransition timer has expired).
12SourcePDOContractBit1OutputOutput: Bit1 of binary encoded outputs indicating when a Source PDO1 through PDO7 on the port has been negotiated (the Accept message has been transmitted and the tSrcTransition timer has expired).
11SourcePDOContractBit0OutputOutput: Bit0 of binary encoded outputs indicating when a Source PDO1 through PDO7 on the port has been negotiated (the Accept message has been transmitted and the tSrcTransition timer has expired).
10SourcePDO4ContractOutputOutput: Asserted high when a Source PDO4 on the port has been negotiated (the Accept message has been transmitted and the tSrcTransition timer has expired). D-asserted when a PDO other than PDO2 has been negotiated.
9SourcePDO3ContractOutputOutput: Asserted high when a Source PDO3 on the port has been negotiated (the Accept message has been transmitted and the tSrcTransition timer has expired). D-asserted when a PDO other than PDO2 has been negotiated.
8SourcePDO2ContractOutputOutput: Asserted high when a Source PDO2 on the port has been negotiated (the Accept message has been transmitted and the tSrcTransition timer has expired). D-asserted when a PDO other than PDO2 has been negotiated.
7SourcePDO1ContractOutputOutput: Asserted high when a Source PDO1 on the port has been negotiated (the Accept message has been transmitted and the tSrcTransition timer has expired). D-asserted when a PDO other than PDO1 has been negotiated.
3Cable_Orientation_EventOutputOutput: Indicates the plug orientation on the port. Low when the plug is connected upside-up (CC1 connected to CC in cable) or disconnected. High when plug is connected upside-down (CC2 connected to CC in cable).
1PlugEventOutputOutput: Asserted high when plug event (attached state) has occurred on the port, otherwise low.
0NullEventNANo event associated with this GPIO.