Posts

Showing posts with the label DMA

What is DMA?

Image
DMA is a technique that allows data to be transferred between devices without the intervention of the CPU. In a typical computer system, data is transferred from one device to another via the CPU . The CPU initiates the transfer, reads data from one device, and writes it to another device. This process can be time-consuming and takes up valuable CPU time, which can slow down the system. It eliminates the need for the CPU to be involved in data transfer by allowing data to be transferred directly between devices. These controllers can be built into the devices or added as a separate component to the system. The DMA controller operates independently of the CPU and uses its own memory address and data buses to transfer data between devices. The DMA controller is programmed by the CPU to read data from one device and write it to another. The DMA controller can transfer data in blocks, making the process faster and more efficient. When the CPU needs to transfer data, it initiates the tran...