Zynq study notes - AXI DMA (Simple) introduction and examples

Personal homepage update, CSDN is not convenient for typesetting, see https://lgyserver.top/index.php/2022/03/21/zynq%e5%ad%a6%e4%b9%a0%e7%ac for specific content and code
%94%e8%ae%b0-axi-dma%e7%ae%80%e4%bb%8b%e5%92%8c%e7%a4%ba%e4%be%8b/

DMA (Direct Memory Access) technology allows certain hardware subsystems to directly read and write memory, freeing the CPU from data handling. DMA is usually used to move a large amount of data. The specific process is:

First, the CPU sets the transfer instruction (source address, destination address, size, burst length) to the DMA controller. The
DMA controls the data transfer, and the CPU turns to do other work.
After the DMA transfers the data, it sends an interrupt to the CPU.
The CPU performs interrupt processing. End DMA transfer
DMA (Direct Memory Access, direct memory access) technology allows some hardware subsystems to directly read and write memory, freeing the CPU from data handling. DMA is usually used to move a large amount of data. The specific process is:

First, the CPU sets the transfer instruction (source address, destination address, size, burst length) to the DMA controller. The
DMA controls the data transfer, and the CPU turns to do other work.
After the DMA transfers the data, it sends an interrupt to the CPU.
The CPU performs interrupt processing. End DMA transfer
Zynq AXI-DMA is the implementation of DMA on the PL side. DMA In fact, there is also a DMA controller on the PS side. The specific information can be found in the Technical Reference of the chip. Roughly as follows:
(see personal blog for details)

Guess you like

Origin blog.csdn.net/weixin_43192572/article/details/123752668