SlideShare a Scribd company logo
1 of 11
Asynchronous Data Transfer
1
Communication of devices
2
Synchronous Asynchronous
CPU
I/O
Interface
Devices Share a Common Clock Devices communicate with the
help of control signals.
Two Ways of Asynchronous Transfer
3
1. Strobe Signal
It has only one control signal for initiating the
data transfer
2. Handshaking
It has two control signal for communication
Strobe Control
4
•Single control line for transfer.
•Either the source or the destination can initiate the transfer.
•Let us see the block diagram and the timing diagram.
Source
unit unit
Data bus
Strobe
Block Diagram
Source-Initiated Strobe
for Data Transfer
Destination
Destination-Initiated Strobe
for Data Transfer
Source
unit
Data bus
Strobe
Block Diagram
Destination
Unit
Data
Strobe
Valid data
Timing Diagram
Data
Strobe
Valid data
Timing Diagram
Memory Write control signals from CPU to
Memory.
Memory Read control signals from Memory
to CPU.
Working of Strobe
5
Data Transfer by Source ( Destination)
1. Source places the data on the data bus.
2. Then it activates the strobe pulse.
3. Both data and the strobe remains active for sufficient period of time
so that the destination unit can receive it.
4. Destination uses the falling edge of the strobe pulse to transfer the
data to its register.
5. Then the source removes the data from the data bus.
6. Then it disables the strobe signal.
Data Transfer by Destination
1. Destination activates the strobe pulse informing the source to
provide data.
2. Source responds by placing the data.
3. The data will remain in valid state for sufficient clock pulse.
4. Falling edge may be used to transfer the data.
5. Destination then disable the strobe pulse.
Disadvantage of Strobe
6
• Source does not know whether destination has received the data item that is
placed in the bus.
• Destination that initiates the transfer do not know whether the source has
places the data.
• Handshake solves this problem.
Handshake
Basic Principle – two control signal for data transfer
1. One control line as the same direction of data flow from source to
destination.
It is used to inform the destination whether there is valid data in data bus.
2. Another control signal from the destination to source.
It is used to inform the source whether it had accepted data.
Let us see the block diagram, timing diagram and sequence
diagram.
Source initiated transfer
7
Block Diagram Source
unit unit
Data accepted
Data valid
Data Bus
Data bus
Data valid
Data accepted
Valid data
Timing Diagram
Sequence of Events Place data on bus
Enable data Valid.
Source unit
Destination unit
Accept data from bus
Enable Data Accepted.
Disable data valid
Invalidate data on bus.
Disable data accepted
Ready to accept data
8
* Allows arbitrary delays from one state to the next
* Permits each unit to respond at its own data transfer rate
* The rate of transfer is determined by the slower unit
Handshake
Destination initiated transfer
9
Block Diagram
Timing Diagram
Sequence of Events
Source
Unit Unit
Destination
Data bus
Ready for data
Data valid
Ready for data
Data valid
Data bus Valid data
Place data on bus
and enable data valid.
Ready to accept data.
Disable data valid.
(initial state).
Accept data from bus.
Disable ready for data.
Source unit Destination unit
Advantage of Handshake
10
• Handshaking provides high degree of flexibility and
reliability because the successful completion of the data
transfer relies on the active participation by both the
units.
• If one unit is faulty data transfer will not be completed.
•Time out mechanism helps to detect the faulty system.
•Time out is implemented by the internal clock that
starts counting time when the unit enables one of its
handshaking control signal. If the return handshake
does not respond with in the time it assumes an error
occurred.
Thank you
11
By
Tmty. P. Aruna Devi

More Related Content

What's hot

Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organizationMazin Alwaaly
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 MicroprocessorNahian Ahmed
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output OrganizationKamal Acharya
 
Asynchronous data transfer
Asynchronous  data  transferAsynchronous  data  transfer
Asynchronous data transferNancyBeaulah_R
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Gaditek
 
Introduction to Bus | Address, Data, Control Bus
Introduction to Bus | Address, Data, Control BusIntroduction to Bus | Address, Data, Control Bus
Introduction to Bus | Address, Data, Control BusHem Pokhrel
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)Sandesh Jonchhe
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)Siddhi Viradiya
 
Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O DevicesSlideshare
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorAshita Agrawal
 
COA asynchronous data transfer
COA asynchronous data transferCOA asynchronous data transfer
COA asynchronous data transfermitalimaniyar
 
Register Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceRegister Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceTransweb Global Inc
 
Pipelining and vector processing
Pipelining and vector processingPipelining and vector processing
Pipelining and vector processingKamal Acharya
 

What's hot (20)

Interrupt
InterruptInterrupt
Interrupt
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Kernel (OS)
Kernel (OS)Kernel (OS)
Kernel (OS)
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Asynchronous data transfer
Asynchronous  data  transferAsynchronous  data  transfer
Asynchronous data transfer
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
Introduction to Bus | Address, Data, Control Bus
Introduction to Bus | Address, Data, Control BusIntroduction to Bus | Address, Data, Control Bus
Introduction to Bus | Address, Data, Control Bus
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 
Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
 
COA asynchronous data transfer
COA asynchronous data transferCOA asynchronous data transfer
COA asynchronous data transfer
 
Register Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceRegister Reference Instructions | Computer Science
Register Reference Instructions | Computer Science
 
Pipelining and vector processing
Pipelining and vector processingPipelining and vector processing
Pipelining and vector processing
 

Similar to Asynchronous Data Transfer.pptx

Input output organization
Input output organizationInput output organization
Input output organizationabdulugc
 
INTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptxINTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptxNidaKhan232565
 
Synchronous and-asynchronous-data-transfer-130126022740-phpapp01
Synchronous and-asynchronous-data-transfer-130126022740-phpapp01Synchronous and-asynchronous-data-transfer-130126022740-phpapp01
Synchronous and-asynchronous-data-transfer-130126022740-phpapp01VijayKumar4996
 
296617668-Asynchronous-Data-Transfer.ppt
296617668-Asynchronous-Data-Transfer.ppt296617668-Asynchronous-Data-Transfer.ppt
296617668-Asynchronous-Data-Transfer.pptMansiSharma961771
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptxMeenakshiR43
 
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data TransferDATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data TransferJabbar Tunyo
 
io orgnz.ppt
io orgnz.pptio orgnz.ppt
io orgnz.pptVetriM4
 
CS304PC:Computer Organization and Architecture Session 25 Asynchronous data t...
CS304PC:Computer Organization and Architecture Session 25 Asynchronous data t...CS304PC:Computer Organization and Architecture Session 25 Asynchronous data t...
CS304PC:Computer Organization and Architecture Session 25 Asynchronous data t...Asst.prof M.Gokilavani
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 

Similar to Asynchronous Data Transfer.pptx (20)

Lecture 35
Lecture 35Lecture 35
Lecture 35
 
Input output organization
Input output organizationInput output organization
Input output organization
 
INTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptxINTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptx
 
Presentation dfa.pptx
Presentation dfa.pptxPresentation dfa.pptx
Presentation dfa.pptx
 
Synchronous and-asynchronous-data-transfer-130126022740-phpapp01
Synchronous and-asynchronous-data-transfer-130126022740-phpapp01Synchronous and-asynchronous-data-transfer-130126022740-phpapp01
Synchronous and-asynchronous-data-transfer-130126022740-phpapp01
 
296617668-Asynchronous-Data-Transfer.ppt
296617668-Asynchronous-Data-Transfer.ppt296617668-Asynchronous-Data-Transfer.ppt
296617668-Asynchronous-Data-Transfer.ppt
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptx
 
data transmission
data transmission data transmission
data transmission
 
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data TransferDATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
 
Ch11.ppt
Ch11.pptCh11.ppt
Ch11.ppt
 
Io organization
Io organizationIo organization
Io organization
 
Data link control notes
Data link control notesData link control notes
Data link control notes
 
io orgnz.ppt
io orgnz.pptio orgnz.ppt
io orgnz.ppt
 
Unit-4 (IO Interface).pptx
Unit-4 (IO Interface).pptxUnit-4 (IO Interface).pptx
Unit-4 (IO Interface).pptx
 
8251 a basic
8251 a basic8251 a basic
8251 a basic
 
CS304PC:Computer Organization and Architecture Session 25 Asynchronous data t...
CS304PC:Computer Organization and Architecture Session 25 Asynchronous data t...CS304PC:Computer Organization and Architecture Session 25 Asynchronous data t...
CS304PC:Computer Organization and Architecture Session 25 Asynchronous data t...
 
Ca 2 note mano
Ca 2 note manoCa 2 note mano
Ca 2 note mano
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
Introduction to Data Communication by Vishal Garg
Introduction to Data Communication by Vishal GargIntroduction to Data Communication by Vishal Garg
Introduction to Data Communication by Vishal Garg
 
8251 USART
8251 USART8251 USART
8251 USART
 

More from ArunaDevi63

Instructioncycle.ppt
Instructioncycle.pptInstructioncycle.ppt
Instructioncycle.pptArunaDevi63
 
Mf formulation and parameterization
Mf formulation and parameterizationMf formulation and parameterization
Mf formulation and parameterizationArunaDevi63
 
Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebraArunaDevi63
 
Operator overloading
Operator overloadingOperator overloading
Operator overloadingArunaDevi63
 
Computer Organisation - Addressing Modes
Computer Organisation - Addressing ModesComputer Organisation - Addressing Modes
Computer Organisation - Addressing ModesArunaDevi63
 

More from ArunaDevi63 (8)

FuzzySet.pptx
FuzzySet.pptxFuzzySet.pptx
FuzzySet.pptx
 
Instructioncycle.ppt
Instructioncycle.pptInstructioncycle.ppt
Instructioncycle.ppt
 
Mf formulation and parameterization
Mf formulation and parameterizationMf formulation and parameterization
Mf formulation and parameterization
 
Soft Computing
Soft ComputingSoft Computing
Soft Computing
 
Cookies in php
Cookies in phpCookies in php
Cookies in php
 
Laws of boolean algebra
Laws of boolean algebraLaws of boolean algebra
Laws of boolean algebra
 
Operator overloading
Operator overloadingOperator overloading
Operator overloading
 
Computer Organisation - Addressing Modes
Computer Organisation - Addressing ModesComputer Organisation - Addressing Modes
Computer Organisation - Addressing Modes
 

Recently uploaded

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 

Asynchronous Data Transfer.pptx

  • 2. Communication of devices 2 Synchronous Asynchronous CPU I/O Interface Devices Share a Common Clock Devices communicate with the help of control signals.
  • 3. Two Ways of Asynchronous Transfer 3 1. Strobe Signal It has only one control signal for initiating the data transfer 2. Handshaking It has two control signal for communication
  • 4. Strobe Control 4 •Single control line for transfer. •Either the source or the destination can initiate the transfer. •Let us see the block diagram and the timing diagram. Source unit unit Data bus Strobe Block Diagram Source-Initiated Strobe for Data Transfer Destination Destination-Initiated Strobe for Data Transfer Source unit Data bus Strobe Block Diagram Destination Unit Data Strobe Valid data Timing Diagram Data Strobe Valid data Timing Diagram Memory Write control signals from CPU to Memory. Memory Read control signals from Memory to CPU.
  • 5. Working of Strobe 5 Data Transfer by Source ( Destination) 1. Source places the data on the data bus. 2. Then it activates the strobe pulse. 3. Both data and the strobe remains active for sufficient period of time so that the destination unit can receive it. 4. Destination uses the falling edge of the strobe pulse to transfer the data to its register. 5. Then the source removes the data from the data bus. 6. Then it disables the strobe signal. Data Transfer by Destination 1. Destination activates the strobe pulse informing the source to provide data. 2. Source responds by placing the data. 3. The data will remain in valid state for sufficient clock pulse. 4. Falling edge may be used to transfer the data. 5. Destination then disable the strobe pulse.
  • 6. Disadvantage of Strobe 6 • Source does not know whether destination has received the data item that is placed in the bus. • Destination that initiates the transfer do not know whether the source has places the data. • Handshake solves this problem. Handshake Basic Principle – two control signal for data transfer 1. One control line as the same direction of data flow from source to destination. It is used to inform the destination whether there is valid data in data bus. 2. Another control signal from the destination to source. It is used to inform the source whether it had accepted data. Let us see the block diagram, timing diagram and sequence diagram.
  • 7. Source initiated transfer 7 Block Diagram Source unit unit Data accepted Data valid Data Bus Data bus Data valid Data accepted Valid data Timing Diagram Sequence of Events Place data on bus Enable data Valid. Source unit Destination unit Accept data from bus Enable Data Accepted. Disable data valid Invalidate data on bus. Disable data accepted Ready to accept data
  • 8. 8 * Allows arbitrary delays from one state to the next * Permits each unit to respond at its own data transfer rate * The rate of transfer is determined by the slower unit Handshake
  • 9. Destination initiated transfer 9 Block Diagram Timing Diagram Sequence of Events Source Unit Unit Destination Data bus Ready for data Data valid Ready for data Data valid Data bus Valid data Place data on bus and enable data valid. Ready to accept data. Disable data valid. (initial state). Accept data from bus. Disable ready for data. Source unit Destination unit
  • 10. Advantage of Handshake 10 • Handshaking provides high degree of flexibility and reliability because the successful completion of the data transfer relies on the active participation by both the units. • If one unit is faulty data transfer will not be completed. •Time out mechanism helps to detect the faulty system. •Time out is implemented by the internal clock that starts counting time when the unit enables one of its handshaking control signal. If the return handshake does not respond with in the time it assumes an error occurred.