cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F411CEUx USB Serial Port Issue

dlaroche
Associate

I am having trouble configure the USB-C port for serial output. The board I got is a "BlackPill" and I have went to try some example code for USART2 and USART6, however, upon a reset, I still do not have a COM port appear. Any advice?

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief III

Where you expecting to see a com port when running a UART?

If you want to get something on USB connection, like a VCP, you have to run something that doing the handling on the USB bus: so use a serial to USB adapter, connected to the UART you want to use, or set in Cube the USB -> device -> virtual com Port, to let it include all the libraries and USB stack to do the action, that's needed for a USB VCP to work.

Read examples or here in forum how to use it then.

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

View solution in original post

1 REPLY 1
AScha.3
Chief III

Where you expecting to see a com port when running a UART?

If you want to get something on USB connection, like a VCP, you have to run something that doing the handling on the USB bus: so use a serial to USB adapter, connected to the UART you want to use, or set in Cube the USB -> device -> virtual com Port, to let it include all the libraries and USB stack to do the action, that's needed for a USB VCP to work.

Read examples or here in forum how to use it then.

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