good afternoon, can you tell me, I have a board with two usb (micro and mini) through the mini connector I program, and through the micro I want to send data. I fiddled with the USB Vurtual COM port implementation, tried to send string data, but the data in the COM port was not displayed. Then I started looking for the problem.
As a result, I found that there are 2 bottlenecks:
- It's not clear if VBUS Sensing needs to be turned on. I tried both with and without it, all the same, the data is not transmitted. But judging by the description, you need to turn off VBUS.
2.
The virtual port in the device manager is displayed as STLink Virtual COM port. And here in the information the name will not coincide with what I asked in CubeMX. Those. only the virtual COM port for STLink is visible, and this is the mini usb input, and the micro usb is not displayed. have you encountered this?

Example of the project I send below.