interfaces and synchronization
DESCRIPTION
Interfaces and Synchronization. Martin Weiss. EIA 232D Interface Standard. Synonymous with ITU V.24 Asynchronous interface Up to 19.2kbps 50 foot maximum distance between DCE and DTE. Other Interface Standards. EIA 449 - Uses EIA-422 (balanced) or EIA-423 (unbalanced) signalling standards - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/1.jpg)
Interfaces and Synchronization
Martin Weiss
![Page 2: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/2.jpg)
EIA 232D Interface Standard
Synonymous with ITU V.24 Asynchronous interface Up to 19.2kbps 50 foot maximum distance
between DCE and DTE
![Page 3: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/3.jpg)
Other Interface Standards
EIA 449 - Uses EIA-422 (balanced) or EIA-423 (unbalanced) signalling standards
EIA 530 - Same as EIA 449 except with a 25 pin connector
![Page 4: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/4.jpg)
Signalling Standards
Circuit Type Max. Separation (m) Max. Bit Rate
EIA-423 10100
1000
100kbps10kbps1kbps
EIA-422 10100
1000
10Mbps1Mbps100kbps
![Page 5: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/5.jpg)
Main EIA 232D Signals
Receive data (RxD) - Pin 2 Transmit data (TxD) - Pin 3 Request to Send (RTS) - Pin 4 Clear to Send (CTS) - Pin 5
![Page 6: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/6.jpg)
Main EIA 232D Signals
Data Set Ready (DSR) - Pin 6 Data Terminal Ready (DTR) - Pin 20 Ring Indicator (RI) - Pin 22 Carrier Detect (CD) - Pin 8
![Page 7: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/7.jpg)
EIA 232D Protocol
Modem Modem
DTR
DSR
RTSCTS
DTRDSR
TxD Data DCD
RxD
![Page 8: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/8.jpg)
Questions
For data transfer, when would we want to transfer bits one at a time, and when as a group?
Why do we have to worry about synchronization?
How can we begin to quantify performance issues?
![Page 9: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/9.jpg)
Bit Synchronization
The receiver must know when a bit starts and when it stops
Normally, synchronization sequences are necessary
![Page 10: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/10.jpg)
Character Synchronization
When does a character start?
![Page 11: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/11.jpg)
Asynchronous Communications Characters are transmitted when
they are generated The receiver must be configured so
that the gross transmission characteristics are identical to the transmitter
![Page 12: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/12.jpg)
Implementation of Async
Line is normally in a logical “High” state
Preceding a character is a “Start Bit” (Low for one bit time)
Subsequent bits may be low or high Character may be ended by stop
bit(s)
![Page 13: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/13.jpg)
Implementation of Async
Start 0 0 0 01 1 1
Parity=?
Stop Stop
![Page 14: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/14.jpg)
Discussion of Async
Very simple to implement Inefficient Alternative: synchronous
transmission
![Page 15: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/15.jpg)
Discussion of Async
![Page 16: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/16.jpg)
Synchronous Transmission
Transmitter and receiver are synchronized at the bit and character level prior to transmission
Messages may still arrive asynchronously
Synchronous systems are normally more complex
![Page 17: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/17.jpg)
Performance Analysis of Communications Links
Consider the effect of propagation delay and transmission rate
Recall that
a = Propagation time
Transmission time
![Page 18: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/18.jpg)
Definitions Let U = (throughput)/(capacity) = T/R
– Throughput is the number of bits actually transmitted per unit time
– Capacity is the number of bits that could be transmitted per unit time
R = data rate of the channel d = maximum distance between any
two stations
![Page 19: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/19.jpg)
Definitions V = velocity of signal propagation L = frame length (average or
fixed) T = throughput Assuming no overhead,
= frame length
transmission time + propagation delay
T = Number of bits
Time from source to destination
![Page 20: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/20.jpg)
Illustration (a < 1)
t0 Start of Transmission
t0+a Start of Reception
t0+1 End of Transmission
t0+1+a End of Reception
![Page 21: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/21.jpg)
Illustration (a > 1)
t0 Start of Transmission
t0+a Start of Reception
t0+1 End of Transmission
t0+1+a End of Reception
![Page 22: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/22.jpg)
Utilization of a Baseband Bus
aRdLV
dV
LR
TL R
adV
LR
=
1
UTR a
= =1
1
Utilization = Throughput/Capacity
T = frame length
Propagation delay + transmission time
![Page 23: Interfaces and Synchronization](https://reader036.vdocuments.mx/reader036/viewer/2022062723/56814001550346895dab36fd/html5/thumbnails/23.jpg)
U vs. aU
a
1.0
0.8
0.6
0.4
0.2
1 5 10 15 20