Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Data Rate with CY7C68013A controller

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



Data Rate with CY7C68013A controller
Moderator:
RSKV

Post Reply
Follow this topic



Data Rate with CY7C68013A controller

usama posted on 14 Oct 2010 2:25 AM PST

1 Forum Post

hi

this is my first time with the USB controller.i am implementing a design in which i have to read data from the FIFO placed in the FPGA and send data to the PC through USB controller

 

 i need to know a few things regarding the data rate that is achiveable on the USB interface. acc to datasheet there are two data rates achiveable

1. Full Speed 12Mbps

2. High speed  48Mbps

i want to know are these data rates are actually achived? if not what throughput is that i get on the interface between the USB controller and the PC? 

can anyone help me on this??

Regards 

Usama Aslam 




Re: Data Rate with CY7C68013A controller

Shub posted on 11 Jan 2011 03:05 AM PST
Cypress Employee
27 Forum Posts

Hi usama,

Actually the rates you are reffering to are signalling rates not data rates.

1. 12Mbps for full speed

2. 480Mbps for high speed

 

With Fx2lp you can reach upto 35-40MBps, we have a streamer application with which you can check the throughput of the device.

 

-Shub



Re: Data Rate with CY7C68013A controller

fornever posted on 27 May 2011 12:59 AM PST
Member
9 Forum Posts

I have reached the Bulk transfer rate of 40MBps using the Cy68013A

I use  Bulk mode, and configure the endpoints as

EP2OUT: 4x512B

EP6IN: 4x 512B

and use the Cyusb.sys & Cyapi.lib &Cyapi.h  in my project

I have set the xfersize to  52K and even larger like 100K.

Is it possible to reach higher  transfer rate? like 50MBps?

What is the maxium throughput under Bulk mode? 

If it is impossible to reach higher  transfer rate, what is the limition?

Is it the driver cyusb.sys limit the speed ?



Re: Data Rate with CY7C68013A controller

aasi posted on 27 May 2011 01:28 AM PST
Cypress Employee
1090 Forum Posts

The theoretical max possible (useful throughput i.e. after removing overhead) is 53MBps. One main bottleneck is the host controller, haven't seen a host controller which sends all 13 bulk packets possible in a microframe. Other than that you have the OS overhead as well. CyUSB.sys talks to the host controller driver and does not control the number of packets in a microframe etc. So I don't suppose CyUSB.sys is the bottleneck.

Regards,

Anand



Re: Data Rate with CY7C68013A controller

fornever posted on 27 May 2011 02:03 AM PST
Member
9 Forum Posts

Thanks to assi!

Is there any tools i can use to check the number of bulk packets in a microframe?

So now 10 Bulk packets sent and I get the speed of 40MBps?

Do you think it possible that the data lenth transfered everytime is 128 byte long while i set the endpoint as 4 x 512B and PacketSize = 512 ? This would limit the speed though it seems rediculous.

My OS is XP SP3, will it influence the speed?



Re: Data Rate with CY7C68013A controller

aasi posted on 27 May 2011 02:43 AM PST
Cypress Employee
1090 Forum Posts

If you configure for 512 byte and trigger transfers it won't split it to 128 byte packets.

CATC is the only way to check the number of packets sent in a microframe. I haven't seen any host controller datasheet specifically discuss this.

Regards,

Anand



Re: Data Rate with CY7C68013A controller

fornever posted on 27 May 2011 06:02 AM PST
Member
9 Forum Posts

Thanks very much!

It seems that I have not any other way to get higher transfer rate.

Thanks again for offering help :)






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.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20