How FireWire Works
by Jeff Tyson and Julia Layton
Browse the article How FireWire Works
Introduction to How FireWire Works
FireWire 400 connector |
- Fast transfer of data
- Ability to put lots of devices on the bus
- Ease of use
- Hot-pluggable ability
- Provision of power through the cable
- Plug-and-play performance
- Low cabling cost
- Low implementation cost
What is FireWire?
FireWire 400 sockets |
Let's say you have your digital camcorder connected to your home computer. When your computer powers up, it queries all of the devices connected to the bus and assigns each one an address, a process called enumeration. FireWire is plug-and-play, so if you connect a new FireWire device to your computer, the operating system auto-detects it and asks for the driver disc. If you've already installed the device, the computer activates it and starts talking to it. FireWire devices are hot pluggable, which means they can be connected and disconnected at any time, even with the power on.
Now let's take a look at FireWire's specifications.
FireWire Specifications
The original FireWire specification, FireWire 400 (1394a), was faster than USB when it came out. FireWire 400 is still in use today and features: - Transfer rates of up to 400 Mbps
- Maximum distance between devices of 4.5 meters (cable length)
- Transfer rates up to 800 Mbps
- Maximum distance between devices of 100 meters (cable length)
FireWire vs. USB
The key difference between FireWire and USB is that FireWire is intended for devices working with a lot more data -- things like camcorders, DVD players and digital audio equipment. FireWire and USB share a number of characteristics but differ in some important ways. Here's a summary: Feature | ||||
1.1 | 2.0 | 400 | 800 | |
Data transfer rate | 12 Mbps | 480 Mbps | 400 Mbps | 800 Mbps |
Number of devices | 127 | 127 | 63 | 63 |
Plug and play | Yes | Yes | Yes | Yes |
Hot-pluggable | Yes | Yes | Yes | Yes |
Isochronous devices | Yes | Yes | Yes | Yes |
Bus power | Yes | Yes | Yes | Yes |
Bus termination required | No | No | No | No |
Bus type | Serial | Serial | Serial | Serial |
Cable type | Twisted pair (4 wires: 2 power, 1 twisted-pair set) | Twisted pair (4 wires: 2 power, 1 twisted-pair set) | Twisted pair (6 wires: 2 power, 2 twisted-pair sets) | Twisted pair (8 wires: 2 power, 2 twisted-pair sets, 2 ground) |
Networkable | Yes - host-based | Yes - host-based | Yes - peer-to-peer | Yes - peer-to-peer |
Network topology | Hub | Hub | Daisy chain | Daisy chain |
Speed aside, the big difference between FireWire and USB 2.0 is that USB 2.0 is host-based, meaning that devices must connect to a computer in order to communicate. FireWire is peer-to-peer, meaning that two FireWire cameras can talk to each other without going through a computer.
Now let's get back to the implementation of FireWire. How do you connect?
FireWire Cables and Connectors
FireWire devices can be powered or unpowered. FireWire allows devices to draw their power from their connection. Two power conductors in the cable can supply power (8 to 30 volts, 1.5 amps maximum) from the computer to an unpowered device. Two twisted pair sets carry the data in a FireWire 400 cable using a 6-pin configuration. |
Photo courtesy HSW Shopper FireWire adapter cable (9-pin configuration on left) |
Sending Data via FireWire
FireWire uses 64-bit fixed addressing, based on the IEEE 1212 standard. There are three parts to each packet of information sent by a device over FireWire: - A 10-bit bus ID that is used to determine which FireWire bus the data came from
- A 6-bit physical ID that identifies which device on the bus sent the data
- A 48-bit storage area that is capable of addressing 256 terabytes of information for each node
|
Now that we've seen how FireWire works, let's take a closer look at one of its most popular applications: streaming digital video.
FireWire and Digital Video
FireWire really shines when it comes to digital video applications. Most digital video cameras or camcorders now have a FireWire plug. When you attach a camcorder to a computer using FireWire, the connection is amazing. |
You can easily edit and create custom video projects using fast hard drives, a digital camcorder and a computer. With the right software, the computer and the camera communicate, and the computer can download all of the video automatically and with perfect digital clarity. Since the content is digital from start to finish, there is no loss of quality as you work on successive generations.