Closed GOOD-Stuff closed 5 years ago
The problem was in my PL design. I use in project axis clock converter which was incorrect set and have connected ILA between AXI DMA and custom module (may be to incorrect clock). After changed clock (to 150 MHz for DMA) and synchronization stages (to 8, in axi4-stream clock converter) and removed ILA, all started work.
Sometimes, when try to use two way transfer I get timeout error (in receive part). Also, I see that data correctly send out from DMA, but in some causes incorrect received (if set false on wait). the ILA shows that sometimes for some reason there is no interruption for s2mm, and this (may be) is the cause of this error. Here code example of my using DMA API.
Here PDF version of block design. I use kernel of linux version by 4.14, VIvado 2018.2, Zynq-7010 with custom board. Device tree: