Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > WinUSB Low Bandwidth

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



WinUSB Low Bandwidth
Moderator:
RSKV

Post Reply
Follow this topic



WinUSB Low Bandwidth

aulucan posted on 15 Jun 2012 2:19 AM PST
Senior Member
19 Forum Posts

Hello,

 

We are using sync. slave fifo (2 bit addr, 32bit width, dma buffer size 16kB, dma buffer count 4, endpoint burst length 1) design with FX3 (ES chip).

 

Cypress driver's bandwidth is approximately 300MB/s (IN endpoint), 250MB/s (OUT endpoint). But WinUSB driver's bandwidth is only ~120MB/s in either direction.

 

How can be increased the WinUSB bandwidth?


Regards,
Ali




Re: WinUSB Low Bandwidth

aasi posted on 15 Jun 2012 04:14 AM PST
Cypress Employee
1073 Forum Posts

 We've not played with WinUSB that much. Was browsing through WinUSB collaterals, have you looked at http://msdn.microsoft.com/en-us/library/windows/hardware/ff728833(v=vs.85).aspx. Seems RAW_IO policy should help a bit. Have you given that a try?

Regards,

Anand



Re: WinUSB Low Bandwidth

Chris R. posted on 15 Jun 2012 05:46 AM PST
Top Contributor
135 Forum Posts

You have to increase the packages per burst setting in the SuperSpeed endpoint. With only one packet per burst you cannot reach this speed. I dont believe that you could reach 300MB/s with this settings even in CyUSB driver.

I tested our DVK with WinUSB and the board delivered the same speed as CyUSB with the burst settings of 8 or 16.



Re: WinUSB Low Bandwidth

aulucan posted on 18 Jun 2012 04:39 AM PST
Senior Member
19 Forum Posts

Hello,


Anand,
The RAW_IO policy has some restrictions, for this reason we didn't try that. But thanks for your advice.


Chris,
I'm sorry, my mistake; we reached 300MB/s with Cypress driver and 16 burst length. We were not sure about burst length effect, it is understood that we need to change burst length's value, different from one to reach high bandwidth. Thanks for your help.


When we increase the burst length, WinUSB driver's bandwidth decrease in Windows 7 64bit, Intel USB3.0 host (Ivy bridge) system. We are working about that problem, I will inform you when we get useful information.


Regards,
Ali



Re: WinUSB Low Bandwidth

SandyB posted on 20 Jun 2012 02:10 AM PST
Senior Member
16 Forum Posts

It seems fine here. I'm using WinUSB on Win7 x64 SP1.

Bandwidth seems to vary a bit depending on host controller. I'm running 8x burst.

Fastest bulk xfers I have seen is 347MB/s read (from FX3 to Host), 288MB/s write (from Host to FX3).

That is with a uPD720201 host controller. The 720200 is a bit slower (301 MB/s & 190 MB/s).

I've measured throughput with various controllers and hubs. Haven't tried an IvyBridge yet though.



Re: WinUSB Low Bandwidth

Jake73 posted on 20 Jun 2012 09:22 AM PST
Top Contributor
35 Forum Posts

Also using Win7/64.  Seeing 315+MB/s in each direction (not simultaneously) on WinUSB.  This is with an IvyBridge that has two VIA VL800 hubs hanging off the port.



Re: WinUSB Low Bandwidth

aulucan posted on 21 Jun 2012 02:32 AM PST
Senior Member
19 Forum Posts

Hello,

The firmware that we used with Cypress driver has auto dma channels. But other firmware's (used with WinUSB) dma channels was manual. We changed dma channels to auto and we achieved reasonable bandwidth with 8 or 16 burstlen:

 

Out endpoint bandwidth ~347MB/s,

In endpoint bandwidth ~357MB/s.


Regards,
Ali






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.