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

cross mob
Not applicable
Hey Folks

Is it possible to use the usb interface on the XMC4500 to get serial Communication when connected to a Windows PC?

I already wrote a visual Application that sends out the data via a COM Port.

It would be possible to buy a usb -> Serial converter but it would be much easier via USB.

Any Ideas?

Thanks

Greetings
Julian
0 Likes
3 Replies
Not applicable
Hi Julian,

There is an app in DAVE3 called USBD_VCOM.
Using this app, XMC4500 device can create a virtual com port on the windows PC.
Example project also provided for this app in DAVE3.
0 Likes
Not applicable
Hi,
I am using an example/app "USBVC001_VCOMSerial_Example1" with XMC4500, it works fine. I can send/receive data from COM port.
But somewhere I read that we can not configure the Baud rate for the serial port, it automatically tunes it.
0 Likes
Not applicable
Hi,

The USBVC001 is the older Virtual COM port app.
It works fine but an enhance version is available which is called USBD_VCOM.
This enhance version is more light weight (code reduce) and also have higher throughput (up to 64byte each frame).

Yes, the baudrate is auto adjusted with the terminal program connected.
The data is actually transferred at USB full speed rate which is 12mbps.
0 Likes