Edexcel International Advanced Level Computer Science, point 1.1.7
Definition
Data transmission is the movement of bits from one component or device to another. There are two ways to send a group of bits: serially and in parallel.
Why needed
Data has to move all the time: inside a computer (for example from memory to the CPU) and between devices (from a keyboard to a computer, or from a computer to a printer). Bytes are often grouped into data packets to be sent. The best way to send them depends on the distance, the speed needed and the cost.
a. Serial transmission
- Definition: bits are sent one after another, one at a time, along a single wire (or channel).
- Characteristics: a single data line carries the bits, usually with a start and stop signal or a clock so that the receiver knows when each bit arrives.
- Operation: to send the byte 10110010, the sender transmits 1, then 0, then 1, and so on, for eight clock ticks.
- Examples: a keyboard or mouse sending data to the computer; a computer sending data to a printer; USB, SATA and Ethernet links.
Benefits
- Cheaper cabling and fewer connector pins.
- No timing problem between wires, so it works over long distances and at very high clock speeds.
- Less interference between wires (crosstalk).
- Reliable and simple to connect.
Drawbacks
- At the same clock speed, fewer bits per tick are sent than in parallel.
- Needs conversion from parallel (inside the computer) to serial and back at each end.
- Higher latency: the delay between sending and receiving a whole group of bits is longer, because they arrive one at a time.
b. Parallel transmission
- Definition: several bits are sent at the same time, each on its own wire.
- Characteristics: a group of wires (for example 8 or 16 or 64) carries a whole byte or word together, with a clock line to time it.
- Operation: to send 10110010, eight wires each carry one bit at the same time, in a single clock tick.
- Examples: data moving between the CPU and RAM on the motherboard; the cables of older hard drives.
Benefits
- More data per clock tick (8 times as much for 8 wires), so it's fast over short distances.
- Simple for devices that already work in words: no conversion needed. It is used for the internal buses of a computer, such as the data and address buses (1.1.3).
Drawbacks
- Skew: the bits can arrive at slightly different times, because the wires differ in length and properties. This gets worse with distance and speed, and limits both.
- Crosstalk: signals in neighbouring wires interfere with each other.
- More wires, so more expensive cables, connectors and circuit-board space.
- Not suitable for long distances.
Comparison
| Serial | Parallel | |
|---|---|---|
| Bits sent at once | 1 | Many (8, 16, 32 or more) |
| Number of wires | One (plus ground and control) | Many |
| Cost of cable | Lower | Higher |
| Skew | None | Yes, limits speed and distance |
| Crosstalk | Low | Higher |
| Distance | Long | Short |
| Typical use | USB, SATA, Ethernet, PCI Express | Internal buses; old printer ports |
Why is serial often faster in practice?
In theory, parallel sends more bits per tick. But because of skew and crosstalk, a parallel link's clock speed has to stay low. A serial link has no skew, so it can run at a much higher clock speed, which more than makes up for sending one bit at a time. That is why modern external links (USB, SATA, PCIe) are serial, often with several serial "lanes" in parallel.
Worked example
Task: a parallel link has 8 wires and a clock speed of 100 MHz. A serial link has 1 wire and a clock speed of 2 GHz. Compare the data rates.
- Parallel: 8 bits 100 000 000 per second bits/s Mbit/s.
- Serial: 1 bit 2 000 000 000 per second bits/s Gbit/s.
The serial link is 2.5 times faster, with one wire instead of eight, because skew and crosstalk limit the parallel link's clock speed, but the serial link isn't affected.
Exam tip: don't just say "parallel is faster". Say how many bits are sent at once, then add the limit: skew and crosstalk reduce the speed and distance of parallel transmission. You may be asked to complete a diagram of serial or parallel transmission, so be able to show one wire against many wires.
Check yourself
What is the difference between serial and parallel transmission?
Serial sends bits one at a time along a single wire. Parallel sends several bits at the same time along separate wires.
What is skew?
When bits sent at the same time on parallel wires arrive at slightly different times, because the wires differ slightly in length or properties.
Give two drawbacks of parallel transmission
Any two of: skew; crosstalk between wires; more wires, so higher cost; unsuitable for long distances.
Why do modern external links such as USB use serial transmission?
Serial has no skew and low crosstalk, so it can run at a much higher clock speed over longer distances with cheaper cables, which gives a higher overall data rate.
Give an example of where parallel transmission is used
The internal buses of a computer, such as the address and data buses.