Documente Academic
Documente Profesional
Documente Cultură
DCE
DTE
RS -232C
RS -232C
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
ACIA
CPU Pin
Data Bus (D0-D7) Control Bus (R/W, E, CS) Address (RS, CS) Other: IRQ Data (Rx, Tx) Control (RTX, CTS, DCD) Baud Clock (Rx CLK, Tx CLK)
EIA-232 Pin
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
PE OVRN
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
RS-449
37-pin 9-pin
RS-422
balanced electrical interface implemented using a D-type connector with 37 pins RS-449 specifications logic 1 (Mark) is represented by the A output being more negative than the B output.
logic 0 (Space) is represented by the A output being more positive than the B output.
RS-423
unbalanced electrical interface implemented using a D-type connector with 37 pins RS-449 specifications
low speed communications generally operate at +/- 6 VDC and are compatible with RS-232 devices
RS-423
very sensitive, capable of detecting Mark/Space states at +/- 0.4 VDC has separate Signal Grounds for transmitters and receivers A binary one (Mark) is represented by a Negative voltage level and a binary zero (Space) is represented by a Positive voltage level.
MODEM
DTE
DCE
Modulator
DCE
Demodulator
DTE
FSK Modem
i.e. CCITT V.21 for 300 baud modems: Originating Sending Modem Modem 1270 Hz 1 2225 Hz 1070 Hz 0 2025 Hz loss of amplitude will not cause errors in transmission
PSK Modem
a modulation technique to vary the phase of the sine wave (or carrier wave) to transmit ones and zeroes A different phase shift, 0 to 360 degrees, is used to transmit one or more bits
Balanced Modulator
Permits the varying the phase of the fc Logic 1 - 0 phase Logic 0 180 shift Basic Components: Transformers Semiconductor device
DPSK
Is an alternative form of PSK wherein the binary input info. is contained in the difference between two successive signaling elements rather than the absolute phase
Q-
signal phase
0 0 1 1
0 1 0 1
1 0 0 1
0 180 180 0
360 or 0
2n
QPSK
QAM
Both Phase and Amplitude are varied Higher data rates over telephone BW
PSK Demodulators
for clock recovery using a bit delay and XOR The same ckt. w/ the Modulator but having a different signal converter
V.34 Modems
ITU standard 33 Kbps Uses QAM at 28.8 Kbps Suitable for dial-up and leased lines
V.90 Modems
ITU standard 64 Kbps Uses PCM at 56 Kbps Suitable for dial-up and leased lines