I'm looking for any USB benchmarks when using TI-RTOS on a TivaC device. I'm explicitly interested in CDC.
This following provides a collection of benchmarks comparing USB CDC read speeds for target and host on the Tiva (TM4C123GH6PGM). Three different host OS’s were used: Windows 7 64 bit, VM Ware Ubuntu 12.04, Ubuntu 10.04
On the windows host a C program utilizing windows API’s were used to both receive and transmit USB bulk transfers, while on linux a python script was used. Various packet sizes of 1000 buffers were sent and received on both the host and target. TX test case: usbserialdevice.c sends various packet sizes from the target to the host where the host will read the packets and record a time stamp of how long the process takes to complete.
RX test case: The C program or Python script will send various packet sizes of 1000 buffers from the host to the target. The program usbserialdevice.c will read the incoming packets and record a time stamp of how long the process took to complete. The CPU loads across both devices were recorded using ROV at approximately 2% +/- .7% among all transfers.
The zipfile below contains the python scripts and the windows host side as well as the target side example. To reproduce the results below run the target example (usbserialdevice.c) and then run the host side code either the python script or C program with windows API's The results will both be displayed to the console as well as saved to a log.txt which you can specify the location.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.