IEEE 1394-1995 High Performance Serial Bus
IEEE 1394-1995 High Performance Serial Bus
Keyboard
Network
Sound
Power
Serial
modem
video floppy SCSI
n No I/O Integration
w lots of PCB area, silicon & software
w no common architecture
n Hard to change
w no realtime transport
w performance not scalable
©1998 Zayante, Inc. Michael Johas Teener/1394 Technical Summary Slide 2
Permission to copy granted as long as this notification is retained, some text and figures based on 5/96 1394 Technical Summary from Apple Computer
Goals
n Low cost, high performance
ergonomic peripheral bus
n Read/write memory architecture
w NOT an I/O channel
n Compatible architecture with other
IEEE busses
w Follow IEEE 1212 CSR (Control and
Status Register) standard
n Isochronous service
n Asynchronous transport
w ÒGuaranteed deliveryÓ
w Reliability more important than timing
w Retries are OK
n Isochronous transport
w ÒGuaranteed timingÓ
w Late data is useless
w Never retry
Stereo
CPU Mag Disk
Interface
Stereo Mag
CPU
Interface Disk
Keyboard
Network
Sound
Power
Serial
modem
video floppy SCS
I
serial
ADB
video serial bus modem
plus telephone/voice,
sound input, hi-fi sound,
compressed video
©1998 Zayante, Inc. Michael Johas Teener/1394 Technical Summary Slide 8
Permission to copy granted as long as this notification is retained, some text and figures based on 5/96 1394 Technical Summary from Apple Computer
Protocols
n IEEE 1394-1995 High Speed Serial Bus
w ÒMemory-bus-likeÓ logical architecture
w Serial implementation of 1212 architecture
n IEEE 1212-1991 CSR Architecture
w Standardized addressing
w Well-defined control and status registers
w Standardized transactions
n X3T10 Serial Bus Protocol-2 and IEC 61883
w SBP-2 integrates DMA into I/O process
w IEC 1883 defines control and data for A/V devices
Packets
Link Layer
Cycle Control Packet Transmitter Packet Receiver
Symbols
Physical Layer
Encode/Decode Arbitration Media Interface
Cable
Interface Cable Cable Cable
(port n) Interface Interface Interface
(port 1) (port 2) (port n)
n Live attach/detach
w System protected from power on/off
cycling
w Higher layers provide simple
management
Strobe
leaf branch
leaf leaf
p p
leaf branch
ch ch
p p
leaf leaf
n After Tree ID process, the Root node is determined and each port is
labeled as pointing to a child or a parent
w Root assignment is ÒstickyÓ, will normally persist across a bus reset.
p p
leaf branch
node#0 node #3
ch ch
p p
leaf leaf
node #1 node #2
request
p p
leaf branch
node#0 node #3
ch ch
request
p p
leaf leaf
node #1 node #2
request
request deny
p p
leaf branch
node#0 node #3
ch ch
deny request
p p
leaf leaf
node #1 node #2
request deny
p p
leaf branch
node#0 node #3
ch ch
deny request
deny
p p
leaf leaf
node #1 node #2
deny
deny
p p
leaf leaf
node #1 node #2
data prefix
data prefix
p p
leaf leaf
node #1 node #2
n The parent of node 1 sees the data prefix and withdraws the grant, and
now all nodes are correctly oriented to repeat the packet data (a "deny"
is a "data prefix!) ...
n Implements acknowledged
datagram service
w Called a "subaction" of arbitration, packet
transmission, and acknowledge
n Flexible addressing using 1212
architecture
w Direct 64-bit addressing (48 bits per node)
w Hierarchical addressing for up to 63 nodes
on 1023 busses
n Optional
w But required for multimedia applications
n Multiple "channels" each 125 µsec
"cycle" period
w Channel count limited by available bandwidth
n Variable channel size up to ≈1000
bytes/cycle
w Up to ≈2000 bytes/cycle at 196 Mbit/sec
Requester Responder
Link layer Link layer
arbitration &
Link request packet
transmission
Link indication
Link response
Link acknowledge
(not present for
confirmation
broadcast or
isochronous)
fairness interval N
fairness fairness
interval N-1 owner A owner B owner M interval N+1
ack
ack
ack
ack
ack
data arb data arb data •¥• •¥
arb ¥ arb data arb data
subactio
n
arbitration subaction gaps arbitration reset gap
reset gap
node A
node B
node C
Requestor Responder
Transaction Transaction
Layer Layer
Transaction trans
Request actio
i n f o r n control
matio
n Transaction
includes data if Indication
"write" or "lock"
tatu s
o n s
r a n s acti t i o n Transaction
t ma
infor Response
Transaction includes data if
Confirmation "read" or "lock"
separate Read
subactions Conf
(pend) Resp
Indication
Ack (pend)
(pend)
Other Link-Layer operations can
take place between these two
subactions, including sending Link Read
Request
other transaction requests or Resp Response
Link Packet
(complete,
responses Indication
with data)
Read Conf
Confirmation Resp (compl)
(complete, with (compl) Ack
data) (compl)
Read
Conf
(pend)
Indication
Resp
Ack (pend)
(pend) Link
the responder does not release the bus Request
Read
Resp
after sending the ack, sends response Link Packet Response
packet within 1.5µsec Indication (complete,
with data )
Read Conf
Confirmation Resp (compl)
(complete, with (compl) Ack
data) (compl)
Write Indication
Write Response
(complete)
Conf
(comp) Resp
Ack (comp)
Write Confirmation (comp)
(complete)