02-21-2015 11:31 PM
Hi ,
I have a DMA Fifo on the host side that read the elements from the target DMA.
In my host side I contiously call a function at a specific rate and each time I call it I collect I collect 48 elements.
So for example the rate that I call this function is 1kHz and I have to call this function 96000 times ( 2s of data ) and in each call I collect 48 elements.
I used FIFO Read in a loop to make sure the FIFO doesn't overflow. As can be seen below I first set the FIFO depth then I read the elements in a whiel loop but how can I set these numbers. Using these number the final number of elemets in the FIFO is zero but how about if I want to call this function in the FPGA at rate of 10kHz and I may call it 5000000 times . Then how should I set the FIFO
Thanks
02-22-2015 02:27 PM