You are here

FX3 Slave FIFO StreamIN PKTEND Issue | Cypress Semiconductor

FX3 Slave FIFO StreamIN PKTEND Issue

Summary: 1 Reply, Latest post by Madhu Sudhan on 01 May 2016 03:17 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
zhang tian-chao's picture
5 posts


I use AN65974 streamin example firmware to try pktend signal.

Slave FIFO is 32bit.

DMA buffer size is 16*1024, DMA buffer count is 8.

If I fire ptkend at every 8192 bytes (2048 words), I will got the FLAGA issue as picture.

Every 8 FLAGA we will get a long time FLAGA.


mady's picture
Cypress Employee
964 posts


Everytime you fire a PKTEND, one buffer is wrapped. (Which means you can no longer fill data in that buffers. At the end of 8 PKTEND you will have 8 buffers none of which can accept any more data. (Though the buffer size is 16K, asserting the PKTEND will wrap each buffer, so the new data will always go to next buffer).

After 8 PKTEND, the 8 buffers are wrapped and no more data can enter into FX3's DMA from FPGA. So flag A will wait as long as the data is consiumed by the PC.

If your PC is receiving large amounts of data rapidly (just like how Fx3 C++ or C# streamer application does), then there will not be such long delay.


- Madhu Sudhan

Log in to post new comments.