Skip to main content
Visitor II
June 2, 2023
Question

STM32F446RE Nucleo - USB HOST HID

  • June 2, 2023
  • 2 replies
  • 1480 views

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?

    This topic has been closed for replies.

    2 replies

    Super User
    June 3, 2023

    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.

    AReal.1Author
    Visitor II
    June 5, 2023

    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