This is an old revision of the document!


DMA

Direct memory access (DMA) is the mechanism for fast data transfer between peripherals and memory. In some implementations, it is also possible to transfer data between two peripherals or from memory to memory. DMA operates without Peripheral device reads/writes directly from/to memory. No program execution is needed to transfer data. Faster data transfer. Buses are controlled with DMA controller. No processor RD or WR cycles.

Illustration of interrupt handling with stack use
Figure 1: Illustration of interrupt handling with stack use

Single One transfer at the time Block (burst) Block of data at the time On-demand As long as I/O device accepts transfer Cycle stealing One cycle DMA, one CPU Transparent DMA works when CPU is executing instructions

Memory-to-memory Memory-to-peripheral Peripheral-to-memory Peripheral-to-peripheral

en/multiasm/cs/chapter_3_13.1736369431.txt.gz · Last modified: 2025/01/08 20:50 by ktokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0