You are here

Reading sequential data from Streaming in | Cypress Semiconductor

Reading sequential data from Streaming in

Summary: 1 Reply, Latest post by RSKV on 06 Sep 2013 03:07 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
kaiyu's picture
49 posts



I'm testing the streaming in firmware on the FX3.

Using a fifo 32 bit interface between Spartan 6 FPGA and FX3,

i'm trying to read a simple counter inside the FPGA from Control Center.

What's troubling me is that, after resetting both FPGA and FX3, when I press "Transfer Data-IN",

the first 32 bit I read is different from 0.

This lead me to think that as soon as I program the FPGA it starts to count and write into FX3 DMA buffer.

How can I read sequentially the counter avoiding data loss?


Thank you!

rskv's picture
Cypress Employee
1134 posts


You can avoid this problem by having a sync mechanism between FX3 and Xilinx FPGA.

You can use a GPIO for this purpose.

You can change the state of that GPIO after FX3 is programmed and ready to do data transfers.

We implemented this in the firmware files that are attached to the following application note:

AN65974 - Designing with the EZ-USB® FX3™ Slave FIFO Interface

We used GPIO 59 in the application note firmware.


Sai Krishna.



Log in to post new comments.