FX3 DMA Watermark flag problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi,

   

I have setup with fx3 connected to the fpga fabric of a xilinx zynq 7000 series chip. I am trying to get bulk streaming in for sending image data from the fpga to the host computer using the fx3.

   

I am able to send data by using the dma ready flag but certain number of bytes go missing at each transfer. I am guessing it is due to the flag latency.

   

So I am trying to use the watermark to stop this from happening. I am following the example given in http://www.cypress.com/?rID=51581 (AN65974 slave fifo sync example).

   

But I am unable to get it working, there is no data received in the host side, I get  the following error in the control center

   

"BULK IN transfer 

   

BULK IN transfer failed with Error Code:997"

   

So no data is being transfered. Can anyone help me out with this? I can share more of my code if necessary.

   

Thanks

   

Sri

4 Replies