I try my best,but it did not work,any one who can help me to configure the slavefifo
recieve data from fpga?help me.please...
IM also trying to do the same thing. For slave fifo to work wen need to configure GPIF II interface. There is one pdf AN65974. just go through that. it is tellling about gpif interface. but on fpga side we should do some controller stuffs that is able to monitor flags and also provide the control signals. Which board are you using. i mean SDK ?
I using the SDK1.0 the latest SDK.
Did you use the fifo?
My fpga is always sending data to FX3.
I did not use the flag,I just want to know the fifo is working or not,but there is no data receive from the fifo.
so,please help me...
The important control signals for FPGA to FX3 for slave fifo are:
FIFO ADDR : both low
SLCS = low
PKTEND = high
SLOE = high
PCLK should run at 100 MHz but run at 50MHz as in the past this didn't work properly at 100MHz and maybe still is an issue
SLWR is active low and this will write data to into the FX3 buffers
FLAGS A and B - but can be ignored if flow control not required for test purposes
If these signals are present between the FPGA and the FX3 then the example synchronous slave fifo firmware provided by Cypress should work.
Are you able to get some of the other firmware examples working okay?
thank you very much.
the clk must be 100MHZ?
the pktend must be set high?
PKTEND is normally high - only use when you want to transfer a a short packet across USB.
Maximum frequency of PCLk is 100MHz but can run a lot slower. If slave fifo does not work at 100MHz try slower say 50Mhz.
See this link http://www.cypress.com/?app=forum&id=167&rID=54889 for some details about past issue with PCLK.
thank you .
the fifo is working now,but it is not stable.
Did you have this problem?
Slave fifo works okay for me. You could check the timings of the FPGA control signals.
yes,mine is fine now,thank for your help ..
did you use the CyAPI.lib to write your program?or did you used the CyAPI.lib to get data from fx3 ?
I used the Cypress Control Center application.