Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > GPIF Latency !!!!

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



GPIF Latency !!!!
Moderator:
RSKV

Post Reply
Follow this topic



GPIF Latency !!!!

ChristopheSeyler posted on 20 Aug 2012 2:40 AM PST
Member
2 Forum Posts

I'm working on an application to interface a NAND flash through GPIF. I've made several state machines (using GPIF designer) to model all needed cycles (Command phase, address phase, data-in and data-out phase). To create an access, i switch between these states.
All data i need to put on data bus go through a DMA channel (socket). I've created both, one for outgoing data, another for incoming.

Typically, for outgoing data, i just call the GetBuffer, fill the received buffer and Commit it. For incoming data, i call the GetBuffer, process the data and discard the buffer

All wok fine except:
- For incoming, the GetBuffer function returns me sometime a buffer with a count of 0 which i need to discard to avoid to stuck my state machine (waiting for a DMA_RDY_TH1 condition). I use a retry as workaround.
- for outgoing transfer, the commit operation take a lot of time ... 2.5MS to xfer 8192 bytes !!!!. Idem for the incoming data.

Anyone already have this problem of latency through GPIF ?

 




Re: GPIF Latency !!!!

Quicky posted on 21 Aug 2012 05:02 AM PST

1 Forum Post

 Nobody use GPIF ??



Re: GPIF Latency !!!!

occupy posted on 21 Sep 2012 01:39 PM PST
Top Contributor
61 Forum Posts

have  no opportunity to  use GPIF



Re: GPIF Latency !!!!

RSKV posted on 22 Sep 2012 12:37 AM PST
Cypress Employee
655 Forum Posts

commit operation just takes few tens of us. I think something else should be taking that time.

Regards,

sai krishna,






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.