Speed of USB CDC Serial

Discussion around AT91RM9200 and SAM9 Series Products.

Moderator: nferre

doaaron
Posts: 45
Joined: Wed Nov 12, 2014 4:55 pm

Speed of USB CDC Serial

Thu Feb 05, 2015 4:26 pm

Hi all,


I am following the USB CDC Serial example in the AT91SAM9G25 software package to send date from the MCU to my PC. Unfortunately, the data-rate that I can achieve is only around 160 kB/s.

Does anybody know how I can speed it up? Is it likely to be a PC issue or a MCU issue, or a software issue? On my PC, I have a mouse, keyboard, USB-Serial for the DBGU and USB Port A from the 9G25 plugged in.


thanks,
Aaron
doaaron
Posts: 45
Joined: Wed Nov 12, 2014 4:55 pm

Re: Speed of USB CDC Serial

Tue Feb 10, 2015 10:15 am

Hi all,


after more searching, I found this page:

http://janaxelson.com/usb_virtual_com_port.htm

which briefly discusses how to maximize the performance of USB virtual COM port. Aparently I need to set up my USB Descriptors properly. The AT91 software package for the 9G25 includes USBDDriverDescriptors.c to set up the descriptor. Unfortunately, I haven't yet figured out how to change the configuration. It isn't as simple as it would seem from the above article.


Aaron

Return to “SAM9 ARM9 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest