DMA Controller and Its Operations - Narendra Kumar
DMA Controller and Its Operations - Narendra Kumar
DMA Operation: Direct Memory Access involves transfer of data between I/O
devices and memory by an external circuitry system called DMA controller
without involving the microprocessor. However, microprocessor itself initiates the
DMA control process by providing starting address, size of data block and
direction of data flow. DMA contains a control unit to deals with the control
functions during DMA operations such as read, write and interrupt. The address
register of DMA controller is used to generate address and select I/O device to
transfer the data block. The Count register counts and hold no. of data block
transferred. It also specifies direction of data transfer.
a) For DMA operation to occur, the DMA controller first make a bus request
(BR) by sending a control signal HOLD to the control line.
d) On completion of data transfer, the DMA controller sends a low signal to the
HOLD pin and hence microprocessor makes the HLDA pin low and takes the
control over system bus.
A. Burst Mode: Here DMA controller switch over the control to the
microprocessor only on completion of entire data transfer, irrespective of
microprocessor requiring the bus. Microprocessor has to be idle during the
data transfer.
Transparent Mode: In this mode, DMA controller can transfer data blocks only when
microprocessor are executing such instruction that does not requires system bus utilization.