Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > can bulk be used in a continuous data transfer?

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



can bulk be used in a continuous data transfer?
Moderator:
RSKV

Post Reply
Follow this topic



can bulk be used in a continuous data transfer?

feifei_14119 posted on 31 Aug 2011 5:33 AM PST
Member
2 Forum Posts

 hello 

i'm working on a data acquisition using the FX2LP chip , i have to make sure the data can be transfered at 20MHz per second last for at least 30 seconds , with no interrupt or delay. what transfer mode do i need ? can bulk mode be used in this situation?

thanks!




Re: can bulk be used in a continuous data transfer?

Chris R. posted on 31 Aug 2011 06:39 AM PST
Top Contributor
135 Forum Posts

You should use ISO streaming. BULK transfer is handled by the OS if no other USB transfers are on the way. BULK is fast (40MB/s max) but can be interrupted by the OS. We measured up to 100ms idle with Windows XP....Windows 7 is better, but the problem is the same. If you use BULK, you have to add large hardware buffer for continous streaming. I think ISO streaming is better for you, with ISO you can transfer up to 24MB/s with guaranteed bandwith.



Re: can bulk be used in a continuous data transfer?

feifei_14119 posted on 01 Sep 2011 12:55 AM PST
Member
2 Forum Posts

thanks very much!

if i use bulk mode in this situation ,how large the hardware fifo do i need ? is there a method to caculate the deep of the hardward fifo?

and what is the best configeration of the fx2 slave fifo,512*4 or 1024*2 or others ?




Re: can bulk be used in a continuous data transfer?

aasi posted on 02 Sep 2011 08:10 AM PST
Cypress Employee
1090 Forum Posts

Go with Iso only if your design can work with data loss bcoz iso does not do retry if packet is corrupt. Otherwise use interrupt endpoint, it has the guaranteed bandwidth like isochronous and retry if packet is corrupt.

Regards,

Anand



Re: can bulk be used in a continuous data transfer?

aasi posted on 02 Sep 2011 08:11 AM PST
Cypress Employee
1090 Forum Posts

 In terms of buffering, the more the buffering the better the performance.

Regards,

Anand






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