Cao Unit 4
Cao Unit 4
1)strobe method
As shown in the timing diagram of Fig. 11-3(b), the source unit first places the data on the
data bus. After a brief delay to ensure that the data settle to a steady value, the source
activates the strobe pulse. The information on the data bus and the strobe signal remain in
the active state for a sufficient time period to allow the destination unit to receive the data.
Often, the destination unit uses the falling edge of the strobe pulse to transfer the contents of
the data bus into one of its internal registers. The source removes the data from the bus a
brief period after it disables its strobe pulse. Actually, the source does not have to change
the information in the data bus. The fact that the strobe signal is disabled indicates that the
data bus does not contain valid data. New valid data will be available only after the strobe is
enabled again.
Figure 11-4 shows a data transfer initiated by the destination unit. In this case the destination
unit activates the strobe pulse, informing the source to provide the data. The source unit
responds by placing the requested binary information on the data bus. The data must be
valid and remain in the bus long enough for the destination unit to accept it. The falling edge
of the strobe pulse can be used again to trigger a destination register. The destination unit.
then disables the strobe. The source removes the data from the bus after a predetermined
time interval.
The disadvantage of the strobe method is that the source unit that initiates the transfer has
no way of knowing whether the destination unit has actually received the data item that was
placed in the bus
2)handshaking method
The basic principle of the two-wire handshaking method of data transfer is as follows. One
control line is in the same direction as the data flow in the bus from the source to the
destination. It is used by the source unit to inform the destination unit whether there are valid
data in the bus. The other control line is in the other direction from the destination to the
source. It is used by the destination unit to inform the source whether it can accept data. The
sequence of control during the transfer depends on the unit that initiates the transfer
The two handshaking lines are data valid, which is generated by the source unit, and data
accepted, generated by the destination unit
The character code is transferred from the source to the destination in serial order
The transmitter detects the beginning and the end of the character code with help of some
additional bits attached to it.
Start bit : 0
End bit : 1
For serial asynchronous data transfer
There are some rules according to which the transmitter detects the serial asynchronous
data transfer:
a) Initially the line is in 1-state at the time when there are no character code on it.
b) As soon as the first bit (0), is detected, the line state changes. The first bit is detected
with the start bit = 0
c) After this the character bits start flowing serially
d) Once we reach the last bit, and end bit=1 => data has ended. Transmitter detects this
and data transfer is stopped.
e) The line state now remains in 1 state for at least one more bit time.
Baud Rate: the rate at which serial information is transmitted and is expressed in bits per
second