How to transmit data on XMC4200 development board via USB

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi all,

I am now using Dave 4.2.3 with 64Bit and Distance2Go development board based on the XMC4200. I try to use sample code from "Dave Help --> USBD_VCOM" to enable the USB port and send the data out from USB.
For the current project, I've created the "USBD_VCOM" APP.
However, I meet the problem. When I execute the sample code step by step, and then enter into "while(!USBD_VCOM_IsEnumDone()); , it goes under the infinite loop condition and no longer can not trace the code..

On the other hand, when I connect the debug port to PC and also connect main port to the same/other PC, only debug port can be recognized. I am not sure if PC could recognize two ports from development board at the same time.

Can anybody share some advices that where the problem is or what have I to do to over USB to get the basic functionality??

Thanks for you helps,
Paul
0 Likes
0 Replies