AnsweredAssumed Answered

FIFO problem with axi 9122 DMA cyclic transfer mode

Question asked by keklaquoi on Apr 5, 2016
Latest reply on Apr 7, 2016 by keklaquoi

Hello !

 

I've got some issues with the DMA of my application. The goal is to transfer images, videos and cam contents from a transmitter (TX) to a receiver (RX). In order to do that, I am using the axi 9122 DMA in cyclic mode.

 

A the beggining, I was only transmitting images, so I was using the DMA in non-cyclic mode. IT worked perfectly, but as we now want streaming transmission, we had to activate the cyclic mode (in order to be able to do ping pong transmission).

 

My problem is that the DMA seems to have a FIFO, and as we initialize the DMA, some gargabe data are strored in it.

 

I would like to know if there is a way to flush that FIFO, at the beggining of every data transmission. (I only initialize my DMA one time, and then I alternatively send a configuration to prepare the transmitter, then a picture, video, or cams content, and I repeat that opeartion indefinitvely).

 

I hope you can help me on my problem

 

Thank you

 

Clément

Outcomes