In the DMA interrupt examples (Xilinx has one that I'm using), the DMA transfer interrupts, and inside the interrupt routine, the processor calls [for example] the "XAxiCdma_SimpleTransfer" function to transfer the data from source (some memory in the PL) to destination (the PS memory).
--> I'm looking for a way that the DMA transfer happens automatically, BEFORE the interrupt is called. That is, when the processor interrupt is triggered, the values have already been transferred from PL to the PS side. This would reduce processor wait time, so that the PS doesn't need to call the "XAxiCdma_SimpleTransfer" inside the interrupt.
I think this is the idea of making the PL side as an "AXI master", but I'm not certain. Is there an example of doing the above?
Question
james_h_66
Hello All,
In the DMA interrupt examples (Xilinx has one that I'm using), the DMA transfer interrupts, and inside the interrupt routine, the processor calls [for example] the "XAxiCdma_SimpleTransfer" function to transfer the data from source (some memory in the PL) to destination (the PS memory).
--> I'm looking for a way that the DMA transfer happens automatically, BEFORE the interrupt is called. That is, when the processor interrupt is triggered, the values have already been transferred from PL to the PS side. This would reduce processor wait time, so that the PS doesn't need to call the "XAxiCdma_SimpleTransfer" inside the interrupt.
I think this is the idea of making the PL side as an "AXI master", but I'm not certain. Is there an example of doing the above?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.