6 Serial Interfaces 1 Flashcards

1
Q

Where do we need to isolate systems?

A
  • When we are connecting our embedded processor to other systems we sometimes need to consider electrical or galvanic isolation
  • We often need to isolate high voltages from low voltages in order to protect parts of a circuit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe what is meant by an Opto-isolater?

A
  • Opto-isolators allow a signal to pass across a high voltage differential with total galvanic isolation (i.e no chance for current to flow over the gap!)
  • Often available as an LED and photo-transistor in a single package
  • Typical drive current is 20mA @2V, and gain < 1. Can be used to pass analogue signals, generally very good frequency response (fast!)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Diagram for an optoisolator?

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

Details of Transformer isolation?

A

Typically requires less current than an opto-isolator, no need to drive an LED just a small coil

Cannot pass DC components of signals! What about high frequency?

Requires the use of a DC balanced signal:

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

Diagram of a Power Supply isolator?

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

Explain what an power supply isolator does?

A
  • These are called DC-DC converters
  • They encapsulate all the functions needed to create an isolated DC supply
  • Often feedback is included to reduce power consumption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are real switching issues?

A
  • When a physical switch opens or closes, there is usually a short period of time during which the state changes rapidly back and forth (contact bounce)
  • A typical way to solve this is to feed the smoothed input through a Schmitt trigger
  • The Schmitt trigger has hysteresis – a tendency to stay in it’s current state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a Schmitt trigger

A

A typical way to solve this is to feed the smoothed input through a Schmitt trigger

The Schmitt trigger has hysteresis – a tendency to stay in it’s current state

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

Describe a basic serial interface?

A
  • Serial interfaces connect in parallel to the bus
  • The I/O side of the interface feeds from/to a shift register
  • Depending on the interface, the unit may perform clock recovery to work out when to read the data bits
  • Additional controls and connections can indicate receipt of data and errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Diagram of a basic serial Interface?

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

Types of Serial interfaces?

A

Interfaces may be simplex, half-duplex or duplex

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

How are devices normally laid out in a serial interface?

A
  • The interface may be between more than one device but generally has one controller (master – slave)
  • Additional controls and connections can indicate receipt of data and errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

serial interfaces that are relevent?

A
  • USB
  • RS-232
  • SPI
  • I2C
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The types of synchronicity?

A

synchronous, asynchronous or isochronous

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

Synchronicity: Synchronous: Explain?

A

Synchronous – Each bit of data is transferred relative to shared (common) clock reference

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

Synchronicity: Synchronous: Good/Bad?

A

• Can be tricky to maintain required data rates, often uses FIFO buffers at either end of the link

17
Q

Synchronicity: Synchronous: Diagram?

A
18
Q

Synchronicity: Asynchronous: Explain?

A

Asynchronous – Data is transferred based on transitions, associated with start and stop conditions that allow for alignment of bytes

19
Q

Synchronicity: Asynchronous: Good/Bad?

A

Allows for variations in timing, quite easy to implement but not ideal for timing critical applications

20
Q

Synchronicity: Asynchronous: Diagram?

A
21
Q

Synchronicity: Isochronous: Explain?

A

Isochronous – Data is transmitted asynchronously but at regular predefined intervals

22
Q

Synchronicity: Isochronous: Good/Bad?

A

Used for high quality audio playback over USB at > 44.1 kHz 32-bit

23
Q

Synchronicity: Isochronous: Diagram?

A
24
Q

Advantages of Parrallel interfaces?

A

For many years parallel data interfaces were the standard for connecting devices together

Parallel interfaces can transfer all N bits in a single clock cycle, and so in theory should be much faster than serial interfaces that transfer 1 bit per clock cycle

25
Q

Comparing serial and parrallel interfaces?

A

However, in recent years, serial interfaces have totally dominated the peripheral interface market

26
Q

The issues with Parallel interfaces

A
  • The maximum clock frequency for parallel transmission is fundamentally limited by design constraints such as signal transit time (skew) and cross talk
  • All signals from the transmitter need to arrive at the receiver at the same time. The higher the frequency, the more tiny differences in arrival time matter. Hence the receiver has to wait until all signal lines are settled - lowering the transfer rate
27
Q

The problem with cross talk?

A

The higher the frequency, the more pronounced crosstalk gets and with it the higher the probability of a corrupted byte and the need to retransmit it

28
Q

How to reduce cross talk?

A

This is why large parallel buses often have multiple inserted ground lines, in an attempt to reduce crosstalk

29
Q

Cross talk interference diagram?

A
30
Q

How are parallel cables deigned?

A