You are here

GPIF Latency !!!! | Cypress Semiconductor

GPIF Latency !!!!

Summary: 3 Replies, Latest post by RSKV on 22 Sep 2012 02:37 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
ChristopheSeyler's picture
2 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 ?


Quicky's picture
1 post

 Nobody use GPIF ??

occupy's picture
58 posts

have  no opportunity to  use GPIF

rskv's picture
Cypress Employee
1134 posts

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


sai krishna,

Log in to post new comments.