Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Some register questions about cy7c68013A speed

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



Some register questions about cy7c68013A speed
Moderator:
RSKV

Post Reply
Follow this topic



Some register questions about cy7c68013A speed

lufenghit posted on 18 May 2009 4:51 PM PST
Member
2 Forum Posts
I ultize cy7c68013a chip to fullfil a bulk transfer.I have configured EP2 as OUT endpoint,bulk,quad buffer(4*);ep6 as IN endpoint,bulk,quad buffer(4*),but now I have confronted a data losing problem.I want to know what registers are related to the transfer speed(or packetsize).

Otherwise,I have read some references and was confused by following packet-related concepts:maxPacketSize,EPxBCL/H,AUTO2/4/6/8INLENGTHL/H.

Thank you for your reply!


Re: Some register questions about cy7c68013A speed

aasi posted on 18 May 2009 07:24 PM PST
Cypress Employee
1090 Forum Posts
What is the speed you are obtaining? What is the dataloss problem you are talking about, can you please explain?
For bulk using quad buffered 1024 packet size should give you maximum speed. Here what you have to know is that the device is not the bottleneck when it comes to speed. It is the OS.

Re: Some register questions about cy7c68013A speed

andrewsobotka posted on 20 May 2009 03:01 PM PST
Top Contributor
40 Forum Posts
Max Packet Size is a descriptor value that is used by the USB Host Controller to understand how it should packetize large amounts of data. The value only matters to the computer-side of the FX2, at the other end of the USB cord. The FX2 itself doesn't really care too much about the value in the descriptor.

EPxBCL/H are registers that are used by 8051 firmware to either interrogate how much data arrived from the host, or to indicate to the host how much data has been provided in the endpoint buffer. These registers are used when you're internally reading or writing to the endpoint buffers.

Auto in length registers allow the FX2 to automatically packetize large amounts of data from the device-side of the FX2. It only matters if you have an external device writing bytes into the FX2's Slave FIFOs or GPIF.

I highly recommend finding the FX2LP's Technical Reference Manual and reading chapters 8 (Access to Endpoint Buffers) and 9 (Slave FIFOs) - they will explain what all of those registers are for.

Re: Some register questions about cy7c68013A speed

lufenghit posted on 20 May 2009 06:01 PM PST
Member
2 Forum Posts
Thank you for your reply,I will describe the details in two days.By then I hope you could give me some suggestions.




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