1 - Asynchronous serial communications Flashcards

1
Q

What are the key steps in transferring data from user to user?

What are the methods used to transfer the data between these steps

A

User -> Transmitter -> Transceiver -> Cable -> Transceiver -> Receiver -> User

Transmitter -> Transceiver : TTL
Transceiver -> Cable : EIA-232
Cable -> Transceiver : EIA-232
Transceiver -> Receiver : TTL

The transceivers use FIFO logic and have shift registers.
The transceivers convert logical level signals to bauds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain how the signal levels works in EIA-232

A

Signal is received

EIA-232
0 baud - negative voltage (-12V)
1 baud - positive voltage (+12V)

TTL
0 - baud<threshold
1 - baud>threshold
- inverts the signal and changes the voltage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do the sender and receiver know the rate of transmission?

A

They each have a shift register.
Both registers have clocks that are set to the SAME RATE.
The clock determines the duration of each baud

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the components of an asynchronous slot (in order) ?

A

Mark - gap between slots (TTL High level)
1 start baud (TTL low level)
8 data bits
2 stop bauds (TTL high level)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In what scenario when can baud rate be equal to bit rate?

A

If each baud contains a bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is the difference between baud and bit

A

A baud is the PHYSICAL TRANSITION per second on a cable. It represents the number of signal changes per second, this includes any errors or overheads.

A bit is the smallest unit of digital information. Represented as a binary value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the transmission order of ASCII Character H = 0x48?

A

H in binary = 0100 1000
Transmission order = 0001 0010 (reverse of binary representation)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

calculate the slot duration of a standard asynchronous slot with a 250kbaud clock

A

baud rate = 250 000 baud

duration of one baud = 1/ baud rate = 1/250 000 = 4*10e-6

slot size = 8 data bits + 2 stop bauds + 1 start baud = 11

slot duration = slot size * duration of one baud = 11 * 410e-6 = 4410e-6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Benefits and drawbacks of asynchronous transmission

A

Benefits
- One common standard (widely used)
- Simple UART implementation as there is no clock recovery.

Drawbacks
- Low efficiency as 3/11 of the capacity is used for slot framing.
- Poor error detection, so bytes/slots may be lost.
- The rate is limited by the clock stability and cable quality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Benefits and drawbacks of asynchronous transmission

A

Benefits
- One common standard (widely used)
- Simple UART implementation as there is no clock recovery.

Drawbacks
- Low efficiency as 3/11 of the capacity is used for slot framing.
- Poor error detection, so bytes/slots may be lost.
- The rate is limited by the clock stability and cable quality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Fundamental aspects of binary communications

A
  • The receiver needs sufficient voltage to differentiate between a 0 and 1 baud
  • If a 0 is detected when 1 was sent, or vice versa, it is an error.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can a received signal be reduced?

A

Cable attenuation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

how does the EIA-232 receiver work?

A

Features
- Input impedance of 12k Ohms
- Shield not connected at receiver

Process
TTL Logic 0 - difference is between +3V and +15V.
TTL Logic 1 - difference is between -3V and -15V.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Explain how a signal is altered during transmission and received.

A
  • Signal can be perfect when sent
  • cable causes attenuation. This increases with increase in distance
  • Interference from other signals add to the received signal and Noise distort the waveform
  • A large 24V transmit voltage swing ensures there is a signal at the end of a LONG cable

Received - Using receiver hysteresis

  • The receiver uses voltage threshold hysteresis to avoid oscillation in the output when the signal varies.
  • A signal must cross UPPER threshold to count as 0
    A signal must cross LOWER threshold to count as 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the difference between EIA-232 and EIA-423 Transmission?

A
  • EIA-423 is an update to EIA-232 for office use
  • EIA-423 has a voltage level of -6V to +6V whereas EIA-232 is from -15V to +15V.
  • EIA-423 can be used over longer distances. Its Open ended cable length is increased to 1200m
  • EIA-423 does not require termination, whereas EIA-232 does.
  • EIA-423 is not suited to industry use as it is sensitive to noise and interference.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly