Part Number: AM67
Other Parts Discussed in Thread: TUSB321, TUSB321AI
Tool/software:
I am trying to design a USB-C 2.0 connector circuit connected to USB0 for use as a USB-C port and for booting. I have been following the design on the EVM and I am confused by the USB Type C Current Limit circuit design. 
I understand the mechanics of the circuit and how it correctly enables/disables the VBUS_5V0_TYPEC rail, but I don't get why USBC_ID isn't brought back to the processor. Isn't it still needed for the processor to be able to correctly determine if it should be configured as a UFP or DFP, or is this information transmitted through the USB data lines?
What further confuses me is that this circuit doesn't seem to work on my EVM. When I plug a USB-C drive into the port nothing happens. When I measured out the signals USB_TYPEC_DRVVBUS and USB0_DRVVBUS are low, preventing U50 from enabling. If I manually change USB0_DRVVBUS high, it then detects the USB drive. However, if I then try to configure the board as a USB device and connect it to my PC, I get a bunch of errors:
root@am67-sk:~# dd if=/dev/zero of=/tmp/mass_storage.dat bs=1M count=128
128+0 records in
128+0 records out
134217728 bytes (134 MB, 128 MiB) copied, 0.657969 s, 204 MB/s
root@am67-sk:~# modprobe g_mass_storage file=/tmp/mass_storage.dat
[ 30.187379] Mass Storage Function, version: 2009/09/11
[ 30.192618] LUN: removable file: (no medium)
[ 30.197229] LUN: file: /tmp/mass_storage.dat
[ 30.201535] Number of LUNs=1
[ 30.204635] g_mass_storage gadget.0: Mass Storage Gadget, version: 2009/09/11
[ 30.211785] g_mass_storage gadget.0: userspace failed to provide iSerialNumber
[ 30.219124] g_mass_storage gadget.0: g_mass_storage ready
root@am67-sk:~# [ 38.236745] usb 2-1-port4: config error
[ 39.370832] usb 2-1-port4: Cannot enable. Maybe the USB cable is bad?
[ 40.570848] usb 2-1-port4: Cannot enable. Maybe the USB cable is bad?
[ 40.577574] usb 2-1-port4: config error
[ 41.506802] usb 2-1-port4: Cannot enable. Maybe the USB cable is bad?
[ 41.513474] usb 2-1-port4: config error
[ 43.054916] usb 2-1-port4: config error
SW2 is configured to set TUSB321 in DRP mode, so I was hoping for some clarity on what I might be doing wrong? I am using the latest SDK from the AM67x page.