cancel
Showing results for 
Search instead for 
Did you mean: 

Does virtual com port work in STM32F446RCT6 controller?

Selvakannan2010
Associate

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?

1 REPLY 1
TDK
Guru

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:

https://github.com/STMicroelectronics/STM32CubeF4/blob/master/Projects/STM32446E_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt

 

If you feel a post has answered your question, please click "Accept as Solution".