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 0
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 post
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now