Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Maximum USB 3.0 speed using USBBulkLoopAuto example

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Maximum USB 3.0 speed using USBBulkLoopAuto example
Moderator:
RSKV

Post Reply
Follow this topic



Maximum USB 3.0 speed using USBBulkLoopAuto example

Kavya posted on 05 Dec 2012 5:45 AM PST
Senior Member
11 Forum Posts

 Hi,

I am trying to find the maximum speed of transfer over the USB 3.0 to FX3 board using the USBBulkLoopAuto example.

I changed the max. no. of packets to 0x08 in the cyfxbulklpdscr.c file in the bulkloopauto example and used a USB traffic analyser called USBlyzer. And if what I understood is correct it gave me a speed of 40MBps.

I am using atmels AT24C1024B I2C EEPROM. However when I try to increase the data I send to more 8-9KB I am getting the error code: 997. Also when  try to change the size of each packet to 2048 bytes the device manager gives an error message saying "this device cannot start (code 10). What isthe problem here? Is there a better way to findthe max speed of transfer usingthe bulk loopauto exampel specifically? or using the FX3 board as such?

Thanks & Regards,

Kavya




Re: Maximum USB 3.0 speed using USBBulkLoopAuto example

Lumpi6 posted on 05 Dec 2012 08:14 AM PST
Top Contributor
183 Forum Posts

Hi,

the usb packet size should be 1024 for SS, 512 for HS and others 64 bytes in bulk transfers. You may increase if you use bursts 16 (is max). Have you a specifically reason to try it with the bulk loop auto example? I am not sure if these example is optimezed to check traffic throughput. You may check it with the streamer app and the UsbBulkSourceSink example.

regards,

lumpi



Re: Maximum USB 3.0 speed using USBBulkLoopAuto example

RSKV posted on 06 Dec 2012 01:08 AM PST
Cypress Employee
655 Forum Posts

Hi Kavya,

Yes. As Lumpi already told you, use UsbBulkSourceSink and streamer application to measure the throughput of Bulk transfers. And go for UsbIsoSourceSink example if you want to measure throughtput of ISO transfers.

We have seen more than 400MBps with bulk transfers.

Thanks,

sai krishna.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS 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 CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.