STM32F411CEU6 "Black Pill" USB virtual COM port code not working, but working on STM32F4 discovery
Hello,
I'm using STMCubeIDE, with firmware version: STM32Cube FW_F4 V1.25.0
I am trying to implement a USB virtual COM port. My code is working on the STM32F4 discovery board. I then created a new project for the STM32F411CEU6 "Black Pill", but the USB device will not enumerate. Error message in windows is "Device Descriptor Request Failed"
For the project, I select "Device Only" for USB_OTG_FS, and in the USB_DEVICE middleware, I select "Communication Device Class (Virtual Port Com). The only other change I made to the generated code was to usb_cdc_if.c file to add the lineCoding.
I've attached my clock configuration screenshot.
Has anyone tried to implement a USB device on one of these black pills? If so, would you know if I'm making any obvious error with what I'm trying to do?
Thank you very much,
Garrett.
