Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Streamer Example

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



Streamer Example
Moderator:
RSKV

Post Reply
Follow this topic



Streamer Example

clh23047 posted on 20 Jun 2012 5:53 AM PST
Top Contributor
65 Forum Posts

Hi, everyone.

I am testing the ‘USBBulkSourceSink’ with the ‘Steamer’ application. In the firmware, I set CY_FX_EP_BURST_LENGTH to 15 and Max no. of packets in a burst to (CY_FX_EP_BURST_LENGTH - 6). Then, when the Endpoint is chose as ‘ALT-0, 15360 Byte Bulk in endpoint (0x81)’, ‘Packets per Xfer’ to 128, ‘Xfers to Queue’ to 128, I get the maximum throughput 287900KB/s.
 
Could anyone explain me what are the exact meanings of ‘Packets per Xfer’ and ‘Xfers to Queue’? Why only the Bulk out endpoint size (ALT-0, 9216 Byte Bulk in endpoint (0x01)) is dependent on the (CY_FX_EP_BURST_LENGTH - x) setting?
Best,
Lehua Chen



Re: Streamer Example

RSKV posted on 20 Jun 2012 06:41 AM PST
Cypress Employee
655 Forum Posts

Packets per Xfer - This is self explanatory, it sets the number of packets that you want to send or read per each transfer using the streamer application.

Xfers to Queue -  This one sets the number of transfers that you want to keep in the pipe line using streamer application. When these two parameters are set to high number then you can see better throughput numbers.

CY_FX_EP_BURST_LENGTH is basically deciding the burst size of that BULK endpoint. This is the feature that is there with Superspeed BULK endpoints. Refer to section 4.4.6.1 to get more details regarding this.

 

 



Re: Streamer Example

clh23047 posted on 21 Jun 2012 12:04 AM PST
Top Contributor
65 Forum Posts

RSKV, thank you for your detailed reply.






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.