Skip to main content
Visitor II
May 15, 2020
Question

When the USB is de-initialized with USBD_DeInit(..) the USB tranceiver is not put in powerdown.

  • May 15, 2020
  • 0 replies
  • 538 views

Our product uses the embedded USB PHY and only initialize the USB CDC when needed. Any other time we keep it de-initialized. At initialization the tranceiver is enabled through HAL_PCD_Init() that uses the function USB_CoreInit(). When de-initialized with HAL_PCD_DeInit() the tranceiver is not placed in powerdown (PWRDWN bit in register OTG_GCCFG).

The PWRDWN bit should be reset in the method HAL_PCD_DevConnect().

    This topic has been closed for replies.