STM32C0 USB CDC not working
Hi,
I am using custom board with STM32C071. I am trying to enable USB port with CDC so that my custom board will be visible as virtual com port on PC. After enabling all options and initializations, I was expecting that my board will appear on PC device manager COM port list but it does not appear. Below are the settings:
1. Clock configuration - In my hardware external crystal is connected of 8MHz and I see there is no PLL which can multiply it and hence I am using internal 48MHz clock.

2. USB port is enabled with default settings. PA11 and PA12 pins are used for USB connection in hardware. USB global interrupt is enabled.

3. USBX is enabled from middleware. Device class CDC ACM is only one selected.

4. Most of the settings for USBX is default value except for two of them marked in red color. These values are updated from 1024 to 10000 and 512 to 8000. With default values of 1024 and 512, function MX_USBX_Device_Init() was returning error. After referring to discussions on community, I got one of the reference to make this change which resolve the error of MX_USBX_Device_Init(). However, still my board is not visible on PC as VCP.

Hardware schematic is as follows:

In main.c file, I could see following two function calls:
MX_USB_PCD_Init();
MX_USBX_Device_Init();
Both of the above functions return 'success'.
Please guide me in locating the issue as why my custom board is not appearing as VCP on PC.
Thanks,
Pradeep
edit: updated label STM32C0 Series
