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

Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniquesShriyaGautam3
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKnaimish12
 
Unit 4 data link layer
Unit 4 data link layerUnit 4 data link layer
Unit 4 data link layermekind
 
HDLC(High level Data Link Control)
HDLC(High level Data Link Control)HDLC(High level Data Link Control)
HDLC(High level Data Link Control)sonangrai
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulationmpsrekha83
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Dr. SELVAGANESAN S
 
Lec1 :- Data communication and network
Lec1 :- Data communication and networkLec1 :- Data communication and network
Lec1 :- Data communication and networkDhrumil Shah
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 
Data communication and networks by B. Forouzan
Data communication and networks by B. ForouzanData communication and networks by B. Forouzan
Data communication and networks by B. ForouzanPreethi T G
 

What's hot (20)

Data communication basics
Data communication basicsData communication basics
Data communication basics
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniques
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASK
 
Tdm & fdm
Tdm & fdmTdm & fdm
Tdm & fdm
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
 
Unit 4 data link layer
Unit 4 data link layerUnit 4 data link layer
Unit 4 data link layer
 
Transmission modes
Transmission modesTransmission modes
Transmission modes
 
HDLC(High level Data Link Control)
HDLC(High level Data Link Control)HDLC(High level Data Link Control)
HDLC(High level Data Link Control)
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
Data communication & networks
Data communication & networksData communication & networks
Data communication & networks
 
Communication protocols
Communication protocolsCommunication protocols
Communication protocols
 
spread spectrum
spread spectrumspread spectrum
spread spectrum
 
Spread spectrum
Spread spectrumSpread spectrum
Spread spectrum
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer
 
Lec1 :- Data communication and network
Lec1 :- Data communication and networkLec1 :- Data communication and network
Lec1 :- Data communication and network
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Line coding
Line codingLine coding
Line coding
 
Data communication and networks by B. Forouzan
Data communication and networks by B. ForouzanData communication and networks by B. Forouzan
Data communication and networks by B. Forouzan
 
DPCM
DPCMDPCM
DPCM
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 

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
 
Data transmission
Data transmissionData transmission
Data transmission
 
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
 
Transmission modes
Transmission modesTransmission modes
Transmission modes
 
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
 

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

ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 

Recently uploaded (20)

YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
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🔝
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 

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