Sorry, you need to enable JavaScript to visit this website.

DMA in SG multichannel on Ultrascale

Unsolved
1 post / 0 new
louisV's picture
louisV
Junior(0)
DMA in SG multichannel on Ultrascale

Hi,
I’m working actually on Ultrazed board (from Avnet IO Carrier Card) with a XCZU3EG engineering sample. I’m trying to get the Xilinx example “xaxidma_multichan_sg_int.c” to work but I have a problem. This code can be found there C:\Xilinx\SDK\2017.2\data\embeddedsw\XilinxProcessorIPLib\drivers\axidma_v9_3\examples.
First, I’m using Vivado 2017.2 on Window10. Below, you can see my design with a loop back architecture (or not if it's not working), as the example requires.
The program should transmit 2 packets from the DMA to the 2 FIFOs (Each packet is sent into a different channel). Then, read it back and compare if the data are the same.
So, the example doesn’t work. Either the program get stuck in an infinite loop or it’s fail with this message:  "Failed test transmit not done, receive not done"
It's seems there are some problem with interrupt. For test my design, I try the exact same architecture with the same code on a Zedboard (Zynq-7000). The program work and “Successfully ran AXI DMA SG interrupt example”.
So, I’m wonder :

  1. If my design is good with the Ultrascale?
  2. Maybe there something to do more with it at the interruption level
  3. I don’t always have the same comportment when I run the code and that’s strange. I’m working on an engineering sample, that’s why?
  4. Does anybody already used the AXI DMA in multichannel mode on Ultrascale and encounter those problems?
  5. Do I have made a silly error somewhere else?

I continue my search for now. Thank you for your time,
Louis.
​PS: I post the same thing on xilinx forum (with a litlle more details) there :
https://forums.xilinx.com/t5/Embedded-Development-Tools/DMA-in-SG-multichannel-on-Ultrascale/td-p/793660