I have a Nucleo f303re development board with support of ST's own USB Device library.
Onboard USB port is for ST-LINK so I don't want to unplug its connections. So I tried to implement another USB port as a little breakout board. I connected DA+ to PA_12 and DA- to PA_11 and GRND to GRND and power to the E5V pin on the board. And there is a 1.5 kΩ resistor on DA+.
My problem is that I'm getting power from the USB but ST's own f303re examples for USB Device do not work. My Windows 10 is not seeing the board in HID example and also not seeing it as VCP when I try to configure the board as USB CDC VCP.
How can I solve this problem?