STM32H7S3 - Issue with USB HS CDC (Internal PHY) without VBUS sensing
Hi everyone,
I’m reaching out because I’m having trouble setting up a USB HS CDC (Communication Device Class) using the internal PHY, without VBUS sensing.
I use STM32H7S3I8T6.
My program gets stuck in the following loop before timing out:
/* Core Soft Reset */
USBx->GRSTCTL |= USB_OTG_GRSTCTL_CSRST;
do
{
count++;
if (count > HAL_USB_TIMEOUT)
{
return HAL_TIMEOUT;
}
} while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST) == USB_OTG_GRSTCTL_CSRST);
return HAL_OK;
}Despite searching through various forum topics, I can't seem to get it to work.
Here is my STM32 configuration:
Clock :

USB Clock :

Power Regulator :

USB HS Configuration :

USB_DEVICE Configuration :

Here is my configuration.
I would be very grateful for any help you can provide.
Thanks in advance,
Paul
