16
TUSB422
ZHCSFQ2C –NOVEMBER 2016–REVISED JUNE 2018
www.ti.com.cn
版权 © 2016–2018, Texas Instruments Incorporated
7.3.14 VCONN
VCONN is required by active cables, emarker, and VCONN powered accessories like Alt Mode adapters. These
types of devices or cables present Ra on one CC pin and Rd on the other CC pin. VCONN must be enabled
when any of device or cable requiring VCONN is connected to a Type-C port and the TUSB422 is operating as a
DFP or DFP in DRP mode. Software can also enable the VCONN switch when the TUSB422 is a UFP during a
VCONN_SWAP sequence. The TUSB422 implements a VCONN switch which is controlled by software. The
default state of this switch is open. By setting the ENABLE_VCONN bit in Power Control register, the TUSB422
removes closes the switch resulting in VCONN power to be connected to the CC pin indicated by value of
PLUG_ORIENTATION bit in TCPC Control register.
Once the VCONN switch is closed, the switch can be opened by any of the following conditions.
• Software clear ENABLE_VCONN bit in Power Control register.
• VCONN overcurrent fault condition occurs resulting in TUSB422 opening VCONN switch and setting the
VCONN_OCP_FAULT_STATUS bit in Fault Status register.
• Over temperature condition detected by TUSB422. Must be enabled in OTSD Control register.
• Hard Reset ordered set is received.
• Cable is removed (Rd no longer present) results in TUSB422 opening VCONN switch and discharging
VCONN to vSafe0V
The TUSB422 discharges VCONN to vSafe0V by enabling Rd at designated CC pin anytime the VCONN switch
transitions from closed to open state. Once at vSafe0V, the TUSB422 disables the discharge circuit by removing
Rd and then re-enable Rp (assuming it is still enabled in Role Control register).
If an external VCONN discharge is desired, the TUSB422 internal VCONN discharge circuit can be disabled by
setting the INT_VCONNDIS_DISABLE bit in the VBUS and VCONN Control register.
Before closing the VCONN switch, the TCPM must make sure the voltage on VCONN pin is at a valid level.
When opening the VCONN switch by clearing the ENABLE_VCONN bit, the TCPM software must make sure
voltage on VCONN pin is at valid level until after VCONN switch is opened and then, if desired, can remove the
voltage from the VCONN pin. Removing the voltage on VCONN pin before Vconn switch is opened will result in a
false VCONN fault condition.
7.3.15 Interrupts
The TUSB422 asserts the INT_N pin low anytime an unmasked event occurs. Upon assertion of the interrupt, the
TCPM should read the Alert Registers to determine the reason for interrupt. Upon reading the Alert register, the
TCPM should clear the interrupt by writing a 1’b1 to the appropriate field in the Alert register.
If the FAULT flag is set in the Alert register, the TCPM must first read the Fault Status register to determine
reason for fault. Then clear the appropriate field in the Fault Status register by writing a 1’b1. Once all fields in
Fault Status register are cleared, the TCPM can then clear the flag in the Alert Register by writing a 1’b1.
The TUSB422 also has Vendor Defined Interrupt registers which is not part of the USB TCPC specification.
These vendor defined interrupts are masked by default. Software can enable vendor interrupts by setting the
appropriate bit in the Vendor Interrupts Mask Register and setting the VENDOR_IRQ_MASK field in the Alert
Mask register.
7.3.16 Fast Role Swap
The TUSB422 supports Fast Role Swap TX as defined in the USB Power Delivery 3.0 specification. The
TUSB422 does not support Fast Role Swap RX function.
The TUSB422 can also transmit a FastRole swap pulse. This is done by writing a 1’b1 to the
TX_FAST_ROLE_SWAP bit in the PHY BMC TX Control register. Upon setting this bit, the TUSB422 generates
a FastRole swap pulse as defined by T
FRSWAPTX
parameter. The TUSB422 clears the TX_FAST_ROLE_SWAP
bit after it has completed the transmission.