Professional Documents
Culture Documents
On
Data Transfer Techniques
Presented By:
Name :- Ranjit Kumar
Reg No. :- 0305203010
Sem : - 2nd
Master of Computer Application
FORMATS OF DATA TRANSFER
Synchronous Data Transfer: -
Synchronous means “at the same time”.
In this format of data transfer transmitter and receiver device are
synchronized with the same clock pulse.
This type of data transfer format is used in between the devices that
match in speed. This method is invariably used in between memory
and microprocessor as they are compatible.
Asynchronous Data Transfer: -
Check
status
Next
done
instruction
TYPES OF PROGRAMMED DATA TRANSFER
UNCONDITIONAL
POLLING
DATA TRANSFER USING READY SIGNAL
DATA TRANSFER WITH HANDSHAKE SIGNAL
interrupt
Check
status
READY
NO Next
done
instruction
DRAWBACKS OF PROGRAMMED AND
INTERRUPT DRIVEN DATA TRANSFER
The transfer of data between the mass storage device and a system
memory is often limited by the speed of microprocessor. Removing
the the microprocessor during such a transfer and letting the
peripheral manage the transfer to or from memory would improve
the speed of transfer and hence will make the system more efficient.
This transfer technique is called DMA Data Transfer.
During DMA transfer processor is idle, so it
has no longer control on the system buses. A DMA Controller takes
over the buses and manage the transfer directly between the
peripheral and the memory. It is fastest scheme then Programmed
Data Transfer Scheme and the CPU regains the control of buses
after data transfer.
Interrupt
RAM
BG
C.P.U
BR
RD WR ADD DATA
RD WR ADD DATA
READ CONTROL
DATA BUS
ADDRESS BUS
ADDR
RD WR ADD DATA
DMA
DS ACK IO
RS DMA CONT PERIPHERAL
BR DEVICE
BG DMA
INTERRUPT
DMA TRANSFER OPERATION
THE c.p.u communicates with the DMA through the address and data buses as with
any interface unit.
The DMA has its own address which activates the DS and RS lines
The c.p.u initializes the DMA through data lines
Once the DMA receives the start control command it can start the transfer
between the peripheral devices and memory.
When the peripheral device sends a DMA request the DMA controller activates the BR line,
informing the c.p.u to relinquish the busses.
The c.p.u responds with its BG lines informing the DMA that its busses are disabled.
The DMA then puts the current value of its address register into the address bus, initiates
the WR or RD signal and then sends the DMA ACK to the peripheral device.
RD and WR lines are bi-directional.
When the peripheral device receives a DMA ACK it puts a word in the data bus or receives a
word from the data bus (for REAWhen BG=0 the RD and WR are input lines,and acts in
master mode and when BG=1 it acts as an output line from the DMA controller to the RAM.
D). Thus the DMA controls the read and write operation and supplies the address for the
memory.
TYPES OF D.M.A DATA TRANSFER