AnsweredAssumed Answered

STM32L151CB CDC USB Virtual Com Port Sending data to PC

Question asked by ma.xiangxin on Aug 26, 2015
Hello, I am a beginner in STM32L.

I just build a CDC usb virtual com port program with STM32Cube MX.

But inside the Main file, there is only a MX_USB_Init() function.

How do I add data send function in the main.c?   Another issue is: When I use Hterm to detect the com port driven by the program (directly generated by cube mx), there is an error reported: Internal error when initializing COM XX.

What is the problem?

Outcomes