- 2074 Bhadra · 3 marks
Single and double handshaking
Short answer
Single handshaking uses one control line, usually a strobe or DAV, to indicate data valid; the receiver reads but no acknowledge is sent. Double handshaking uses DAV and ACK: sender asserts DAV, receiver accepts and asserts ACK, then both deassert in sequence, ensuring reliable transfer between different speeds.
Explain single handshaking and double handshaking technique used in parallel interfacing with a microprocessor.
Handshaking is the exchange of control signals between a sender and a receiver to make sure that data is transferred only when the receiver is ready and has accepted it. It is used where the two devices have different speeds.
Single handshaking
One control line is used. The sender puts data on the data lines and activates a strobe/DAV (data valid) signal. The receiver reads the data when it sees the strobe. The sender does not know whether the data was really accepted, so this is used when the receiver is fast.
Double (full) handshaking
Two control lines are used, DAV/STB from the sender and ACK from the receiver:
- Sender places data and activates DAV.
- Receiver sees DAV, reads data and activates ACK.
- Sender sees ACK, removes DAV (and may change data).
- Receiver sees DAV removed and removes ACK.
- The cycle is ready for the next byte.
DATA ====<valid>=====
DAV ___|‾‾‾‾‾‾‾|______
ACK _______|‾‾‾‾‾‾|___
Double handshaking is reliable for any speed. The 8255 uses it in mode 1 (STB/IBF, OBF/ACK) and mode 2.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- RS-232 signals, handshaking, DTE-DCE · Microprocessor, chapter 4 · asked 3×
- 74LS138 interfacing of ROM, RAM, EPROM · Microprocessor, chapter 4
- Interfacing 2732 EPROM and 6116 RAM · Microprocessor, chapter 4
- Memory capacity from range and interfacing · Microprocessor, chapter 4
- Six stage pipeline technique · Microprocessor, chapter 6
- Short note: serial and parallel interface · Microprocessor, chapter 4
- Single, double, multiple timber roofs; king post truss · Building Technology, chapter 4 · asked 2×
- Single vs double earth wire selection · Transmission and Distribution System Design, chapter 3
- T/F: double earth wire for 400 kV single circuit · Transmission and Distribution System Design, chapter 3
- T/F: tower height same for single/double circuit · Transmission and Distribution System Design, chapter 4