diff --git a/targets/TARGET_STM/USBPhy_STM32.cpp b/targets/TARGET_STM/USBPhy_STM32.cpp index 1810bb6e296..8dcb420b53b 100644 --- a/targets/TARGET_STM/USBPhy_STM32.cpp +++ b/targets/TARGET_STM/USBPhy_STM32.cpp @@ -318,6 +318,7 @@ void USBPhyHw::init(USBPhyEvents *events) HAL_StatusTypeDef ret = HAL_PCD_Init(&hpcd); MBED_ASSERT(ret == HAL_OK); __HAL_PCD_ENABLE(&hpcd); + HAL_PCD_Start(&hpcd); // Configure FIFOs #if (MBED_CONF_TARGET_USB_SPEED == USE_USB_NO_OTG)