Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:multiasm:cs:chapter_3_13 [2025/01/08 21:11] ktokarzen:multiasm:cs:chapter_3_13 [2025/01/08 21:16] (current) ktokarz
Line 12: Line 12:
   * peripheral signals the request to transfer data (DREQ).   * peripheral signals the request to transfer data (DREQ).
   * DMA controller forwards the request to the processor (HOLD).   * DMA controller forwards the request to the processor (HOLD).
-  * Processor accepts DMA cycle (HLDA) and switches off from the busses.+  * The processor accepts the DMA cycle (HLDA) and switches off from the busses.
   * DMA controller generates the address on the address bus and sends the acknowledge signal to the peripheral (DACK).   * DMA controller generates the address on the address bus and sends the acknowledge signal to the peripheral (DACK).
   * Peripheral sends the data by the data bus.   * Peripheral sends the data by the data bus.
Line 19: Line 19:
   * If the counter reaches zero data transfer stops.   * If the counter reaches zero data transfer stops.
  
-Everything is done without any action of the processor, no program is fetched and executed. Because everything is done by hardware the transfer can be done in one memory access cycle. Data transfer by processor requires program execution and two data transfers: one from the peripheral and another to the memory. The system with an active DMA controller is presented in Fig.{{ref>DMAactive}}.+Everything is done without any action of the processor, no program is fetched and executed. Because everything is done by hardware the transfer can be done in one memory access cycle so much faster than by the processor. Data transfer by processor is significantly slower because requires at least four instructions of program execution and two data transfers: one from the peripheral and another to the memory for one cycle. The system with an active DMA controller is presented in Fig.{{ref>DMAactive}}.
  
 <figure DMAactive> <figure DMAactive>
en/multiasm/cs/chapter_3_13.1736370714.txt.gz · Last modified: 2025/01/08 21:11 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