Does anyone know how I can detect if my USB device is connected to a Host or not?
Thx Steven
It is really not necessary to change the USBLC6-4 chip. As D+ really is the one that gives a feedback on VBUS that situation can also be avoided by not calling USBD_Connect until VBUS was detected.