SPRUIY9B May 2021 – October 2023
The AM64x SKEVM is powered through a USB type-C Connector. The USB Type-C source is capable of providing 3 A at 5 V and advertises the current sourcing capability through CC1 and CC2 signals. On SK EVM, CC1 and CC2 from the USB Type-C connector are interfaced to the TUSB320LAIRWBR port controller IC. This device uses the CC pins to determine port attach and detach, cable orientation, role detection, and port control for Type-C current mode. This IC allows for pin swapping when the Type-C cable is flipped and inserted. The CC logic block monitors the CC1 and CC2 pins for pull-up or pull-down resistances to determine when a USB port has been attached, the orientation of the cable, and the role detected. The CC logic detects the Type-C current mode as default, medium, or high depending on the role detected. Pin PORT is pulled down to ground through a resistor to configure as UFP (Upward Facing Port) mode. VBUS detection is implemented to determine a successful attach in UFP mode. Pin ADDR is left open to configure as GPIO mode. OUT1 and OUT2 pin is connected to a NOR gate. Active low on both OUT1 and OUT2 pin advertises high current (3 A) in the attached state which enables the VUSB_MAIN power switch to provide the VUSB_PMIC supply which powers one PMIC. In UFP mode, the TUSB320 device constantly presents pull-down resistors (Rd) on both CC pins. The TUSB320 device monitors the CC pins for the voltage level corresponding to the Type-C mode current advertisement by the connected DFP. The TUSB320 device de-bounces the CC pins and waits for VBUS detection before successfully attaching. As a UFP, the TUSB320 device detects and communicates the advertised current level of the DFP to the system through the OUT1 and OUT2 GPIOs. SKEVM power requirement is 5 V @ 3 A. If the source is not capable of providing 5 V at 3 A, output at the NOR gate becomes low which disables VUSB_Main power switch. Hence all power supplies except VCC3V3_TA remain in the off state. The board gets powered ON completely only when the source is capable of providing 5 V at 3 A.
OUT1 | OUT2 | Advertisement |
---|---|---|
H | H | Default current in unattached state |
H | L | Default current in attached state |
L | H | Medium current (1.5A) in attached state |
L | L | High current (3.0A) in attached state |