I am trying to design an STM32F411 USB host. I will be connecting it to a USB MIDI device. The USB MIDI device I am using is AKAI Professional MPK Mini MKII which only has 1 USB port both for power and data which means that I need to power the device through USB.
From the STM32F411 datasheet, I have found some relevant circuit schematics:
However, I am unsure about the VBUS part. How am I supposed to power my USB device with microcontroller? My microcontroller logic is +3.3V and USB required +5V. Do I need to power USB device through VBUS pin on the microcontroller?
I have read somewhere that VBUS is used for sensing:
The USB device is bus-powered, VBUS sensing is not mandatory (USB is always connected when the device is powered)
For my application, the microcontroller is going to be host only therefore I assume I don't even need to use the VBUS? Can I just connect the external +5V source to the USB VBUS pin instead?