SlideShare a Scribd company logo
1 of 30
Serial Transmission & Synchronization
Mukesh Patel School of Technology Management and
Engineering
Content
Transmission mode
Parallel transmission
Serial transmission
Synchronous transmission
asynchronous transmission
Transmission mode
A given transmission on a communications
channel between two machines can occur in
several different ways.
The transmission is characterized by:
 the direction of the exchanges.
 the transmission mode: the number of bits sent
simultaneously simultaneously.
 synchronization between the transmitter and receiver.
The direction of the exchanges
There are 3 different transmission modes
characterized according to the direction of the
exchanges.
 Simplex
 Half Duplex
 Full Duplex
Simplex Mode
 In simplex mode the communication is uni-directional as on a one-way
street.
 Only one of the two stations on a link can transmit, the other can only
receive.
 Examples: Keyboard, Monitor, Mouse
Half Duplex
 In half-duplex mode, each station can both transmit and receive but not at
the same time.
 When one device is sending, the other can only receive.
 The half-duplex mode is like a one-lane road with two-directional traffic.
 The entire capacity of the communication channel is taken over by
whichever of the two devices is transmitting at the time.
 e.g. walkie-talkie
Full duplex
 In full-duplex mode both stations can transmit and receive
simultaneously.
 The full duplex mode is like a two-way street with traffic flowing in
both directions at the same time.
 In full duplex mode signals going in either direction share the capacity
of the link.
 This sharing can occur in two ways either the link must contain two
physically separate transmission paths, one for sending and the other
for receiving or the capacity of the channel is divided between signals
traveling in opposite directions.
Data Transmission-Modes
Parallel Transmission
Binary data, consisting of 1’s and 0’s,may be
organized in to groups of n bits each.
Computers produce and consume data in groups of
bits.
By grouping we can send data n bits at one time.
Each bit has its own wire.
N bits of one group can be transmitted with each
clock tick from one device to another.
Parallel Transmission
Serial Transmission
In serial transmission one bit follows another, so we
need only one communication channel instead of n to
send n bits.
The advantage of serial over parallel transmission is
that with only one communication channel.
Serial transmission reduces the cost of transmission
over parallel roughly by a factor of n.
Communication within devices is parallel, conversion
devices are required at the interface between the
sender(parallel-to-serial) and receiver (serial-to-
parallel).
Serial Transmission
Serial Transmission
 Serial transmission can occur in one of two
ways.
Synchronous
Asynchronous
Synchronous Transmission
In synchronous transmission, the bit stream is
combined in to longer frames which may contain
multiple bytes.
Each byte is introduced on to the transmission link
without a gap between it and the next one.
It is left to the receiver to separate the bit stream in
to bytes for decoding purposes.
Timing is important in synchronous transmission
Synchronous Transmission
Advantages of synchronous transmission
The advantage of synchronous transmission
is speed.
Byte synchronization is accomplished in the
data link layer.
The start and stop bits in each frame of asynchronous format
represents wasted overhead bytes that reduce the overall
character rate.
These start and stop bits can be eliminated by synchronizing
receiver and transmitter.
Receiver and transmitter can be synchronized by having a
common clock signal as shown in above fig.
Synchronous Transmission
Serial In - Serial Out
Shift Registers
• A basic four-bit shift register can be constructed using four D flip-
flops, as shown below.
• The operation of the circuit is as follows. The register is first
cleared, forcing all four outputs to zero.
• The input data is then applied sequentially to the D input of the
first flip-flop on the left (FF0).
• During each clock pulse, one bit is transmitted from left to right.
Assume a data word to be 1001. The least significant bit of the
data has to be shifted through the register from FF0 to FF3.
FF0 FF1 FF2 FF3
0 0 0 0CLEAR
FF0 FF1 FF2 FF3
0 0 0 01001
FF0 FF1 FF2 FF3
1 0 0 0100
FF0 FF1 FF2 FF3
0 1 0 010
FF0 FF1 FF2 FF3
0 0 1 01
FF0 FF1 FF2 FF3
1 0 0 1
0
00
000
0000
• In order to get the data out of the register, they must be shifted out
serially.
• This can be done destructively or non-destructively. For
destructive readout, the original data is lost and at the end of the
read cycle, all flip-flops are reset to zero.
FF0 FF1 FF2 FF3
1 0 0 10000 0000
FF0 FF1 FF2 FF3
0 1 0 0000 1000
FF0 FF1 FF2 FF3
0 0 1 000 0100
FF0 FF1 FF2 FF3
0 0 0 10 0010
FF0 FF1 FF2 FF3
0 0 0 0 1001
• To avoid the loss of data, an arrangement for a non-destructive
reading can be done by adding two AND gates, an OR gate and an
inverter to the system. The construction of this circuit is shown
below.
• The data is loaded to the register when the control line is HIGH (ie
WRITE). The data can be shifted out of the register when the
control line is LOW (ie READ). This is shown in the animation
below.
FF0 FF1 FF2 FF3
0 0 0 01001
FF0 FF1 FF2 FF3
1 0 0 0100 0
FF0 FF1 FF2 FF3
0 1 0 010 00
CLEAR
WRITE
WRITE
FF0 FF1 FF2 FF3
0 0 1 01 000
WRITE
FF0 FF1 FF2 FF3
1 0 0 1 0000
WRITE
FF0 FF1 FF2 FF3
0 1 0 0 1000
READ
FF0 FF1 FF2 FF3
0 0 1 0 0100
READ
FF0 FF1 FF2 FF3
0 0 0 1 0010
READ
FF0 FF1 FF2 FF3
0 0 0 0 1001
READ
Synchronous input/output transfer
• In synchronous input/output data transfer, all devices derive timing
information for a common clock signal.
• The fig. shows the timing diagram for synchronous input/ouput
transfer.
• At time t0, the processer places the device address on the address lines
of system bus and sets the control lines to perform the input operation.
• During time t0-t1, addressed device gets the address and it recognized
that and input operation is requested.
• At time t1, address device places its data on the data bus. At the end of
bus cycle that is at time t2 the processor reads the data lines and loads
the data from data bus into its input buffer.
• The timing diagram for an output operation is shown in the fig. Here ,
processor places the output data on the data lines when it transmits the
address and control line information’s.
• At time t1, the addressed device reads the data lines and loads the data
into its data buffer. The processor simply assumes that, at t2, the
output data have been received by the i/o device and the cycle ends
Serial transmission

More Related Content

What's hot (20)

10.data transmission
10.data transmission10.data transmission
10.data transmission
 
TELECOMMUNICATIONS SYSTEMS
TELECOMMUNICATIONS SYSTEMSTELECOMMUNICATIONS SYSTEMS
TELECOMMUNICATIONS SYSTEMS
 
Sliding window protocol(ARQ technique)
Sliding window protocol(ARQ technique)Sliding window protocol(ARQ technique)
Sliding window protocol(ARQ technique)
 
Line coding
Line codingLine coding
Line coding
 
Pure aloha
Pure alohaPure aloha
Pure aloha
 
Data communication & networks
Data communication & networksData communication & networks
Data communication & networks
 
Broadband isdn
Broadband isdnBroadband isdn
Broadband isdn
 
Chap 8 switching
Chap 8 switchingChap 8 switching
Chap 8 switching
 
MEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROLMEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROL
 
Fdm
FdmFdm
Fdm
 
Token ring
Token ringToken ring
Token ring
 
Transmission modes
Transmission modesTransmission modes
Transmission modes
 
Digital Data to Digital Signal Conversion
Digital Data to Digital Signal ConversionDigital Data to Digital Signal Conversion
Digital Data to Digital Signal Conversion
 
3.Medium Access Control
3.Medium Access Control3.Medium Access Control
3.Medium Access Control
 
Ethernet
EthernetEthernet
Ethernet
 
ALOHA Protocol (in detail)
ALOHA Protocol (in detail)ALOHA Protocol (in detail)
ALOHA Protocol (in detail)
 
Encoding Techniques
Encoding TechniquesEncoding Techniques
Encoding Techniques
 
Common air protocol
Common air protocolCommon air protocol
Common air protocol
 
Bandwidth utilization
Bandwidth utilizationBandwidth utilization
Bandwidth utilization
 
Transmission impairments(presentation)
Transmission impairments(presentation)Transmission impairments(presentation)
Transmission impairments(presentation)
 

Viewers also liked

Viewers also liked (20)

Analog Transmission
Analog TransmissionAnalog Transmission
Analog Transmission
 
Ch08
Ch08Ch08
Ch08
 
Ch31
Ch31Ch31
Ch31
 
Ch15
Ch15Ch15
Ch15
 
Ch09
Ch09Ch09
Ch09
 
Chap 5 analog transmission
Chap 5 analog transmissionChap 5 analog transmission
Chap 5 analog transmission
 
Ch21
Ch21Ch21
Ch21
 
Ch10
Ch10Ch10
Ch10
 
Ch25
Ch25Ch25
Ch25
 
Chap5 analog transmission
Chap5 analog transmissionChap5 analog transmission
Chap5 analog transmission
 
Analog transmission
Analog transmissionAnalog transmission
Analog transmission
 
Data communication and network Chapter - 2
Data communication and network Chapter - 2Data communication and network Chapter - 2
Data communication and network Chapter - 2
 
Secure Data Transmission
Secure Data TransmissionSecure Data Transmission
Secure Data Transmission
 
2[1].1 data transmission
2[1].1 data transmission2[1].1 data transmission
2[1].1 data transmission
 
Digital & analog transmission
Digital & analog transmissionDigital & analog transmission
Digital & analog transmission
 
Ch06
Ch06Ch06
Ch06
 
Data communications
Data communicationsData communications
Data communications
 
Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shaping
 
Ch18
Ch18Ch18
Ch18
 
Chapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File TransferChapter 26 - Remote Logging, Electronic Mail & File Transfer
Chapter 26 - Remote Logging, Electronic Mail & File Transfer
 

Similar to Serial transmission

Similar to Serial transmission (20)

Asynchronous data transfer
Asynchronous  data  transferAsynchronous  data  transfer
Asynchronous data transfer
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
8251 a basic
8251 a basic8251 a basic
8251 a basic
 
8251 USART.pptx
8251 USART.pptx8251 USART.pptx
8251 USART.pptx
 
8251 USART
8251 USART8251 USART
8251 USART
 
Digital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxDigital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptx
 
PRESENTATION - SERIAL COMMUNICATION
PRESENTATION - SERIAL COMMUNICATIONPRESENTATION - SERIAL COMMUNICATION
PRESENTATION - SERIAL COMMUNICATION
 
INTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptxINTERFACE UNIT IV.pptx
INTERFACE UNIT IV.pptx
 
EC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdfEC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdf
 
COA asynchronous data transfer
COA asynchronous data transferCOA asynchronous data transfer
COA asynchronous data transfer
 
USART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav ShuklaUSART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav Shukla
 
data transmission
data transmission data transmission
data transmission
 
COA (Unit_1.pptx)
COA (Unit_1.pptx)COA (Unit_1.pptx)
COA (Unit_1.pptx)
 
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data TransferDATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
DATA TRANSMISSION, Synchronous & Asynchronous Data Transfer
 
Asynchronous and synchronous
Asynchronous and synchronousAsynchronous and synchronous
Asynchronous and synchronous
 
USART
USARTUSART
USART
 
B sc cs i bo-de u-iii counters & registers
B sc cs i bo-de u-iii counters & registersB sc cs i bo-de u-iii counters & registers
B sc cs i bo-de u-iii counters & registers
 
ITFT_Transmission modes
ITFT_Transmission modesITFT_Transmission modes
ITFT_Transmission modes
 
UNIT 5.pptx
UNIT 5.pptxUNIT 5.pptx
UNIT 5.pptx
 
Tsn lecture vol 3
Tsn lecture vol 3Tsn lecture vol 3
Tsn lecture vol 3
 

More from Piyush Rochwani (20)

Unit 2
Unit 2Unit 2
Unit 2
 
Unit 3
Unit 3Unit 3
Unit 3
 
Biometrics based key generation
Biometrics based key generationBiometrics based key generation
Biometrics based key generation
 
Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
 
Memory virtualization
Memory virtualizationMemory virtualization
Memory virtualization
 
Risc
RiscRisc
Risc
 
Raid
Raid Raid
Raid
 
Pipelining and co processor.
Pipelining and co processor.Pipelining and co processor.
Pipelining and co processor.
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Page replacement algorithms
Page replacement algorithmsPage replacement algorithms
Page replacement algorithms
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
Dma
DmaDma
Dma
 
Control unit
Control unitControl unit
Control unit
 
Memory types
Memory typesMemory types
Memory types
 
Solid state solid state drives
Solid state solid state drivesSolid state solid state drives
Solid state solid state drives
 
Coa INTERUPT
Coa INTERUPTCoa INTERUPT
Coa INTERUPT
 
Cisc(a022& a023)
Cisc(a022& a023)Cisc(a022& a023)
Cisc(a022& a023)
 
Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)
 
06 floating point
06 floating point06 floating point
06 floating point
 
05 multiply divide
05 multiply divide05 multiply divide
05 multiply divide
 

Recently uploaded

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Recently uploaded (20)

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

Serial transmission

  • 1. Serial Transmission & Synchronization Mukesh Patel School of Technology Management and Engineering
  • 2. Content Transmission mode Parallel transmission Serial transmission Synchronous transmission asynchronous transmission
  • 3. Transmission mode A given transmission on a communications channel between two machines can occur in several different ways. The transmission is characterized by:  the direction of the exchanges.  the transmission mode: the number of bits sent simultaneously simultaneously.  synchronization between the transmitter and receiver.
  • 4. The direction of the exchanges There are 3 different transmission modes characterized according to the direction of the exchanges.  Simplex  Half Duplex  Full Duplex
  • 5. Simplex Mode  In simplex mode the communication is uni-directional as on a one-way street.  Only one of the two stations on a link can transmit, the other can only receive.  Examples: Keyboard, Monitor, Mouse
  • 6. Half Duplex  In half-duplex mode, each station can both transmit and receive but not at the same time.  When one device is sending, the other can only receive.  The half-duplex mode is like a one-lane road with two-directional traffic.  The entire capacity of the communication channel is taken over by whichever of the two devices is transmitting at the time.  e.g. walkie-talkie
  • 7. Full duplex  In full-duplex mode both stations can transmit and receive simultaneously.  The full duplex mode is like a two-way street with traffic flowing in both directions at the same time.  In full duplex mode signals going in either direction share the capacity of the link.  This sharing can occur in two ways either the link must contain two physically separate transmission paths, one for sending and the other for receiving or the capacity of the channel is divided between signals traveling in opposite directions.
  • 9. Parallel Transmission Binary data, consisting of 1’s and 0’s,may be organized in to groups of n bits each. Computers produce and consume data in groups of bits. By grouping we can send data n bits at one time. Each bit has its own wire. N bits of one group can be transmitted with each clock tick from one device to another.
  • 11. Serial Transmission In serial transmission one bit follows another, so we need only one communication channel instead of n to send n bits. The advantage of serial over parallel transmission is that with only one communication channel. Serial transmission reduces the cost of transmission over parallel roughly by a factor of n. Communication within devices is parallel, conversion devices are required at the interface between the sender(parallel-to-serial) and receiver (serial-to- parallel).
  • 13. Serial Transmission  Serial transmission can occur in one of two ways. Synchronous Asynchronous
  • 14. Synchronous Transmission In synchronous transmission, the bit stream is combined in to longer frames which may contain multiple bytes. Each byte is introduced on to the transmission link without a gap between it and the next one. It is left to the receiver to separate the bit stream in to bytes for decoding purposes. Timing is important in synchronous transmission
  • 16. Advantages of synchronous transmission The advantage of synchronous transmission is speed. Byte synchronization is accomplished in the data link layer.
  • 17. The start and stop bits in each frame of asynchronous format represents wasted overhead bytes that reduce the overall character rate. These start and stop bits can be eliminated by synchronizing receiver and transmitter. Receiver and transmitter can be synchronized by having a common clock signal as shown in above fig. Synchronous Transmission
  • 18. Serial In - Serial Out Shift Registers • A basic four-bit shift register can be constructed using four D flip- flops, as shown below. • The operation of the circuit is as follows. The register is first cleared, forcing all four outputs to zero. • The input data is then applied sequentially to the D input of the first flip-flop on the left (FF0). • During each clock pulse, one bit is transmitted from left to right. Assume a data word to be 1001. The least significant bit of the data has to be shifted through the register from FF0 to FF3.
  • 19. FF0 FF1 FF2 FF3 0 0 0 0CLEAR FF0 FF1 FF2 FF3 0 0 0 01001
  • 20. FF0 FF1 FF2 FF3 1 0 0 0100 FF0 FF1 FF2 FF3 0 1 0 010 FF0 FF1 FF2 FF3 0 0 1 01 FF0 FF1 FF2 FF3 1 0 0 1 0 00 000 0000
  • 21. • In order to get the data out of the register, they must be shifted out serially. • This can be done destructively or non-destructively. For destructive readout, the original data is lost and at the end of the read cycle, all flip-flops are reset to zero. FF0 FF1 FF2 FF3 1 0 0 10000 0000 FF0 FF1 FF2 FF3 0 1 0 0000 1000 FF0 FF1 FF2 FF3 0 0 1 000 0100
  • 22. FF0 FF1 FF2 FF3 0 0 0 10 0010 FF0 FF1 FF2 FF3 0 0 0 0 1001
  • 23. • To avoid the loss of data, an arrangement for a non-destructive reading can be done by adding two AND gates, an OR gate and an inverter to the system. The construction of this circuit is shown below.
  • 24. • The data is loaded to the register when the control line is HIGH (ie WRITE). The data can be shifted out of the register when the control line is LOW (ie READ). This is shown in the animation below. FF0 FF1 FF2 FF3 0 0 0 01001 FF0 FF1 FF2 FF3 1 0 0 0100 0 FF0 FF1 FF2 FF3 0 1 0 010 00 CLEAR WRITE WRITE
  • 25. FF0 FF1 FF2 FF3 0 0 1 01 000 WRITE FF0 FF1 FF2 FF3 1 0 0 1 0000 WRITE FF0 FF1 FF2 FF3 0 1 0 0 1000 READ FF0 FF1 FF2 FF3 0 0 1 0 0100 READ
  • 26. FF0 FF1 FF2 FF3 0 0 0 1 0010 READ FF0 FF1 FF2 FF3 0 0 0 0 1001 READ
  • 27. Synchronous input/output transfer • In synchronous input/output data transfer, all devices derive timing information for a common clock signal. • The fig. shows the timing diagram for synchronous input/ouput transfer.
  • 28. • At time t0, the processer places the device address on the address lines of system bus and sets the control lines to perform the input operation. • During time t0-t1, addressed device gets the address and it recognized that and input operation is requested. • At time t1, address device places its data on the data bus. At the end of bus cycle that is at time t2 the processor reads the data lines and loads the data from data bus into its input buffer.
  • 29. • The timing diagram for an output operation is shown in the fig. Here , processor places the output data on the data lines when it transmits the address and control line information’s. • At time t1, the addressed device reads the data lines and loads the data into its data buffer. The processor simply assumes that, at t2, the output data have been received by the i/o device and the cycle ends