FX2 Cypress FIFO transfer....no transfer... | Cypress Semiconductor
FX2 Cypress FIFO transfer....no transfer...
Hi all !!
I've been having trouble programming my controller for FIFO transfers..although i have successfully programed it for single transactions,FIFO doesn't seem to work for me.I started with the example AN66806 cypress gives.My interest is only for FIFO read.I read 128 bytes at the time from an FPGA and spit it out to the PC.
Keeping the signals from the FPGA [REN=0 OE=0 RDY0=0] and trying to sent a 1 byte ( AA / 10101010 ) what i get is
03 05 AA 05 AA 05 AA 05 AA 05 AA..... and so it goes on after giving 40 bytes it starts with 03 again and the same bytes appear.
If you google AN66806 you can have a look at the program,if you do, a have another question.At line 162 of the firmware GPIFTCB1 and GPIFTCB0 setup the transaction count.I change the value of these registers and nothing...the same value of bytes get transered (01F0)
The transaction count is setup by TCXpire which i assume has something to do with registers GPIFTCB1 and GPIFTCB0 since i can't see anyware in the firmware program TCXpire.
Thank you everyone,any help will be very usefull