Technical Brief O K I AS I C PR O S D U C T W812 IEEE 1394 Controller 0.35 µm Technology Mega Macrofunction November 1997 ■ ■ ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– Contents Description................................................................................................................................................................ 1 Features .....................................................................................................................................................................1 Signal Descriptions ..................................................................................................................................................4 Functional Description ............................................................................................................................................5 Functional Modules ...........................................................................................................................................5 Data Path Interface ......................................................................................................................................5 Asynchronous Transfer Request Block ....................................................................................................5 Isochronous Transfer Request Block ........................................................................................................5 Read-Write Request Block .........................................................................................................................5 Annex J Request Block ................................................................................................................................5 Transmitter and Receiver Block ................................................................................................................5 Byte-wide Serializer and Deserializer ......................................................................................................6 Quadlet Serializer and Deserializer ..........................................................................................................6 Quadlet Buffer .............................................................................................................................................6 Link Core Controller State Machine .........................................................................................................6 CRC Generator and Checker .....................................................................................................................6 Oki Semiconductor W812 IEEE 1394 Link Layer Controller 0.35 µm Technology Mega Macrofunction DESCRIPTION The W812, Oki Semiconductor’s 1394 Link Layer Controller, is IEEE 1394-1995 compliant and features an embedded high-performance application bus interface. This device performs data packaging according to the IEEE 1394-1995 Standard, and bidirectional asynchronous/isochronous data transfers to/from an IEEE 1394 serial bus physical layer (PHY) device. The W812 is optimized for use as a peripheral link layer controller. The application bus interface, which transfers data between a FIFO and the host controller, is designed for highly efficient transport. Oki also provides an optional FIFO controller, the W812-F to readily interface with the W812. Oki’s W812 accommodates different application needs by using a flexible architecture which to support both asynchronous and isochronous data transfers or only asynchronous data transfers. This technology give system designers the maximum flexibility in their design. FEATURES • Compliant with IEEE 1394-1995 Standard Link Layer Controller • Compatible with Texas Instruments’ Physical Layer Controllers • Offers programmable FIFO channel for asynchronous and isochronous transmission and general reception • Supports transfer rates of 100, 200, and 400 Mbps • Uses flexible architecture to support both asynchronous and isochronous data transfers or only asynchronous data transfers • Offers high performance application bus interface • Has 32-bit cyclic redundancy check (CRC) for transmission and reception of 1394 packets Recommended Operating Conditions (VSS = 0 V) Parameter Symbol Power supply voltage VDD 2.7 3.3 3.6 V Operating temperature Tj -40 +25 +85 °C Min. Typ. Max. Unit Mega Macrofunction Characteristics Mega Macrofunction W812 Description Logic Gate Count Logic Pin Count IEEE 1394 Link Layer Controller 12K 95 Oki Semiconductor 1 ■ W812 IEEE 1394 Link Layer Controller ■ ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– W812 Application Bus Interface DPBdata DPBdrive DPBValid DPBValid_en DPBFifoStatus [0:2] DPBadr [0:12] DPBadr_en DPBWrite DPRegLink DPRegWrLink Lclk AnxJLReg Ctlln [0:1] CtlOut [0:1] CtlTriEnb AnxJDin [0:7] AnxJDout [0:7] DataTriEnb [0:7] PHY-Link Interface Direct LinkPowerOn DPAckLink DPStallLink Isochronous Control DPBWait MasterReset CycleIn CycleOut Figure 1. W812 Logic Symbol Async Transfer Request Application Bus Interface Isochronous Transfer Request Read and Write Request DPIF Transmitter and Receiver Link Core Controller Quadlet Buffer CRC AnxJRequest Figure 2. W812 Block Diagram 2 Oki Semiconductor Quadlet Serializer and Deserializer Byte-wide Serializer and Deserializer PHY-Link Interface –––––––––––––––––––––––––––––––––––––––––––––––––––––––––– ■ W812 IEEE 1394 Link Layer Controller ■ W812-F FIFO Controller Application Module (Optional) DPIF W812 PHY-Link Interface IEEE 1394 Link Layer PHY 1394Cable IEEE 1394 PHY Layer Figure 3. Example W812 Application Oki Semiconductor 3 ■ W812 IEEE 1394 Link Layer Controller ■ ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– SIGNAL DESCRIPTIONS PHY-Link Interface Signal Lclk Type Assertion Description In — Out — LINK request port to PHY. Used to make bus requests or accesses to PHY. In — Input from Bi-di control port for bi-directional pins. CtlOut Out — Output to Bi-di control port for bi-directional pins. CtlTriEnb Out HIGH AnxJDin In — Input from Bi-di data port. Used to exchange data with PHY. AnxJDout Out — Output to Bi-di data port. Used to exchange data with PHY. DataTriEnb Out HIGH Tri-state enable to Bi-di data port. In HIGH Indicates LINK and PHY are directly connected, rather than through an isolation barrier. Out HIGH Indicates LINK is powered on. AnxJLReg Ctlln Direct LinkPowerOn 50-MHz SCLK from PHY. Tri-state enable to Bi-di control port. Application Bus Interface Signal DPBdata Type Assertion Bi-di — Description Data Path Data Bus. Used to exchange data with other application modules. DPBdrive Out HIGH Indicates W812 is driving DPBdata. DPBValid Bi-di HIGH Indicates the quality description of DPBdata. DPBValid_en Out HIGH Enable to DPBValid signal DPBFifoStatus In — Indicates the FIFO status for fetches and stores by FIFO controller, such as Oki’s W812-F. DPBadr Bi-di — Data Path Bus Address. Specifies the DPBus transfer. DPBadr_en Out HIGH Enables to DPBadr signals. DPBWrite Bi-di HIGH Specifies whether the DPBus transfer is a read or write. DPReqLink Out HIGH DPBus request line for LINK. DPReqWrLink Out HIGH DPBus request operation type line for LINK. DPAckLink In HIGH DPBus request grant line to LINK. DPStallLink Out HIGH LINK indication of need to extend current DPBus cycle. DPBWait In HIGH Indicates the DPBus operation is to be extended a cycle. MasterReset In HIGH Initializes the whole module. It is a synchronous reset, clocked by Lclk. Isochronous Control Interface Signal CycleIn CycleOut 4 Type Assertion In — 8-kHz clock to optionally indicate isochronous cycle. Out — 20-ns pulse to indicate the start of an isochronous cycle. Oki Semiconductor Description –––––––––––––––––––––––––––––––––––––––––––––––––––––––––– ■ W812 IEEE 1394 Link Layer Controller ■ FUNCTIONAL DESCRIPTION The W812 controller has three basic interfaces: • Application Bus • PHY-Link • Isochronous Control The Application Bus and Isochronous Control interfaces are application interfaces; whereas, the LinkPHY interface conforms to the IEEE 1394-1995 Standard (as described in Annex J section) and provides an industry standard interface to the PHY. The Application Bus interface provides a highly efficient interface to other application modules including the FIFO controller. Oki also provides an optional W812-F FIFO controller which is ready to interface with the W812. Functional Modules Data Path Interface (DPIF) This block interfaces with Oki’s high performance application bus which is a multi-drop multiple master bus that uses a streamlined, 3-phase protocol. W812 uses this interface to communicate with the application modules and necessary FIFO controller. Oki’s bus interface is simple and relatively inexpensive in terms of pin and interface count. Yet the W812 has good bandwidth of ~200 MBps and a low and predictable latency. Oki’s optional W812-F FIFO controller also uses this busing scheme to provide an overall high performance 1394 Link Layer solution. Asynchronous Transfer Request This block queues requests for asynchronous transmission by fetching all the necessary parameters to the transmitter and receiver. Isochronous Transfer Request This block queues requests for isochronous transmission by fetching all the necessary parameters to the transmitter and receiver. Read-Write Request This block queues read and write requests to the PHY register through the Annex J request block and formats and fetches request packets to the Annex J Request Block. Annex J Request This block generates the Annex J Request to the PHY. When more than one request is queued at the same time, this block prioritizes the queued requests. Transmitter and Receiver This block generates the flow control signals for the W812 and determines when, what, where, and how a packet is fetched during transmission and stored during reception. This block performs the following functions: • Format appropriate packets • Cycle monitor • Cycle master Oki Semiconductor 5 ■ W812 IEEE 1394 Link Layer Controller ■ ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– • Packet header check and decoding • Coordinate function with optional FIFO controller • Packet flow control for transmission and receiving Byte-wide Serializer and Deserializer During transmission, this block serializes an 8-bit byte into appropriate size of data according to the associated transmission speed. During receiving, this block accumulates receiving data, deserialzies it, and passes data one byte at a time to the Quadlet Serializer and Deserializer. This block also generates signal pertaining to the Annex J states like start and end of a receive, states during transmit or receive. It controls when to read and or write a byte from or to the Quadlet Serializer and Desirializer and when to compute new CRC. Quadlet Serializer and Deserializer During transmission, this block serializes 32-bit data into four 1-byte data. During receiving, this block deserialzies four 1-byte data at a time into a 32-bit quadlet. Quadlet Buffer This block is a FIFO-type storage area. Link Core Controller State Machine This machine performs link layer packet transmit and receive operations as described in Figure 6-19, of IEEE Standard 1394-1995. CRC Generator and Checker This block generates and checks the CRC. The 32-bit polynomial function is as follows: G(x) = x(32) + x(26) + x(23) + x(22) + x(16) + x(12) + x(11) + x(10) + x(8) + x(7) + x(5) + x(4) + x(2) + x + 1 To run the W812 at 400 Mbps, this block uses a specialized scheme to achieve desired performance. 6 Oki Semiconductor –––––––––––––––––––––––––––––––––––––––––––––––––––––––––– ■ W812 IEEE 1394 Link Layer Controller ■ Notes: Oki Semiconductor 7 ■ W812 IEEE 1394 Link Layer Controller ■ ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– Notes: 8 Oki Semiconductor References See the IEEE 1394-1995 Standard for more information on Link Layer Controller functionality. The information contained herein can change without notice owing to product and/or technical improvements. Please make sure before using the product that the information you are referring to is up-to-date. The outline of action and examples of application circuits described herein have been chosen as an explanation of the standard action and performance of the product. When you actually plan to use the product, please ensure that the outside conditions are reflected in the actual circuit and assembly designs. OKI assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or unusual physical or electrical stress including, but not limited to, exposure to parameters outside the specified maximum ratings or operation outside the specified operating range. Neither indemnity against nor license of a third party's industrial and intellectual property right,etc.is granted by us in connection with the use of product and/or the information and drawings contained herein. No responsibility is assumed by us for any infringement of a third party's right which may result from the use thereof. When designing your product, please use our product below the specified maximum ratings and within the specified operating ranges, including but not limited to operating voltage, power dissipation, and operating temperature. The products listed in this document are intended for use in general electronics equipment for commercial applications (e.g.,office automation, communication equipment, measurement equipment, consumer electronics, etc.).These products are not authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property or death or injury to humans. Such applications include, but are not limited to: traffic control, automotive, safety, aerospace, nuclear power control, and medical, including life support and maintenance. Certain parts in this document may need governmental approval before they can be exported to certain countries. The purchaser assumes the responsibility of determining the legality of export of these parts and will take appropriate and necessary steps, at their own expense, for export to another country. Copyright 1995 Oki Semiconductor Oki Semiconductor reserves the right to make changes in specifications at anytime and without notice. This information furnished by Oki Semiconductor in this publication is believed to be accurate and reliable. However, no responsibility is assumed by OKI Semiconductor for its use; nor for any infringements of patents or other rights of third parties resulting from its use. No license is granted under any patents or patent rights of OKI. Oki Semiconductor Oki REGIONAL SALES OFFICES Northwest Area Northeast Area 785 N. Mary Avenue Sunnyvale, CA 94086 Tel: 408/720-8940 Fax: 408/720-8965 138 River Road Shattuck Office Center Andover, MA 01810 Tel: 508/688-8687 Fax: 508/688-8896 Southwest Area 2302 Martin Street Suite 250 Irvine, CA 92715 Tel: 714/752-1843 Fax: 714/752-2423 Southeast Area 1590 Adamson Parkway Suite 220 Morrow, GA 30260 Tel: 404/960-9660 Fax: 404/960-9682 North Central Area 17177 N. Laurel Park Drive Suite 433 Livonia, MI 48152 Tel: 313/464-7200 Fax: 313/464-1724 South Central Area 2007 N. Collins Blvd. Suite 303 Richardson, TX 75080 Tel: 214/690-6868 Fax: 214/690-8233 Oki Web Site: http://www.okisemi.com Oki FAX Service: Call toll free 1-800-OKI-6994 Oki Stock No: 320015-001 Corporate Headquarters 785 N. Mary Avenue Sunnyvale, CA 94086-2909 Tel: 408/720-1900 Fax: 408/720-1918