T exas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue
any product or service without notice, and advise customers to obtain the latest version of relevant information
to verify, before placing orders, that information being relied on is current and complete. All products are sold
subject to the terms and conditions of sale supplied at the time of order acknowledgement, including those
pertaining to warranty, patent infringement, and limitation of liability.
TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in
accordance with TI’s standard warranty. Testing and other quality control techniques are utilized to the extent
TI deems necessary to support this warranty . Specific testing of all parameters of each device is not necessarily
performed, except those mandated by government requirements.
CERT AIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MA Y INVOLVE POTENTIAL RISKS OF
DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL
APPLICATIONS”). TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, AUTHORIZED, OR
WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER
CRITICAL APPLICA TIONS. INCLUSION OF TI PRODUCTS IN SUCH APPLICATIONS IS UNDERST OOD TO
BE FULLY AT THE CUSTOMER’S RISK.
In order to minimize risks associated with the customer’s applications, adequate design and operating
safeguards must be provided by the customer to minimize inherent or procedural hazards.
TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent
that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other
intellectual property right of TI covering or relating to any combination, machine, or process in which such
semiconductor products or services might be or are used. TI’s publication of information regarding any third
party’s products or services does not constitute TI’s approval, warranty or endorsement thereof.
The TSB12C01A is an IEEE 1394-1995 standard (from now on referred to only as 1394) high-speed
serial-bus link-layer controller that allows for easy integration into an I/O subsystem. The TSB12C01A
transmits and receives correctly formatted 1394 packets and generates and inspects the 32-bit cyclic
redundancy check (CRC). The TSB12C01A is capable of being a cycle master and supports reception of
isochronous data on two channels. It interfaces directly to the TSB11C01, TSB11LV01, and TSB21LV03
physical-layer chips and can support bus speeds of 100, 200, and 400 Mb/s. The TSB12C01A has a generic
32-bit host bus interface, which makes connection to most 32-bit host buses very simple. The TSB12C01A
has software-adjustable FIFOs for optimal FIFO size and performance characterization and allows for
variable-size asynchronous-transmit FIFO (ATF), isochronous-transmit FIFO (ITF), and general-receive
FIFO (GRF).
This document is not intended to serve as a tutorial on 1394; users should refer to the IEEE 1394-1995 serial
bus for detailed information regarding the 1394 high-speed serial bus.
1.2Features
The following are features of the TSB12C01A.
1.2.1Link
•Complies With IEEE-1394-1995 Standard
•Transmits and Receives Correctly Formatted 1394 Packets
•Supports Isochronous Data Transfer
•Performs Function of Cycle Master
•Generates and Checks 32-Bit CRC
•Detects Lost Cycle-Start Messages
•Contains Asynchronous, Isochronous, and General-Receive FIFOs
1.2.2Physical-Link Interface
•Interfaces Directly to the TSB1 1C01, TSB11LV01, TSB14C01, and TSB21LV03 Phy Chips
•Supports Speeds of 100, 200, and 400 Mb/s
•Implements the Physical-Link Interface Described in Annex J of the IEEE 1394-1995 Standard
•Supports TI Bus Holder Isolation External Implementation
1.2.3Host Bus Interface
•Provides Chip Control With Directly Addressable Registers
•Is Interrupt Driven to Minimize Host Polling
•Has a Generic 32-Bit Host Bus Interface
1.2.4General
•
Requires a Single 5-V ±5% Power Supply
•Manufactured with Low-Power CMOS Technology
•Packaged in a 100-Pin Thin Quad Flat Package (TQFP) (PZ Package) for 0°C to 70°C and –40°C
to 85°C Operation
•Packaged in a 100-Pin Ceramic Quad Flat Package (WN Package) for –55°C to 125°C Operation
CA35OCycle acknowledge (active low). CA is a TSB12C01A control signal to the host bus.
CS34I
DATA0 –
DATA31
INT37O
WR36I
22–25
27–30
2–5
7–10
12–15
17–20
82–85
87–90
92–95
97–100
IAddress 0 through address 7. Host bus address bus bits 0 through 7 that address
the quadlet-aligned FIFOs and configuration registers. The two least significant
address lines, 6 and 7, must be grounded.
When asserted (low), access to the configuration registers or FIFO is complete.
Cycle start (active low). CS is a host bus control signal to enable access to the
configuration registers or FIFO.
I/OData 0 through 31. DATA is a host bus data bus bits 0 through 31.
Interrupt (active low). When INT is asserted (low), the TSB12C01A notifies the host
bus that an interrupt has occurred.
Read/write enable. When WR is deasserted (high) in conjunction with CS, a read
from the TSB12C01A is requested. When WR
CS
, a write to the TSB12C01A is requested.
is asserted (low) in conjunction with
1–4
T able 1–1. Terminal Functions (Continued)
I/O
DESCRIPTION
TERMINAL
NAMENO.
Phy Interface
CTL1, CTL062, 63I/OControl 1 and control 0 of the phy-link control bus. CTL1 and CTL0 indicate the four
D0 – D752–55
57–60
ISO69I
LREQ67OLink request. LREQ is a TSB12C01A output that makes bus requests and accesses
POWERON76OPower on indicator to phy interface. When active, POWERON has a clock output with
SCLK65ISystem clock. SCLK is a 49.152-MHz clock from the phy, that generates the
BCLK32IBus clock. BCLK is the host bus clock used in the host-interface module of the
CYCLEIN42ICycle in. CYCLEIN is an optional external 8,000-Hz clock used as the cycle clock,
CYCLEOUT44OCycle out. CYCLEOUT is the TSB12C01A version of the cycle clock. It is based on
CYDNE49OStatus of CyDne bit. When the RevAEn bit of the control register is set, CYDNE
CYST50OStatus of CySt bit. When the RevAEn bit of the control register is set, CYST indicates
GND1, 11,
21, 31,
38, 40,
41,
45–47,
51, 61,
66, 68,
70,
78–81,
91
GRFEMP48OStatus of Empty bit. When the RevAEn bit of the control register is set, GRFEMP
RAMEz77IRAM 3-state enable. When RAMEz is deasserted (low), FIFOs are enabled. When
operations that can occur in this interface (see Section 7 of this document or Annex
J of the IEEE 1394-1995 standard for more information about the four operations).
I/OData 0 through data 7 of the phy-link data bus. Data is expected on D0 – D1 for
100 Mb/s packets, D0 – D3 for 200 Mb/s, and D0 – D7 for 400 Mb/s.
Isolation barrier (active low). This ISO is asserted (low) when an isolation barrier is
present.
the phy layer.
1/32 of the BCLK frequency and indicates to the phy interface that the TSB12C01A
is powered. This terminal can be connected to the link power status (LPS) terminal
on the TI phy devices to provide an indication of the LLC power condition.
24.576-MHz clock.
Miscellaneous Signals
TSB12C01A. It is asynchronous to SCLK.
and it should only be used when attached to the cycle-master node. It is enabled by
the cycle source bit and should be tied high when not used.
the timer controls and received cycle-start messages.
indicates the value of the CyDne bit of the interrupt register. When RevAEn is cleared,
CYDNE is a 3-state output.
the value of the CySt bit of the interrupt register. When RevAEn is cleared, CYST is
a 3-state output.
Ground reference
indicates the value of the Empty bit of the GRF status register. When RevAEn is
cleared, GRFEMP is a 3-state output.
RAMEz is asserted, the FIFOs are 3-state outputs. (This is a manufacturing
test-mode condition and should be grounded under normal operating conditions.)
1–5
T able 1–1. Terminal Functions (Continued)
I/O
DESCRIPTION
TERMINAL
NAMENO.
NTBIHIZ71INAND-tree bidirectional 3-state output. When NTBIHIZ is deasserted (low), the
NTCLK73INAND clock input. The NAND-tree clock is used for VIH and VIL manufacturing
NTOUT72ONAND-tree output. This output should remain open under normal operating
RESET39IReset (active low). RESET is the asynchronous reset to the TSB12C01A.
V
CC
6, 16, 26,
33, 43, 56,
64, 74, 86,
96
bidirectional I/Os operate in a normal state. When NTBIHZ is asserted (high), the
bidirectional I/Os are in the 3-state output mode. (This is a manufacturing
test-mode condition and should be grounded under normal operating conditions.)
tests. (This input should be grounded under normal operating conditions.)
conditions.
5-V ±5% power supplies
1–6
2 Architecture
2.1Functional Block Diagram
The functional block architecture of the TSB12C01A is shown in Figure 2–1.
Transmitter
H
o
s
t
I
n
t
e
r
f
a
c
e
ATF
ITF
GRF
Cycle Timer
CRC
Cycle Monitor
Receiver
Configuration Registers
P
h
y
s
i
c
a
l
I
n
t
e
r
f
a
c
e
Figure 2–1. TSB12C01A Block Diagram
2.1.1Physical Interface
The physical (phy) interface provides phy-level services to the transmitter and receiver. This includes
gaining access to the serial bus, sending packets, receiving packets, and sending and receiving
acknowledge packets.
The phy interface module also interfaces to the phy chip and conforms to the phy-link interface specification
described in Annex J of the IEEE 1394-1995 standard (refer to Section 7 of this document for more
information).
2.1.2Transmitter
The transmitter retrieves data from either the ATF or the ITF and creates correctly formatted serial-bus
packets to be transmitted through the phy interface. When data is present at the ATF interface to the
transmitter, the TSB12C01A phy interface arbitrates for the serial bus and sends a packet. When data is
present at the ITF interface to the transmitter, the TSB12C01A arbitrates for the serial bus during the next
isochronous cycle. The transmitter autonomously sends the cycle-start packets when the chip is a cycle
master.
2–1
2.1.3Receiver
The receiver takes incoming data from the phy interface and determines if the incoming data is addressed
to this node. If the incoming packet is addressed to this node, the CRC of the packet is checked. If the header
CRC is good, the header is confirmed in the GRF . For block and isochronous packets, the remainder of the
packet is confirmed one quadlet at a time. The receiver places a status quadlet in the GRF after the last
quadlet of the packet is confirmed in the GRF . The status quadlet contains the error code for the packet. The
error code is the acknowledge code that is sent for that packet. For broadcast packets that do not need
acknowledge packets, the error code is the acknowledge code that would have been sent. This
acknowledge code tells the transaction layer whether or not the data CRC is good or bad. When the header
CRC is bad, the header is flushed and the rest of the packet is ignored.
When a cycle-start message is received, it is detected and the cycle-start message data is sent to the cycle
timer. The cycle-start messages are not placed in the GRF like other quadlet packets. At the end of an
isochronous cycle and if the cycle mark enable (CyMrkEn) bit of the control register is set , the receiver
inserts a cycle-mark packet in the GRF to indicate the end of the isochronous cycle.
2.1.4Transmit and Receive FIFOs
The TSB12C01A contains two transmit FIFOs (asynchronous and isochronous) and one receive FIFO
(general receive). Each of these FIFOs is one quadlet wide and their length is software adjustable. These
software-adjustable FIFOs allow customization of the size of each FIFO for individual applications. The sum
of all FIFOs cannot be larger than 509 quadlets. To understand how to set the size of the FIFOs, see
subsections 3.2.1 1 through 3.2.13. The transmit FIFOs are write only from the host bus interface, and the
receive FIFO is read only from the host bus interface.
An example of how to use software-adjustable FIFOs follows:
In applications where isochronous packets are large and asynchronous packets are small, the implementer
can set the ITF and GRF to a large size (200 quadlets each) and set the A TF to a smaller size (100 quadlets).
Notice that the sum of all FIFOs is less than or equal to 509 quadlets.
2.1.5Cycle Timer
The cycle timer is used by nodes that support isochronous data transfer. The cycle timer is a 32-bit
cycle-timer register. Each node with isochronous data-transfer capability has a cycle-timer register as
defined in the IEEE 1394-1995 standard. In the TSB12C01A, the cycle-timer register is implemented in the
cycle timer and is located in IEEE-1212 initial register space at location 200h and can also be accessed
through the local bus at address 14h. The low-order 12 bits of the timer are a modulo 3072 counter, which
increments once every 24.576-MHz clock periods (or 40.69 ns). The next 13 higher-order bits are a count
of 8, 000-Hz (or 125 µs)cycles, and the highest 7 bits count seconds.
The cycle timer contains the cycle-timer register. The cycle-timer register consists of three fields: cycle
offset, cycle count, and seconds count. The cycle timer has two possible sources. First, if the cycle source
(CySrc) bit in the configuration register is set, then the CYCLEIN input causes the cycle count field to
increment for each positive transition of the CYCLEIN input (8 kHz) and the cycle offset resets to all zeros.
CYCLEIN should only be the source when the node is cycle master. When the cycle-count field increments,
CYCLEOUT is generated. The timer can also be disabled using the cycle-timer-enable bit in the control
register. See subsection 3.2.5 for more information.
The second cycle-source option is when the CySrc bit is cleared. In this state, the cycle-offset field of the
cycle-timer register is incremented by the internal 24.576-MHz clock. The cycle timer is updated by the
reception of the cycle-start packet for the noncycle master nodes. Each time the cycle-offset field rolls over ,
the cycle-count field is incremented and the CYCLEOUT signal is generated. The cycle-offset field in the
cycle-start packet is used by the cycle-master node to keep all nodes in phase and running with a nominal
isochronous cycle of 125 µs.
2–2
CYCLEOUT indicates to the cyclemaster node that it is time to send a cycle-start packet. And, on
noncyclemaster nodes, CYCLEOUT indicates that it is time to expect a cycle-start packet. The cycle-start
bit is set when the cycle-start packet is sent from the cyclemaster node or received by a noncyclemaster
node.
2.1.6Cycle Monitor
The cycle monitor is only used by nodes that support isochronous data transfer. The cycle monitor observes
chip activity and handles scheduling of isochronous activity . When a cycle-start message is received or sent,
the cycle monitor sets the cycle-started interrupt bit. It also detects missing cycle-start packets and sets the
cycle-lost interrupt bit when this occurs. When the isochronous cycle is complete, the cycle monitor sets the
cycle-done-interrupt bit. The cycle monitor instructs the transmitter to send a cycle-start message when the
cycle-master bit is set in the control register.
2.1.7 Cyclic Redundancy Check (CRC)
The CRC module generates a 32-bit CRC for error detection. This is done for both the header and data. The
CRC module generates the header and data CRC for transmitting packets and checks the header and data
CRC for received packets. See the IEEE 1394-1995 standard for details on the generation of the CRC
†
2.1.8Internal Registers
The internal registers control the operation of the TSB12C01A. The register definitions are specified in
Section 3.
2.1.9Host Bus Interface
The host bus interface allows the TSB12C01A to be easily connected to most host processors. This host
bus interface consists of a 32-bit data bus and an 8-bit address bus. The TSB12C01A utilizes cycle-start
and cycle-acknowledge handshake signals to allow the local bus clock and the 1394 clock to be
asynchronous to one another. The TSB12C01A is interrupt driven to reduce polling.
.
†
This is the same CRC used by the IEEE802 LANs and the X3T9.5 FDDI.
2–3
2–4
3 Internal Registers
3.1General
The host-bus processor directs the operation of the TSB12C01A through a set of registers internal to the
TSB12C01A itself. These registers are read or written by asserting CS
– ADDR7 and asserting or deasserting WR
the register addresses; subsequent sections describe the function of the various registers.
depending on whether a read or write is needed. Figure 3–1 lists
3.2Internal Register Definitions
The TSB12C01A internal registers control the operation of the TSB12C01A. The bit definitions of the internal
registers are shown in Figure 3–1 and are described in subsections 3.2.1 through 3.2.13.
The version/revision register allows software to be written that supports multiple versions of the high-speed
serial-bus link-layer controllers. This register is at address 00h and is read only. The initial value is
3031_3041h.
3–2
Loading...
+ 40 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.