Part Number: AM3351
Attempting to bring up USB on AM335x-based custom board. The USB port is latched in "oc suspend" with no device attached.The design does not connect USB0_VBUS for isolation. Is it OK to leave USB0_VBUS sense pin floating?
In the AM335x Schematic Checklist (SPRABN2A) :
Typical connections for a USB peripheral: USBx_VBUS should be connected directly to the VBUS pin on the USB connector
Typical connections for a USB host: USBx_VBUS should be connected to the output of the 5 V VBUS power source
Guidelines state "should" and not "must". Is the OC caused by USB0_VBUS not sensing any voltage? If so, how can we bring up USB0 without USB0_VBUS connection?
Below are output from lsusb -v and dmesg
[ 80.764720] usb usb1-port1: over-current condition
[ 80.905195] musb-hdrc musb-hdrc.0: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #1, port1 0000010c
[ 81.057622] musb-hdrc musb-hdrc.0: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #2, port1 0000010c
[ 81.210062] musb-hdrc musb-hdrc.0: VBUS_ERROR in a_wait_vrise (81, <SessEnd), retry #3, port1 0000010c
[ 81.362484] musb-hdrc musb-hdrc.0: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
lsusb -v
lsusb -v
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 6.01
iManufacturer 3 Linux 6.1.46 musb-hcd
iProduct 2 MUSB HDRC host driver
iSerial 1 musb-hdrc.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0011
Per-port power switching
No overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 5 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.010c power oc suspend
Device Status: 0x0001
Self Powered