Beruflich Dokumente
Kultur Dokumente
) (
) (EIA-232E
RS-232 EIA-232
)(.
IBM : serial
Port Parallel Port .
.
.
) (full duplex
.
): (Bi-direction
) (Full-duplex
. .
): (Parity Bit
. ) (Parity Bit
.
.
) ( ) Logic (1 ) Logic(0
.
) ( ) (
. Detect one error
:
:
:
01100011 = 0
01101011 .
.
.
)( .
.
.
.
:RS232
) (TIA/EIA )
............. ( .
D
).(male
.
DTE :DCE
:DCE .
:DTE .
DTE: Data Terminal Equipment :
DCE: Data Communications Equipment
. .DTE:
DCE: : DTE DCE
.
RS232 DTE ) (male .
:
)( RS232
(TD) -
(RD) -
(RTS) -
) ( )(CTS
)(DSR
(CD) -
(DTR ) -
)(RI
5
2
3
7
8
6
1
4
9
:TD :
:RD :
DTE
.
:RTS :
: DTR
:CD :
. .
..
) (BAUD :
) ( )(
.
. .
Hardware
IBM :UART Universal Asynchronous
Receiver/Transmitter .
. UART
) (UART
CPU .
UART
UART .
UART .
Synchronous & Asynchronous :
Hardware
S . A .
:
UART : Universal Asynchronous Receiver/Transmitter
USART: Universal Synchronous Asynchronous Receiver/Transmitter
) (Clock
.
.
.
Clock .
.
) ( :
clock .
clock
.
UART ) ( UART
) (..
) (start Bit
) (Clock Clock .
Clocks
% .
) (start Bit
) Least Significant Bit (LSB
) (0 ) .(1
:
) (1 ) (0
.....
UART
. Host Processor
Clock
.
UART )
(.
.
8250 UART:
UART 8250
Registers
).(Microprocessor
) (initialize it
). (Built-in
16550 UARTs
Clock
*
D0:D7
RCLK
1:8
9
Active
Low
=
*
Active Low -
Active Low
Driver
disable
)Logic(0 CPU
. UART
Active Low
)(
)(
Active Low
Active
Low
Active
Low
Active
Low
master
Reset
Active Low
Active Low
Active
Low
Active Low
RD
TD
CS0
CS1
NCS2
10
11
12
13
14
nBaudOut
15
Xin
Xout
nWR
WR
Vss
RD
nRD
DDIS
16
17
18
19
20
21
22
23
nTXRDY
nADs
24
25
A0-A2
nRXRDY
26-27-28
29
INTR
nOUT2
nRTs
30
31
32
nDTR
33
nOUT1
34
MR
35
nCTs
nDSR
nDCD
36
37
38
nRI
VDD
39
40
:RS232
RS232 . ) ( Clock .
MAX232 +10 5 .
10 .
) (IC .
)(.
.
.
.
.
) : MAX232 (. 1F
MAX232 ) ( RS232
.
:
3 25 ) Logic(1 ) Mark Condition ) . (7
( +3 +25 ) Logic(0 ) . (Space Condition 3
+3 ) (Transition region .
) (
) (negative Logic .
RS232 .
. ). (Shielded
).(Unshielded
.
) LEDs (
.
.
.
)(
. Female
. male
: /