Professional Documents
Culture Documents
Class Presentation
Class Presentation
As the clock rate of a circuit increases, timing becomes more critical and less variation
can be tolerated if the circuit is to function properly.
Maheshwari, N., and Sapatnekar, S.S., Timing Analysis and Optimization of Sequential
Circuits, Kluwer, 1999.
serial communication is the process of sending data one bit at one time, sequentially,
over a communication channel or computer bus. This is in contrast to parallel
communication, where several bits are sent together, on a link with several parallel
channels. Serial communication is used for all long-haul communication and most
computer networks, where the cost of cable and synchronization difficulties make parallel
communication impractical. At shorter distances, serial computer buses are becoming
more common because of a tipping point where the disadvantages of parallel buses (clock
skew, interconnect density) outweigh their advantage of simplicity (no need for serializer
and deserializer (SERDES)). Improved technology to ensure signal integrity and to
transmit and receive at a sufficiently high speed per lane have made serial links
competitive. The migration from PCI to PCI Express is an example.
Integrated circuits are more expensive when they have more pins. To reduce the pins,
many ICs use a serial bus to transfer data when speed is not important. Some examples of
such low-cost serial buses include SPI, I²C, and 1-Wire.
At first sight it would seem that a serial link must be inferior to a parallel one, because it
can transmit less data on each clock tick. However, it is often the case that serial links can
be clocked considerably faster than parallel links, and achieve a higher data rate. A
number of factors allow serial to be clocked at a greater rate:
In many cases, serial is a better option because it is cheaper to implement. Many ICs have
serial interfaces, as opposed to parallel ones, so that they have fewer pins and are
therefore less expensive.
By convention, bus and network speeds are denoted either in bit/s (bits per second) or
byte/s (bytes per second). In general, parallel interfaces are quoted in byte/s and serial in
bit/s. The more commonly used is shown below in bold type.
On devices like modems, bytes may be more than 8 bits long because they may be
individually padded out with additional start and stop bits; the figures below will reflect
this. Where channels use line codes (such as Ethernet, Serial ATA and PCI Express),
quoted speeds are for the decoded signal.
The figures below are simplex speeds, which may conflict with the duplex speeds
vendors sometimes use in promotional materials. Where two values are listed, the first
value is the downstream rate and the second value is the upstream rate.
1 byte = 8 bits
1 kbit = 1,000 bits
1 Mbit = 1,000,000 bits
1 Gbit = 1,000,000,000 bits
1 kB = 1,000 bytes
1 MB = 1,000,000 bytes
1 GB = 1,000,000,000 bytes
1 TB = 1,000,000,000,000 bytes
Wireless networks
802.11 networks are half-duplex; all stations share the medium. In access point mode, all
traffic has to pass through the AP (Access Point). Thus, two stations on the same AP
which are communicating with each other must have each and every frame transmitted
twice: from the sender to the access point, then from the access point to the receiver. This
approximately halves the effective bandwidth.
Speed
Device Speed (bit/s)
(byte/s)
802.11 (legacy) 0.125 2.0 Mbit/s 0.25 MB/s
802.11b DSSS 0.125 11.0 Mbit/s 1.375 MB/s
802.11b+ (TI-proprietary extension to 802.11b, non-
44.0 Mbit/s 5.5 MB/s
IEEE standard[22][23]) DSSS 0.125
802.11a 0.75 54.0 Mbit/s 6.75 MB/s
802.11g OFDM 0.125 54.0 Mbit/s 6.75 MB/s
802.16 (WiMAX) 70.0 Mbit/s 8.75 MB/s
802.11g with Super G (Atheros-proprietary extension
108.0 Mbit/s 13.5 MB/s
to 802.11g) DSSS 0.125
802.11g with 125HSM (a.k.a. Afterburner,
125.0 Mbit/s 15.625 MB/s
Broadcom-proprietary extension to 802.11g)
802.11g with Nitro (Conexant-proprietary extension
140.0 Mbit/s 17.5 MB/s
to 802.11g)
Varies, 600.0 Varies, 75 MB/s
802.11n
Mbit/s Max Max
[edit] Portable
Device Speed (bit/s) Speed (byte/s)
PC Card 16 bit 255ns Byte mode 31.36 Mbit/s 3.92 MB/s
PC Card 16 bit 255ns Word mode 62.72 Mbit/s 7.84 MB/s
PC Card 16 bit 100ns Byte mode 80 Mbit/s 10 MB/s
PC Card 16 bit 100ns Word mode 160 Mbit/s 20 MB/s
PC Card 32 bit (CardBus) Byte mode 267 Mbit/s 33.33 MB/s
ExpressCard 1.2 USB 2.0 mode 480 Mbit/s 60 MB/s
PC Card 32 bit (CardBus) Word mode 533 Mbit/s 66.66 MB/s
PC Card 32 bit (CardBus) DWord mode 1,067 Mbit/s 133.33 MB/s
ExpressCard 1.2 PCI Express mode 2,500 Mbit/s 312.5 MB/s
ExpressCard 2.0 USB 3.0 mode 4,800 Mbit/s 600 MB/s
ExpressCard 2.0 PCI Express mode 5,000 Mbit/s 625 MB/s
[edit] Storage
Speed Speed
Device
(bit/s) (byte/s)
PC Floppy Disk Controller (1.44MB) 0.5 Mbit/s 0.062 MB/s
1.171875 0.146484375
CD Controller (1x)
Mbit/s MB/s
MFM 5 Mbit/s 0.625 MB/s
RLL 7.5 Mbit/s 0.9375 MB/s
DVD Controller (1x) 11.1 Mbit/s 1.32 MB/s
ESDI 24 Mbit/s 3 MB/s
ATA PIO Mode 0 26.4 Mbit/s 3.3 MB/s
HD DVD Controller (1x) 36 Mbit/s 4.5 MB/s
Blu-ray Controller (1x) 36 Mbit/s 4.5 MB/s
SCSI (Narrow SCSI) (5 MHz)[31] 40 Mbit/s 5 MB/s
ATA PIO Mode 1 41.6 Mbit/s 5.2 MB/s
ATA PIO Mode 2 66.4 Mbit/s 8.3 MB/s
Fast SCSI (8 bits/10 MHz) 80 Mbit/s 10 MB/s
ATA PIO Mode 3 88.8 Mbit/s 11.1 MB/s
iSCSI over Fast Ethernet 100 Mbit/s 12.5 MB/s
ATA PIO Mode 4 133.3 Mbit/s 16.7 MB/s
Fast Wide SCSI (16 bits/10 MHz) 160 Mbit/s 20 MB/s
Ultra SCSI (Fast-20 SCSI) (8 bits/20 MHz) 160 Mbit/s 20 MB/s
Ultra DMA ATA 33 264 Mbit/s 33 MB/s
Ultra Wide SCSI (16 bits/20 MHz) 320 Mbit/s 40 MB/s
Ultra-2 SCSI 40 (Fast-40 SCSI) (8 bits/40 MHz) 320 Mbit/s 40 MB/s
Ultra DMA ATA 66 528 Mbit/s 66 MB/s
Ultra-2 wide SCSI (16 bits/40 MHz) 640 Mbit/s 80 MB/s
Serial Storage Architecture SSA 640 Mbit/s 80 MB/s
Ultra DMA ATA 100 800 Mbit/s 100 MB/s
Fibre Channel 1GFC (1.0625 GHz)[32] 850 Mbit/s 106.25 MB/s
iSCSI over Gigabit Ethernet 1,000 Mbit/s 125 MB/s
Ultra DMA ATA 133 1,064 Mbit/s 133 MB/s
Ultra-3 SCSI (Ultra 160 SCSI; Fast-80 Wide SCSI) (16
1,280 Mbit/s 160 MB/s
bits/40 MHz DDR)
Serial ATA (SATA-150)[33] 1,200 Mbit/s 150 MB/s
Fibre Channel 2GFC (2.125 GHz)[32] 1,700 Mbit/s 212.5 MB/s
Serial ATA 2 (SATA-300)[33] 2,400 Mbit/s 300 MB/s
Serial Attached SCSI (SAS)[33] 2,400 Mbit/s 300 MB/s
Ultra-320 SCSI (Ultra4 SCSI) (16 bits/80 MHz DDR) 2,560 Mbit/s 320 MB/s
Fibre Channel 4GFC (4.25 GHz)[32] 3,400 Mbit/s 425 MB/s
Serial ATA (SATA-600)[33] 4,800 Mbit/s 600 MB/s
Serial Attached SCSI (SAS) 2[33] 4,800 Mbit/s 600 MB/s
Ultra-640 SCSI (16 bits/160 MHz DDR) 5,120 Mbit/s 640 MB/s
Fibre Channel 8GFC (8.50 GHz)[32] 6,800 Mbit/s 850 MB/s
iSCSI over 10GbE 10,000 Mbit/s 1,250 MB/s
FCoE over 10GbE 10,000 Mbit/s 1,250 MB/s
iSCSI over InfiniBand 4x 40,000 Mbit/s 5,000 MB/s
100,000
iSCSI over 100G Ethernet (hypothetical)[citation needed] 12,500 MB/s
Mbit/s
A wide variety of different wireless data technologies now exist, some in direct
competition with one another, others designed to be optimal for specific applications.
Wireless technologies can be evaluated by a variety of different metrics described below.
UWB, Bluetooth, ZigBee, and Wireless USB are intended for use as so called Wireless
PAN systems. They are intended for short range communication between devices
typically controlled by a single person. A keyboard might communicate with a computer,
or a mobile phone with a handsfree kit, using any of these technologies.
WiFi is the most successful system intended for use as a WLAN system. A WLAN is an
implementation of a LAN over a microcellular wireless system. Such systems are used to
provide wireless Internet access (and access to other systems on the local network such as
other computers, shared printers, and other such devices) throughout a private property.
Typically a WLAN offers much better bandwidth and latency than the user's Internet
connection, being designed as much for local communication as for access to the Internet,
and while WiFi may be offered in many places as an Internet access system, access
speeds are usually more limited by the shared Internet connection and number of users
than the technology itself. Other systems that provide WLAN functionality include
DECT and HIPERLAN.
GPRS, EDGE and 1xRTT are bolt-ons to existing 2G cellular systems, providing Internet
access to users of existing 2G networks (it should be noted that technically both EDGE
and 1xRTT are 3G standards, as defined by the ITU, but are generally deployed on
existing networks.) 3G systems such as EV-DO, W-CDMA (including HSDPA and
HSUPA) provide combined circuit switched and packet switched data and voice services
as standard, usually at better data rates than the 2G extensions. All of these services can
be used to provide combined mobile phone access and Internet access at remote
locations. Typically GPRS and 1xRTT are used to provide stripped down, mobile phone
oriented, Internet access, such as WAP, multimedia messaging, and the downloading of
ring-tones, whereas EV-DO and HSDPA's higher speeds make them suitable for use as a
broadband replacement.
Pure packet-switched only systems can be created using 3G network technologies, and
UMTS-TDD is one example of this. Alternatively, next generation systems such as
WiMAX also provide pure packet switched services with no need to support the circuit
switching services required for voice systems. WiMAX is available in multiple
configurations, including both NLOS and LOS variants. UMTS-TDD, WiMAX, and
proprietary systems such as Canopy are used by Wireless ISPs to provide broadband
access without the need for direct cable access to the end user.
Frequency
Allocated Frequencies
Standard Frequencies Spectrum Type
850 MHz, 1.9, 1.9/2.1, and
UMTS over W-CDMA Licensed (Cellular/PCS/3G/AWS)
1.7/2.1 GHz
450, 850 MHz, 1.9, 2, 2.5, Licensed (Cellular, 3G TDD,
UMTS-TDD and 3.5 GHz[3] BRS/IMT-ext, FWA)
2 GHz Unlicensed (see note)
CDMA2000 (inc. EV- 450, 850, 900 MHz 1.7, 1.8,
Licensed (Cellular/PCS/3G/AWS)
DO, 1xRTT) 1.9, and 2.1 GHz
850 MHz 900 MHz 1.8 GHz
EDGE/GPRS Licensed (Cellular/PCS/PCN)
1.9 GHz
iBurst 1.8, 1.9 and 2.1 GHz Licensed
Flash-OFDM 450 and 870 MHz Licensed
802.16e 2.3, 2.5, 3.5, 3.7 and 5.8 GHz Licensed
802.11a 5.25, 5.6 and 5.8 GHz Unlicensed 802.11a and ISM
802.11b/g/n 2.4 GHz Unlicensed ISM
Bluetooth 2.4 GHz Unlicensed ISM
Wibree 2.4 GHz Unlicensed ISM
868 MHz, 915 MHz, 2.4
ZigBee Unlicensed ISM
GHz
Wireless USB, UWB 3.1 to 10.6 GHz Unlicensed Ultrawideband
EnOcean 868.3 MHz Unlicensed ISM
http://cnx.org/content/m12293/latest/
Figure 1:
1: RS-232 Instrument,2: RS-232 Cable, 3: Serial Port
Figure 1 (sercomm.png)
Signal>3V=0
Signal
3
V
Signal>-3V=1
Signal
-3
V
The output signal level usually swings between +12 V and -12
V. The dead area between +3 V and -3 V is designed to absorb
line noise.
A start bit signals the beginning of each character frame. It is
a transition from negative (MARK) to positive (SPACE)
voltage. Its duration in seconds is the reciprocal of the baud
rate. If the instrument is transmitting at 9,600 baud, the
duration of the start bit and each subsequent bit is about 0.104
ms. The entire character frame of eleven bits would be
transmitted in about 1.146 ms.
Data bits are transmitted upside down and backwards. That is,
inverted logic is used, and the order of transmission is from
least significant bit (LSB) to most significant bit (MSB). To
interpret the data bits in a character frame, you must read from
right to left and read 1 for negative voltage and 0 for positive
voltage. This yields 1101101 (binary) or 6D (hex). An ASCII
conversion table shows that this is the letter m.
9,60011=872
9,600
11
872
characters per second. Notice that this is the
maximum character transmission rate. The hardware on one end
or the other of the serial link might not be able to reach
these rates, for various reasons.
Hardware Overview
RS-232
RS-232 Cabling
Function
Signal
PIN
DTE
DCE
Data
TxD
3
Output
Input
RxD
2
Input
Output
Handshake
RTS
7
Output
Input
CTS
8
Input
Output
DSR
6
Input
Output
DCD
1
Input
Output
STR
4
Output
Input
Common
Com
5
--
--
Other
RI
9
Output
Input
Note:
The DB-9 pin numbers for transmit and receive (3 and 2) are
opposite of those on the DB-25 connector (2 and 3). Be
careful of this difference when you are determining if a
device is DTE or DCE.
The DB-25 connector is the
standard RS-232 connector, with enough pins to cover all the
signals specified in the standard. Table 2
shows only the core set of pins that are used for most
RS-232 interfaces.
Function
Signal
PIN
DTE
DCE
Data
TxD
2
Output
Input
RxD
3
Input
Output
Handshake
RTS
4
Output
Input
CTS
5
Input
Output
DSR
6
Input
Output
DCD
8
Input
Output
STR
20
Output
Input
Common
Com
7
--
--
Software Overview
You used some of the VISA functions on this palette for GPIB
communication. The VISA Write and VISA
Read functions work with any type of instrument
communication and are the same whether you are doing GPIB or
serial communication. However, because serial communication
requires you to configure extra parameters, you must start the
serial port communication with the VISA Configure Serial
Port VI.
Example 1