USB without VBUS
I am trying to send data with an STM32F105RB microcontroller. I have configured it using STM32CubeMX with USB_Device as CDC (Virtual COM Port) and USB_OTG_FS in Device_Only mode. I have not activated SOF or VBUS. Here is the code I am using:
This code works correctly on a USB where the VBUS pin is connected to 5V, but it does not work on another USB where the VBUS is not connected. The configuration is the same in both cases.
Any idea what could be going on? How can I make the USB work without being connected to the 5 volts of the board or the microcontroller VBUS?
Any help or suggestions would be greatly appreciated! Thanks in advance!
