Skip to main content
Visitor II
June 13, 2021
Question

USB OTG not working in my STM32F746ZG

  • June 13, 2021
  • 1 reply
  • 703 views

Hi,

I am trying to implement USB Custom HID Example.

I am using Nucleo STM32F746ZG board.

I will have to Enable the VBUS to get the OTG to work. In my board PG6 pin is connected to the EN pin. So I have set the PG6 Pin to high so that the port can be enabled. But the PG6 is not getting HIGH. When I reset the LED 8 blinks and again switched off.

Basically PG6 is not setting the USB otg port to high.

Schematic page for reference

0693W00000BaqAnQAJ.png

    This topic has been closed for replies.

    1 reply

    Visitor II
    June 23, 2021

    Hello @Kh.1​ ,

    You can refer to following example available under STM32CubeF7 package (path: Projects\STM32F769I_EVAL\Applications\USB_Device\CustomHID_Standalone).

    You could use this as inspiration.

    BeST Regards,

    Walid