Академический Документы
Профессиональный Документы
Культура Документы
• Synchronization:
– Sender & receiver need to synchronize
– Different levels of sync
• Clock sync: bit level
• Block sync: block or message level (character/word level)
• Asynchronous Transmission
– Bits are sent on a character-by-character basis
– Independent clocks at sender & receiver (but matching
reasonably)
– Clock sync: receiver resync’s its clock every character
– Block sync: each character is “bracketed” by start &
stop bits
– Advantage: simple & cheap, usable up to ~20 kbps
– Disadvantage: not very efficient
Odd,even, Remain
Idle state idle or next
of line or unused
Start start bit
bit 5 to 8 data bits 1-2 bit times
0
P stop
bit
1
Character format
Chap. 5 Data Communication Interface 2
start
• Synchronous Transmission
– Sender & receiver have identical clocks
• Separate clock line to carry clock signal from
sender
• “Self-clocking” transmission scheme
– Biphase encoding (e.g. Manchester) ← digital sig.
– Using carrier signal ← Analog sig.
• Block sync:
– Special preamble & postamble bit patterns used to
indicate start/end of a block (frame)
2. Line Configurations
• Topology
– Physical arrangements of stations on a
transmission medium
– Point-to-point & Multipoint
• Full Duplex and Half Duplex
Send and receive
A Only one way at a time B
Half-duplex
Send
A receive B Full-Duplex
simultaneously
Chap. 5 Data Communication Interface 4
3. Interfacing
• V.24/EIA-232-E
– Interface standard between DTE and DCE
– RS-232 was introduced in 1962 by EIA, and
current version is EIA-232-E (5th version), and
International version is ITU-T V.24
• RS: Recommended Standard
• EIA: Electronics Industry Association
• ITU: International Telecommunications Union (which has
superseded CCITT)
• ITU-T: ITU standard for Telecommunications
– Originally for modem, but can be used with digital
networks
– Official title for the standard is “Interface between
DTE and DCE employing serial binary data
interchange”
– Mechanical Specification
• specifics of the connector, assignment of
interchange circuits to pins, size, dimensions, etc.
• 25-pin connector (known as D-connector)
• since not all 25 pins are necessary, 9-pin D-
connectors are also available
Chap. 5 Data Communication Interface 6
Pin assignments
– Electrical Specification
• NRZ-L
– Binary 1 (or OFF): -3V ~ -15V,
– Binary 0 (or ON): +3V ~ +15V
• For less than 20 kbps and 15 meters
– Functional Specification
• Functional specification of each interchange circuit,
i.e., meaning of each circuit
• Circuits can be grouped into the categories of
data,control, timing, and ground
Chap. 5 Data Communication Interface 7
– Loopback testing
• Useful fault-isolating tool
• Local loopback & remote loopbck
– Procedural Specification
• Legal sequence of events for a particular
application
• Example1: Asynchronous private line modem
(limited-distance modem)
– less than 2.5km apart
DTE Transmitting
Request Transmit
DTE ready to send data to DCE
time
DTE
DCE
DCE ready Clear
to send
– Null Modems
• Allow two DTEs communicate directly (with no
networks nor DCEs between them)
DTE DTE