cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L151CB CDC USB Virtual Com Port Sending data to PC

sergio_maxiangxin
Associate
Posted on August 26, 2015 at 10:21

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?

0 REPLIES 0