Data Transfer
Data Transfer
Data Transfer
Unit -5 24/4/2020
1
Data Transfer
As discussed earlier, we can broadly classify data transfer schemes into parallel data
transfer techniques and serial data transfer techniques. Let us understand the
differences between them.
SERIAL DATA TRANSFER TECHNIQUES PARALLEL DATA TRANSFER TECHNIQUES
Under this scheme, the data is transferred one bit at a Under this scheme, the data is transferred several bits
time. the same time.
It is a slower mode of data transfer. Data is transferred much quicker.
Serial data transfer is preferred when data is to be sent
Parallel data transfer is the preferred technique for sho
over a long distance and the cost of cables would be too
distance communication.
expensive.
For this mode, the transmitter first performs parallel – to
No such conversions are required at both the
– serial conversion and the serial – to – parallel
transmission and reception endpoints.
conversion at the receiver.
This mode requires a single line to transfer information. This mode requires multiple lines for data transfer.
As multiple bits are transmitted at the same time, there
Noise and errors are much lesser.
scope for more error and noise.
Cables used for serial communication are much thinner, Here, the cables are much shorter, and thicker compar
longer, and very economical. to the Serial communication cables.
This is a very reliable, inexpensive, and straightforward It is considered a little unreliable, expensive, and
2
process. complicated process.
Using the IN andand OUT instructions, data transfer is carried out between the
microprocessor and I/O devices.
The processor reads the data from an input port or input device using the IN
command. The processor sends data out from the CPU to the output port or the
output device using the OUT instruction.
Thus, as the speeds of the processor and external device match, the data
transferring process is carried out using the IN and OUT instructions.
3
This method is used when the speed of the microprocessor, Intel 8085, in this
case, and the external peripheral device match with each other.
If the device is ready to send data, it can indicate via the READY pin of
8085. Once the speeds match, the data transfer immediately begins, once a
signal is issued by the microprocessor to begin transferring. The
microprocessor need not wait for an extended period because of the matching
speeds.
This technique of data transfer is seldom used to communicate with I/O devices
though. Because I/O devices compatible with the microprocessor’s speed are
usually not found.
Hence, this method of data transfer is most commonly employed for
communicating with compatible memory devices.