2023-09-27 08:01 PM
I am using an STM32f446RCT6 microcontroller in my hardware, and I need to use a virtual COM port on this device. I have enabled the USB device in the middleware as a virtual COM port, and my system clock frequency is 16MHz. I am using CDC transmit to print a message via VCP, but it is not working. Does the STM32f446RC MCU support VCP?
2023-09-28 06:18 AM
USB CDC works on the STM32F4 series. Your clock needs to be based on a crystal (HSE) and not the internal oscillator. Here is a working code example: