Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > problem in slave fifo's bulk atuo in transfer

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



problem in slave fifo's bulk atuo in transfer
Moderator:
RSKV

Post Reply
Follow this topic



problem in slave fifo's bulk atuo in transfer

才哥 posted on 17 Jun 2011 5:32 AM PST
Top Contributor
40 Forum Posts
see the text file


Re: problem in slave fifo's bulk atuo in transfer

aasi posted on 17 Jun 2011 09:33 AM PST
Cypress Employee
1090 Forum Posts

If both EF and FF of EP2 is active high then it means you've not configured the endpoint in a valid configuration or you've not ARMed it properly. Are you in a valid endpoint configuration? Please let me know the FIFO depth and buffering you are using for each endpoint.

Regards,

Anand



Re: problem in slave fifo's bulk atuo in transfer

aasi posted on 17 Jun 2011 09:51 AM PST
Cypress Employee
1090 Forum Posts

A humble request,

Please respond in the forum rather than attaching text documents. It would help others as well to read, understand and solve issues.

Regards,

Anand



Re: problem in slave fifo's bulk atuo in transfer

才哥 posted on 17 Jun 2011 06:27 PM PST
Top Contributor
40 Forum Posts
the endpoint2468 are 512 bytes and double buffering, bulk endpoint.the detail of configuration is in the TD_Init() in the text file.thanks,Anand.

Re: problem in slave fifo's bulk atuo in transfer

才哥 posted on 17 Jun 2011 06:30 PM PST
Top Contributor
40 Forum Posts
the endpoints are all in buffer,the endpoint 2 is auto in mode,others are manual mode,how to ARM them? thanks.

Re: problem in slave fifo's bulk atuo in transfer

才哥 posted on 17 Jun 2011 08:23 PM PST
Top Contributor
40 Forum Posts
I try to configure EP2 as 1024 depth and four buffers.then I modify the endpoint descriptor and interface descriptor to be only one endpoint,and delete the endpoint descriptors of endpoint468.But the EF and FF of EP2 are still active high. So the problem is not in the endpoint configuration.it would be in other place,but I don't know where is it.

Re: problem in slave fifo's bulk atuo in transfer

aasi posted on 18 Jun 2011 10:20 PM PST
Cypress Employee
1090 Forum Posts

Getting the EF high and FF low would confirm proper configuration of the endpoint buffer. One thing I notice is that you're configuring the FIFO configurations and doing FIFORESET before you've even configured the endpoints. Please try moving them to after the EPxCFG statements.

Regards,

Anand



Re: problem in slave fifo's bulk atuo in transfer

才哥 posted on 18 Jun 2011 12:25 AM PST
Top Contributor
40 Forum Posts
I remove the FIFORESET after EP2CFG(1024,4 buffer).But whatever I did FIFORESET=0x02 four time or one time,unfortunately the EF and FF keep active high.sorry,this problem is still in.

Re: problem in slave fifo's bulk atuo in transfer

才哥 posted on 18 Jun 2011 12:42 AM PST
Top Contributor
40 Forum Posts
another test result:whatever I change the FIFOADDR1:0,change the FIFOPINPOLAR to be active low.the EF and FF keep high all the time

Re: problem in slave fifo's bulk atuo in transfer

才哥 posted on 18 Jun 2011 01:23 AM PST
Top Contributor
40 Forum Posts
Can you give me a effective complete configuration example of slave fifo,by which I can find where is the problem in contrast.

Re: problem in slave fifo's bulk atuo in transfer

才哥 posted on 19 Jun 2011 10:24 PM PST
Top Contributor
40 Forum Posts
The IFCLK also must be provided even 68013's slave fifo work at asynchronous mode, but you can select external or internal,when you select external a clock source must be connected to IFCLK pin.Is this right? If so I know why I failed. Because I select external IFCLK, but I don't provide a clock source.

Re: problem in slave fifo's bulk atuo in transfer

aasi posted on 20 Jun 2011 01:49 AM PST
Cypress Employee
1090 Forum Posts

Here you go






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