Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > USB2/USB3 Traffic to do a Read / Write

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



USB2/USB3 Traffic to do a Read / Write
Moderator:
RSKV

Post Reply
Follow this topic



USB2/USB3 Traffic to do a Read / Write

Ken4242 posted on 28 Jul 2011 3:07 PM PST
Top Contributor
21 Forum Posts

I am looking at converting my USB2 solution to this chip for my next design.  I have a general question.  With this new solution, if I want to a Async/Sync Write what types of USB traffic is required?  Today I do a Control transaction to setup the addresses and then a bulk transaction to do the data transaction.

 

Could someone describe, using the current FW and PC Software driver supplied by Cypress, what USB packets are required to do the following.

1) A simple 32 Bit Write

2) A Simple 32 Bit Read

3) A 64K Byte Write

4)A 64K Byte Read

What type of USB Transaction Control, Interrupt or Bulk and what are the contents of the packets?

 

Ken




Re: USB2/USB3 Traffic to do a Read / Write

aasi posted on 29 Jul 2011 02:56 AM PST
Cypress Employee
1073 Forum Posts

The type of endpoint to be used depends on one's end requirement. Is guaranteed bandwidth a must for your design?

Regards,

Anand



Re: USB2/USB3 Traffic to do a Read / Write

Ken4242 posted on 29 Jul 2011 08:51 AM PST
Top Contributor
21 Forum Posts

In my current model with the previous FX, I have the GPIF bus connected to a memory port where I can do single word accesses or  large 51k or larger block addresses.  I currently send out the address/data on a control transactioin which sets up the GPIF address DMA and the GPIF  bus and I do a series of bulk transaction for the data.

When i look at the data sheet for the USB 3 device, Async transaction, the bus will send out an address and then data on the following strobes.  How does the current FW setup the address portion of the transaction.  For now lets assume that I am doing a large 512K USB Out transaction with multiple out packets.

 

.



Re: USB2/USB3 Traffic to do a Read / Write

Ken4242 posted on 29 Jul 2011 10:36 AM PST
Top Contributor
21 Forum Posts

A better description of what I am after.  In the current FW example SDK which I have not looked at.  If I want to send out a large amount of data to a specific address on the GPIF bus, does the FW expect two USB transactions.  One control sequence to actually initialize the address portion of the GPIF bus and then bulk transaction which would DMA the data to/from the USB/DMA <-->GPIF bus?

 

I am not looking for BW analysis as there are two many variables that can interact with this.  I am looking at specific USB seqeunces for the examples in the SDK.






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.