Microprocessors Module 4 Important Topics
Microprocessors Module 4 Important Topics
8257 architecture
Direct Memory Access
The DMA mode of data transfer is the fastest among all modes of data transfer
In this mode, Device may transfer data directly to/from memory without any interference
from CPU
DMA data transfer is initiated only after receiving HLDA (Hold Acknowledge) signal from
CPU
Each DMA channel has one DMA address register. The function of this register is to store
the address of the starting memory location, which will be accessed by the DMA channel.
When a device wants to transfer data over a DMA channel
It will access the block of the memory with the starting address stored in the DMA
Address Register.
Each of the 4 DMA channels of 8257 has one terminal count register
After each DMA cycle, the terminal count register content will be decremented by one
It becomes zero after required number of DMA cycles are over
Status Register
The lower order 4-bits of this register contain the terminal count status for the four
individual channels.
If any of these bits is set, it indicates that the specific channel has reached the terminal
count condition
Functional Description
Modes of operation