Dma 8257

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 11

DMA Controller

• The Direct Memory Access or DMA mode of data transfer is the fastest
amongst all the modes of data transfer.
• In this mode, the device may transfer data directly to/from memory
without any interference from the CPU.
• The device request CPU (Through a DMA Controller) to hold its data,
address and control bus, so that the device may transfer data directly
to/from memory .
• The DMA data transfer is initiated only after receiving HLDA signal from
the CPU.
• For transferring data between several devices, a DMA controller is used.
• Intel’s 8257 is a 4 channel DMA controller.
• The 8257 requests the CPU for bus access using local bus request
input, ie, HOLD in minimum mode.
• In maximum mode of microprocessor, RQ/GT pin is used as bus
request input.
• On receiving the HLDA signal( in minimum mode) or RQ/GT signal (in
maximum mode) from the CPU, the requesting device gets the access
of the bus, and it completes the required number of DMA cycles for
the data transfer and then hands over the control of the bus back to
the CPU.
Internal Architecture of 8257
Mode set Register format
Bit definitions of the Mode Set Register
Status Register of 8257
Data Bus Buffer, Read/Write Logic, Control
Unit and Priority Resolver

You might also like