Professional Documents
Culture Documents
DCE
DCE
DTE
RS -232C
Transmission Medium
UART Uses
Serial Cable
Serial Port
Serial Cable
Device
UART Uses
Serial Cable
Modem
Modem
ACIA
UART Transmitter side needs 8 data bus lines for a 8-bit parallel data to be converted into a serial data stream. Idle line one/marking state Some are onboard Example ACIA by Motorola
Stop bit
Mark 1 Space 7 data bits Least significant bit first 1 1 0 1 0 1 0 Line idling again
CPU Pin Data Bus (D0-D7) Control Bus (R/W, E, CS) Address (RS, CS) Other: IRQ EIA-232 Pin Data (Rx, Tx) Control (RTX, CTS, DCD) Baud Clock (Rx CLK, Tx CLK)
7 RX IR
6 __ RTS
5 TX IR
4 WORD SIZE
1 COUNTER DIVIDE
UART Receiver
Use of Divide ratio In half of the bit period where a start bit can be verified Use of shift register Clock Skew
6
PE
5
OVRN
4
FE
3
__ CTS
2
__ DCD
1
TDRE
0
RDRF
Use of Status Register Use of TDRE From buffer register to the shift-register Use of RDRF From shift-register to the buffer register Use of OVRN failure to read the data from the buffer register
Use of Parity Error Use of Framing Error Use of IRQ 2 conditions when IR functions at the Control register
RS-232C Specifications
RS-232C Specifications
Cable impedance
Line Capacitance -2500 pf 50 pf/ foot limited to 100kb/s Ideal for short distance less than 50ft
RS-232C
Since the link only uses about 7 wires, DB-9 connectors are frequently used now for serial links,
Handshaking Lines
DTE uses a signal called RTS on pin 4, while DCE uses a signal called CTS on pin 5. Data is transmitted from DTE to DCE on pin 2, and from DCE to DTE on pin 3.
NULL Modem
DTE 1 DTE 2
1 2 3 4 5 6 7 8
1 2 3
4
5 6 7 8 20
20
RS-449
37-pin 9-pin
RS-422
RS-423
low speed communications generally operate at +/- 6 VDC and are compatible with RS-232 devices
RS-423
ASSIGN: