firewire
firewire
PDF (1)
Twisted pairs
The IEEE 1394 Data and Strobe signals are sent on
Fig.3: The Strobe and Data signals are sent along cables with two separately shielded twisted-wire pairs,
the IEEE 1394 bus via two shielded twisted-wire called TPA (twisted pair A) and TPB (twisted pair B).
pairs, TPA and TPB. Transfers in one direction have the Strobe signal on TPA
and the Data signal on TPB, while those in the opposite
gigabytes of memory and plenty of room for more! direction have the Data signal on TPA and the Strobe
signal on TPB. Fig.3 shows the idea.
Typically devices have three IEEE 1394 ports, but they
can have up to 27. This allows networks to be as simple There are two different kinds of IEEE 1394 cable, with
as a DV camcorder connected to a digital VCR, or more matching connectors. The primary type of cable has not
complicated like the setup shown in Fig.1. As you can only the two separately shielded wire pairs TPA and
see this shows a tree topology, taking advantage of the TPB, but also two DC power conductors the negative
ability of each device to act as a bus repeater or mini being grounded. A cross-section of this type of cable is
hub. shown in Fig.4, and as you can see theres also an outer
shield and sleeve.
One device on the bus acts as bus manager , and can
also act as isochronous resource manager . The latter The IEEE 1394 standard allows nodes to be supplied
allocates bus bandwidth for isochronous data transfers with DC power via the two power conductors. The
when devices request them. When theres a PC in the power can be supplied at a voltage between 8V and 33V,
network, it usually performs the roles of bus manager and the current can be up to 1.5 amps.
and isochronous resource manager.
As the IEEE 1394 bus uses time-domain multiplexing
(TDM), the isochronous resource manager allocates
each isochronous transfer a channel consisting of so
many bandwidth allocation units (i.e., a guaranteed
proportion of the total time slots). A bandwidth
allocation unit is 20.3ns, so there are 6144 of them in a
IEEE 1394 basic cycle of 125us. However 25us of every
cycle is always reserved for asynchronous control data
transfers, so a maximum of 4195 units is available for
isochronous transfers. Typically a stream from a DV
camcorder to a PC or digital VCR might need to be
allocated a channel of say 1800 bandwidth units, for
about 30Mb/s.
Only one data packet can occur every basic cycle for a
particular isochronous transfer channel, using that
channels allocated bandwidth units. However multiple
isochronous transfers can take place at the same time, Fig.4: The primary type of IEEE 1394 cable has
providing theres enough bandwidth available. The a pair of power conductors as well as the two
transfers can even be at different rates say one at shielded signal pairs TPA and TPB.
S100 and another at S200. If there isnt enough
bandwidth available when a device requests it, it waits The type of cable shown in Fig.4 is used for most
until the bandwidth does become available. mainstream IEEE 1394 applications, such as interfacing
Asynchronous transfers can have multiple data packets large hard disk arrays to DV editing workstations.
per basic cycle, within the 25us reserved for this type of The second type of cable used for IEEE 1394 has only
signalling. the two shielded twisted pairs TPA and TPB, and can
therefore only be used for signal transfer. This is the
Data-Strobe coding type of cable first used in Sonys iLink, and is now
All data is sent along the IEEE 1394 bus in serial four commonly used for digital video applications. Most DV
byte (32-bit) words, called quadlets . And the quadlets camcorders and VCRs use this type of cable.
are encoded together with their clock signal onto two Due to the high speed at which IEEE 1394 works,
NRZ (non return to zero) bus signals, using a technique cables between device nodes should be no longer than
known as Data-Strobe (DS) coding. This improves 5m long to limit signal attenuation. There should also be
transmission reliability by ensuring that only one of the no more than 16 cable hops separating any two nodes
two signals changes in each data bit period. in an IEEE 1394 network.
Fig.2 shows how DS coding works. The top waveform
shows the Data bits being sent, while the bottom Connectors
waveform shows the Clock signal. At the transmitting Just as there are two types of cable, there are two
node these two are fed to an exclusive-OR gate to types of IEEE 1394 connector to match. Not surprisingly
generate the Strobe signal, shown in the centre. Its this one type provides six connections and the other only
signal and the Data signal which are sent along the bus, four. Both of the plugs are shown in Fig.5, together with
Jaycar Electronics Reference Data Sheet: FIREWIRE.PDF (3)
their pinouts. The corresponding sockets and their
pinouts are complementary, of course.
As you can see both plugs are polarised and fairly
compact. But the inserting section of the primary
6-pin plug is much larger (11.3 x 6.2mm) than that
of the 4-pin plug, which is very small indeed (6.45 x
3.5mm). The larger plug is polarised by a pair of
chamfers at one narrow end, while the smaller one
has an indent in the centre of one side.
Normally all devices with IEEE 1394 ports are
fitted with sockets, and the cables have plugs at
each end. Adapter cables are available to allow data
transfer between devices with 6-pin and 4-pin
sockets, with appropriate plugs at each end. (There
are also short adaptor cables with a plug and a
socket, to mate with a standard like-to-like cable.)
NOTE that in all standard IEEE 1394 cables,
the connections to the two signal twisted pairs
are transposed between the two ends. That is, in
a 6-pin to 6-pin cable pins 4 and 3 at each end
connect to pins 6 and 5 at the other,
respectively. Similarly in a 4-pin to 4-pin cable
pins 2 and 1 at each end connect to pins 4 and 3
at the other, respectively. Fig.5: The two different types of IEEE 1394 plug,
Because of their complex construction and the and their basic pin connections. But note that
small size and precision of their connectors, IEEE the TPA and TPB connections are transposed in
1394 cables can be quite expensive. Because of this all standard IEEE 1394 cables.
and the tiny size of the 4-pin connectors in
particular, they should be treated with care to
ensure that they provide reliable communication at (Copyright © Jaycar Electronics, 2002)
the fast data rates involved.
For more information, please refer to the latest Jaycar Engineering Catalogue or visit www.jaycar.com.au