2021-02-18 02:46 AM
I am trying to make USB work on a custom board. On our board the VBUS and ID lines from the USB-B connector is left floating, Because we always want to be in device mode
So to compensate for this I am using B-peripheral session valid override. This in turn generates a session request interrupt. (Without it nothing happens)
I have followed the Core Init instructions from the reference manual and as soon as I clear the USB_OTG_DCTL_SDIS I get a Reset Event (as expected). But Never get the USB_OTG_GINTSTS_ENUMDNE event.
There is no difference for when the cable is plugged in/out at power on or plugged in after reset interrupt happens.
Is it possible (adviseable) to make the usb work without using VBUS sensing.?