2023-06-02 09:16 AM
I followed your videos where the implementation of the USB HOST HID is explained. However, the development board I am using is different from the one shown in all the videos. So the VBUS control circuitry does not exist in the STM32F446RE nucleo documentation.
As it does not exist, an error is generated when generating the code.
How is the MXCube configuration made for the STM32F446RE nucleo development board? How is the VBUS pin activated?
2023-06-03 02:17 PM
For host-only function, there is a simple output GPIO that activates the USB power controller chip (which your board should have). This chip provides power for USB devices connected to the STM32 host port(s), usually with overcurrent protection. Its "enable" input goes to output pin of STM32. VBUS is something used in OTG role negotiation, not used in host only mode.
2023-06-05 07:12 AM
The problem is that the datasheet of the NUCLEO-F446RE board says nothing about the control circuit, so it is not possible to identify which pin controls the VBUS