Interface Design Serial Communications
Interface Design Serial Communications
Serial
Communications
Outline
Concept of serial communications
Synchronous, Asynchronous
RS-232 standard
Hand shaking
LONG
Non-Distort
Non-Expensive
short
Serial Communication
Types
Asynchronous (transfer single byte at a
time)
:Transfer
Simplex •
Half duplex •
Full duplex •
chipset
UART, e.g. 8250 COM port
USART, Intel 8251
Transfer Types
bps
Vocabulary
DTE
Data Terminal Equipment •
e.g. computer, terminal •
DCE
Data Communication Equipment •
connects DTE to communication lines •
e.g. modem •
RS-232 Standard
Electronics Industries Association EIA 232
Specifies the interface between DTE and
DCE
Even used in applications where there is
no DCE
• e.g. connecting computer to printer, magnetic card reader,
robot, … etc.
Introduced in 1962 but is still widely used
Stand for Recommended Standard
Mechanical
Characteristics
pin connector-25
pin connector is more commonly found in-9 •
IBM-PC but it covers signals for asynchronous
serial communication only
Source: Duck, Bishop & Read, Data Communications for Engineers, Addison-Wesley
Pin RS232 Connector-9
DTE Connections
Electrical Characteristics
Single-ended
• one wire per signal, voltage levels are with
respect to system common (i.e. signal ground)
Mark: –3V to –25V
• represent Logic 1, Idle State (OFF)
Space: +3 to +25V
• represent Logic 0, Active State (ON)
Usually swing between –12V to
+12V
Recommended maximum cable
generator in transmitter.
CS0, CS1, CS2: Chip selects
In SDLC:
G(X) = x**16 + x**12 + x**5 + 1
Block Diagram 8251