您好,欢迎来到智榕旅游。
搜索
您的当前位置:首页82559ER Fast Ethernet PCI Controller

82559ER Fast Ethernet PCI Controller

来源:智榕旅游
82559ER Fast Ethernet PCI Controller

Networking Silicon

Product Features

Optimum Integration for Lowest Cost Solution

—Integrated IEEE 802.3 10BASE-T and 100BASE-TX compatible PHY—Glueless 32-bit PCI master interface—128 Kbyte Flash interface—Thin BGA 15mm2 package

—ACPI and PCI Power Management —Power management event on

“interesting” packets and link status change support—Test Access Port

Available in extended temperature version—Extended temperature range: -25 C to +85 C case temperature

Datasheet

High Performance Networking Functions—Chained memory structure similar to the 82559, 82558, 82557, and 82596—Improved dynamic transmit chaining with multiple priorities transmit queues—Full Duplex support at both 10 and 100 Mbps

—IEEE 802.3u Auto-Negotiation support—3 Kbyte transmit and 3 Kbyte receive FIFOs

—Fast back-to-back transmission support with minimum interframe spacing—IEEE 802.3x 100BASE-TX Flow Control support—Low Power Features—Low power 3.3 V device

—Efficient dynamic standby mode—Deep power down support—Clock Run protocol support

Revision 1.8October 2006

82559ER — Networking Silicon

Revision History

Revision DateMar. 1999Mar. 2000Mar. 2001July 2004Sept 2004Dec 2004Jan 2005Oct 2006

Revision1.01.11.31.41.51.61.71.8

DescriptionFirst release.

Modified text description of Voltage Input/Output signal in Section 3.2.3, ”System and Power Management Signals”.

Added information for the extended temperature version of the 82559ER sili-con.

Corrected typical Icct10 value in Table 19 and top Rbias10 value in Figure 25.Minor edits.

Added substrate process change information to section “Package Informa-tion”.

Added a note for PHY signals RBIAS100 and RBIAS10 to Section 3.5 “PHY Signals.

Added Figure 33 “196 PBGA Package Pad Detail”. The figure shows solder resist opening and metal diameter dimensions.

Information in this document is provided in connection with Intel products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel's Terms and Conditions of Sale for such products, Intel assumes no liability whatsoever, and Intel disclaims any express or implied warranty, relating to sale and/or use of Intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. Intel products are not intended for use in medical, life saving, or life sustaining applications.

Intel may make changes to specifications and product descriptions at any time, without notice.

Designers must not rely on the absence or characteristics of any features or instructions marked \"reserved\" or \"undefined.\" Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them.

The 82559ER may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.

Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries.Copyright © 2006, Intel Corporation.

* Alert on LAN is a result of the Intel-IBM Advanced Manageability Alliance and a trademark of IBM.** Third-party brands and names are the property of their respective owners.

®

iiDatasheet

Networking Silicon — 82559ER

Contents

1.0

2.0

3.0

4.0

5.0

DatasheetIntroduction.........................................................................................................................11.182559ER Overview...............................................................................................11.2

Suggested Reading...............................................................................................182559ER Architectural Overview.......................................................................................3

2.1Parallel Subsystem Overview................................................................................32.2FIFO Subsystem Overview...................................................................................42.310/100 Mbps Serial CSMA/CD Unit Overview......................................................52.4

10/100 Mbps Physical Layer Unit..........................................................................5Signal Descriptions.............................................................................................................7

3.1Signal Type Definitions..........................................................................................73.2

PCI Bus Interface Signals.....................................................................................73.2.1Address and Data Signals........................................................................73.2.2Interface Control Signals..........................................................................83.2.3System and Power Management Signals................................................93.3Local Memory Interface Signals............................................................................93.4Testability Port Signals........................................................................................113.5

PHY Signals........................................................................................................1282559ER Media Access Control Functional Description..................................................13

4.182559ER Initialization..........................................................................................134.1.1Initialization Effects on 82559ER Units..................................................134.2

PCI Interface.......................................................................................................144.2.182559ER Bus Operations.......................................................................144.2.2Clockrun Signal......................................................................................224.2.3Power Management Event Signal..........................................................224.2.4Power States..........................................................................................224.2.5Wake-up Events.....................................................................................274.3Parallel Flash Interface........................................................................................284.4Serial EEPROM Interface....................................................................................284.5

10/100 Mbps CSMA/CD Unit...............................................................................304.5.1Full Duplex.............................................................................................314.5.2Flow Control...........................................................................................314.5.3Address Filtering Modifications..............................................................314.5.4Long Frame Reception...........................................................................314.6

Media Independent Interface (MII) Management Interface.................................3282559ER Physical Layer Functional Description.............................................................33

5.1

100BASE-TX PHY Unit.......................................................................................335.1.1100BASE-TX Transmit Clock Generation..............................................335.1.2100BASE-TX Transmit Blocks...............................................................335.1.3100BASE-TX Receive Blocks................................................................365.1.4100BASE-TX Collision Detection...........................................................375.1.5100BASE-TX Link Integrity and Auto-Negotiation Solution....................375.1.6Auto 10/100 Mbps Speed Selection.......................................................37

iii

82559ER— Networking Silicon

5.2

5.3

5.4

6.0

6.1

10BASE-T Functionality......................................................................................375.2.110BASE-T Transmit Clock Generation...................................................375.2.210BASE-T Transmit Blocks....................................................................385.2.310BASE-T Receive Blocks.....................................................................385.2.410BASE-T Collision Detection................................................................395.2.510BASE-T Link Integrity.........................................................................395.2.610BASE-T Jabber Control Function.......................................................395.2.710BASE-T Full Duplex...........................................................................39Auto-Negotiation Functionality............................................................................395.3.1Description.............................................................................................405.3.2Parallel Detect and Auto-Negotiation.....................................................40LED Description..................................................................................................41LAN (Ethernet) PCI Configuration Space............................................................436.1.1PCI Vendor ID and Device ID Registers................................................436.1.2PCI Command Register.........................................................................446.1.3PCI Status Register................................................................................456.1.4PCI Revision ID Register........................................................................466.1.5PCI Class Code Register.......................................................................466.1.6PCI Cache Line Size Register................................................................466.1.7PCI Latency Timer.................................................................................476.1.8PCI Header Type...................................................................................476.1.9PCI Base Address Registers..................................................................476.1.10PCI Subsystem Vendor ID and Subsystem ID Registers.......................496.1.11Capability Pointer...................................................................................496.1.12Interrupt Line Register............................................................................496.1.13Interrupt Pin Register.............................................................................506.1.14Minimum Grant Register........................................................................506.1.15Maximum Latency Register....................................................................506.1.16Capability ID Register............................................................................506.1.17Next Item Pointer...................................................................................506.1.18Power Management Capabilities Register.............................................506.1.19Power Management Control/Status Register (PMCSR).........................516.1.20Data Register.........................................................................................52LAN (Ethernet) Control/Status Registers............................................................537.1.1System Control Block Status Word........................................................7.1.2System Control Block Command Word..................................................557.1.3System Control Block General Pointer...................................................557.1.4PORT.....................................................................................................557.1.5Flash Control Register...........................................................................557.1.6EEPROM Control Register.....................................................................557.1.7Management Data Interface Control Register........................................557.1.8Receive Direct Memory Access Byte Count...........................................567.1.9Early Receive Interrupt...........................................................................567.1.10Flow Control Register.............................................................................567.1.11Power Management Driver Register......................................................567.1.12General Control Register.......................................................................57

PCI Configuration Registers.............................................................................................43

7.0Control/Status Registers..................................................................................................537.1

iv Datasheet

8.0

9.010.0DatasheetNetworking Silicon — 82559ER

7.1.13General Status Register.........................................................................577.2

Statistical Counters.............................................................................................58PHY Unit Registers..........................................................................................................61

8.1

MDI Registers 0 - 7.............................................................................................618.1.1Register 0: Control Register Bit Definitions ...........................................618.1.2Register 1: Status Register Bit Definitions ............................................628.1.3Register 2: PHY Identifier Register Bit Definitions ................................638.1.4Register 3: PHY Identifier Register Bit Definitions ................................638.1.5Register 4: Auto-Negotiation Advertisement Register Bit Definitions ....638.1.6Register 5: Auto-Negotiation

Link Partner Ability Register Bit Definitions ...........................................63

8.1.7Register 6: Auto-Negotiation Expansion Register Bit Definitions ..........8.2MDI Registers 8 - 15...........................................................................................8.3

MDI Register 16 - 31...........................................................................................8.3.1Register 16: PHY Unit Status and Control Register Bit Definitions .......8.3.2Register 17: PHY Unit Special Control Bit Definitions ...........................658.3.3Register 18: PHY Address Register.......................................................668.3.4Register 19: 100BASE-TX

Receive False Carrier Counter Bit Definitions .......................................66

8.3.5Register 20: 100BASE-TX

Receive Disconnect Counter Bit Definitions ..........................................66

8.3.6Register 21: 100BASE-TX

Receive Error Frame Counter Bit Definitions ........................................66

8.3.7Register 22: Receive Symbol Error Counter Bit Definitions ..................668.3.8Register 23: 100BASE-TX

Receive Premature End of Frame Error Counter Bit Definitions ...........67

8.3.9Register 24: 10BASE-T

Receive End of Frame Error Counter Bit Definitions .............................67

8.3.10Register 25: 10BASE-T

Transmit Jabber Detect Counter Bit Definitions ....................................67

8.3.11Register 26: Equalizer Control and Status Bit Definitions......................678.3.12Register 27: PHY Unit Special Control Bit Definitions ...........................6782559ER Test Port Functionality......................................................................................699.1Introduction..........................................................................................................699.2Asynchronous Test Mode....................................................................................699.3Test Function Description....................................................................................699.485/85...................................................................................................................699.5Tristate................................................................................................................699.6

Nand Tree...........................................................................................................70Electrical and Timing Specifications.................................................................................7310.1Absolute Maximum Ratings.................................................................................7310.2DC Specifications ...............................................................................................7310.3AC Specifications................................................................................................7610.4

Timing Specifications..........................................................................................7710.4.1Clocks Specifications.............................................................................7710.4.2Timing Parameters.................................................................................78

v

82559ER— Networking Silicon

11.0Package and Pinout Information......................................................................................8511.111.2

Package Information...........................................................................................85Pinout Information...............................................................................................8711.2.182559ER Pin Assignments ...................................................................8711.2.282559ER Ball Grid Array Diagram ........................................................

Figures

Tables

vi182559ER Block Diagram..................................................................................32CSR I/O Read Cycle......................................................................................153CSR I/O Write Cycle......................................................................................1Flash Buffer Read Cycle................................................................................165Flash Buffer Write Cycle................................................................................176PCI Retry Cycle..............................................................................................187Memory Read Burst Cycle.............................................................................198Memory Write Burst Cycle.............................................................................199Isolate Signal Behavior to PCI Power Good Signal.......................................261082559ER Initialization upon PCI RST# and ISOLATE#.................................2711 Word EEPROM Read Instruction Waveform............................................291282559ER EEPROM Format...........................................................................2913NRZ to MLT-3 Encoding Diagram..................................................................3514Conceptual Transmit Differential Waveform..................................................3515Auto-Negotiation and Parallel Detect.............................................................4116Two and Three LED Schematic Diagram.......................................................4217PCI Configuration Registers...........................................................................4318PCI Command Register.................................................................................4419PCI Status Register........................................................................................4520Cache Line Size Register...............................................................................4621Base Address Register for Memory Mapping................................................4722Base Address Register for I/O Mapping.........................................................482382559ER Control/Status Register..................................................................5324PCI/CardBus Clock Waveform.......................................................................7725Output Timing Measurement Conditions........................................................7826Input Timing Measurement Conditions..........................................................7827Flash Timings for a Read Cycle.....................................................................8128Flash Timings for a Write Cycle.....................................................................8129EEPROM Timings..........................................................................................823010BASE-T NLP Timings.................................................................................833182559ER Pin Assignments............................................................................8332Dimension Diagram for the 82559ER 196-Pin BGA......................................8533196 PBGA Package Pad Detail......................................................................8634

82559ER Ball Grid Array Diagram.................................................................

1EEPROM Words Field Descriptions...............................................................3024B/5B Encoder...............................................................................................333Magnetics Modules........................................................................................3

PCI Command Register Bits..........................................................................44

Datasheet

DatasheetNetworking Silicon — 82559ER

5PCI Status Register Bits................................................................................45682559ER ID Fields Programming..................................................................497Power Management Capability Register.......................................................508Power Management Control and Status Register.........................................519Ethernet Data Register..................................................................................5210Power Management Driver Register.............................................................5611General Control Register...............................................................................5712General Status Register................................................................................571382559ER Statistical Counters.......................................................................5814XOR Tree Chains..........................................................................................7015General DC Specifications............................................................................7316PCI/CardBus Interface DC Specifications.....................................................7317Flash/EEPROM Interface DC Specifications.................................................7418LED Voltage/Current Characteristics............................................................7419100BASE-TX Voltage/Current Characteristics..............................................752010BASE-T Voltage/Current Characteristics..................................................7521AC Specifications for PCI Signaling..............................................................7622PCI/CardBus Clock Specifications................................................................7723X1 Clock Specifications.................................................................................7724Measure and Test Condition Parameters......................................................7825PCI Timing Parameters.................................................................................7926Flash Timing Parameters..............................................................................8027EEPROM Timing Parameters.......................................................................822810BASE-T NLP Timing Parameters..............................................................8329Auto-Negotiation FLP Timing Parameters.....................................................8330100Base-TX Transmitter AC Specification....................................................843182559ER Pin Assignments............................................................................87

vii

82559ER— Networking Silicon

Note:This page intentionally left blank.

viii Datasheet

1.0

1.1

1.2DatasheetNetworking Silicon — 82559ER

Introduction

82559ER Overview

The 82559ER is part of Intel's second generation family of fully integrated 10BASE-T/100BASE-TX LAN solutions. The 82559ER consists of both the Media Access Controller (MAC) and the physical layer (PHY) combined into a single component solution. 82559 family members build on the basic functionality of the 82558 and contain power management enhancements.

The 82559ER is a 32-bit PCI controller that features enhanced scatter-gather bus mastering

capabilities which enables the 82559ER to perform high-speed data transfers over the PCI bus.The 82559ER bus master capabilities enable the component to process high-level commands and

perform multiple operations, thereby off-loading communication tasks from the system CPU. Two large transmit and receive FIFOs of 3 Kbytes each help prevent data underruns and overruns, allowing the 82559ER to transmit data with minimum interframe spacing (IFS).

The 82559ER can operate in either full duplex or half duplex mode. In full duplex mode the 82559ER adheres to the IEEE 802.3x Flow Control specification. Half duplex performance is enhanced by a proprietary collision reduction mechanism.

The 82559ER includes a simple PHY interface to the wire transformer at rates of 10BASE-T and 100BASE-TX, and Auto-Negotiation capability for speed, duplex, and flow control. These features and others reduce cost, real estate, and design complexity.

The 82559ER also includes an interface to a serial (4-pin) EEPROM and a parallel interface to a 128 Kbyte Flash memory. The EEPROM provides power-on initialization for hardware and software configuration parameters

Suggested Reading

The 82559 family of devices are designed to be compliant with PC industry power management initiatives. This includes the ACPI, PCI Power Management Specification, Network Device Class specification, etc. See the following publications for more information about these topics.

•PCI Specification, PCI Special Interest Group.

•Network Device Class Reference, Revision 1.0, Intel Corporation, Microsoft Corporation, and

Toshiba.

•Advanced Configuration and Power Interface (ACPI) Specification, Intel Corporation,

Microsoft Corporation, Toshiba.

•Advanced Power Management (APM) Specification, Intel Corporation and Microsoft

Corporation.

•82559 Fast Ethernet Multifunction PCI/CardBus Controller Datasheet, Intel Corporation.•LAN On Motherboard (LOM) Design Guide Application Note, Intel Corporation.•Test Access Port Applications Note, Intel Corporation.

1

82559ER — Networking Silicon

Note:This page left intentionally blank.

2Datasheet

Networking Silicon — 82559ER

2.082559ER Architectural Overview

Figure 1 is a high level block diagram of the 82559ER. It is divided into four main subsystems: a parallel subsystem, a FIFO subsystem, the 10/100 Mbps Carrier-Sense Multiple Access with Collision Detect (CSMA/CD) unit, and the 10/100 Mbps physical layer (PHY) unit.

Local MemoryInterfacePCI Target andFlash/EEPROMInterfaceFour ChannelAddressing Unit -DMAMicro-machine3 KbyteTx FIFOFIFO Control10/100 MbpsCSMA/CDPCIInterfacePCI BusInterface Unit(BIU)100BASE-TX/10BASE-TPHYTPEInterfaceData Interface Unit(DIU)DualPortedFIFO3 KbyteRx FIFOFigure 1. 82559ER Block Diagram

2.1Parallel Subsystem Overview

The parallel subsystem is broken down into several functional blocks: a PCI bus master interface, a micromachine processing unit and its corresponding microcode ROM, and a PCI Target Control/Flash/EEPROM interface. The parallel subsystem also interfaces to the FIFO subsystem, passing data (such as transmit, receive, and configuration data) and command and status parameters between these two blocks.

The PCI bus master interface provides a complete glueless interface to a PCI bus and is compliant with the PCI Bus Specification, Revision 2.2. The 82559ER provides 32 bits of addressing and data, as well as the complete control interface to operate on a PCI bus. As a PCI target, it follows the PCI configuration format which allows all accesses to the 82559ER to be automatically mapped into free memory and I/O space upon initialization of a PCI system. For processing of transmit and receive frames, the 82559ER operates as a master on the PCI bus, initiating zero wait state transfers for accessing these data parameters.

The 82559ER Control/Status Register Block is part of the PCI target element. The Control/Status Register block consists of the following 82559ER internal control registers: System Control Block (SCB), PORT, Flash Control, EEPROM Control, and Management Data Interface (MDI) Control.The micromachine is an embedded processing unit contained in the 82559ER. The micromachine accesses the 82559ER microcode ROM working its way through the opcodes (or instructions) contained in the ROM to perform its functions. Parameters accessed from memory such as pointers to data buffers are also used by the micromachine during the processing of transmit or receive frames by the 82559ER. A typical micromachine function is to transfer a data buffer pointer field to the 82559ER DMA unit for direct access to the data buffer. The micromachine is divided into two units, Receive Unit and Command Unit which includes transmit functions. These two units

Datasheet3

82559ER — Networking Silicon

operate independently. Control is switched between the two units according to the microcode

instruction flow. The independence of the Receive and Command units in the micromachine allows the 82559ER to interleave commands and receive incoming frames, with no real-time CPU intervention.

The 82559ER contains an interface to an external Flash memory, and external serial EEPROM. These two interfaces are multiplexed. The Flash interface, which could also be used to connect to any standard 8-bit device, provides up to 128 Kbytes of addressing to the Flash. Both read and write accesses are supported. The Flash may be used for remote boot functions, network statistical and diagnostics functions, and management functions. The Flash is mapped into host system memory (anywhere within the 32-bit memory address space) for software accesses. It is also mapped into an available boot expansion ROM location during boot time of the system. More information on the Flash interface is detailed in Section 4.3, “Parallel Flash Interface”. The

EEPROM is used to store relevant information for a LAN connection such as node address, as well as board manufacturing and configuration information. Both read and write accesses to the EEPROM are supported by the 82559ER. Information on the EEPROM interface is detailed in Section 4.4, “Serial EEPROM Interface”.

2.2FIFO Subsystem Overview

The 82559ER FIFO subsystem consists of a 3 Kbyte transmit FIFO and 3 Kbyte receive FIFO. Each FIFO is unidirectional and independent of the other. The FIFO subsystem serves as the

interface between the 82559ER parallel side and the serial CSMA/CD unit. It provides a temporary buffer storage area for frames as they are either being received or transmitted by the 82559ER, which improves performance:

•Transmit frames can be queued within the transmit FIFO, allowing back-to-back transmission

within the minimum Interframe Spacing (IFS).

•The storage area in the FIFO allows the 82559ER to withstand long PCI bus latencies without

losing incoming data or corrupting outgoing data.

•The 82559ER transmit FIFO threshold allows the transmit start threshold to be tuned to

eliminate underruns while concurrent transmits are being performed (i.e. pending transmits will not be affected by the change in FIFO threshold).

•The FIFO subsection allows extended PCI burst accesses with zero wait states to or from the •Transmissions resulting in errors (collision detection or data underrun) are retransmitted

82559ER for both transmit and receive frames. This is because such the transfer is to the FIFO storage area, rather than directly to the serial link.

directly from the 82559ER FIFO, increasing performance and eliminating the need to re-access this data from the host system.

discarded automatically by the 82559ER without transferring this faulty data to the host system, and without host intervention.

•Incoming runt receive frames (frames that are less than the legal minimum frame size) can be •Bad Frames resolution can be selectively left to the 82559ER, or under software control.

4 Datasheet

2.32.4DatasheetNetworking Silicon — 82559ER

10/100 Mbps Serial CSMA/CD Unit Overview

The CSMA/CD unit of the 82559ER allows it to be connected to either a 10 or 100 Mbps Ethernet network. The CSMA/CD unit performs all of the functions of the 802.3 protocol such as frame formatting, frame stripping, collision handling, deferral to link traffic, etc. The CSMA/CD unit can also be placed in a full-duplex mode, which allows simultaneous transmission and reception of frames.

10/100 Mbps Physical Layer Unit

The Physical Layer (PHY) unit of the 82559ER allows connection to either a 10 or 100 Mbps Ethernet network. The PHY unit supports Auto-Negotiation for 100BASE-TX Full Duplex,

100BASE-TX Half Duplex, 10BASE-T Full Duplex, and 10BASE-T Half Duplex. It also supports three LED pins to indicate link status, network activity, and speed.The 82559ER does not support external PHY devices and does not expose its internal MII bus.

5

82559ER — Networking Silicon

Note:This page left intentionally blank.

6Datasheet

Networking Silicon —82559ER

3.0

3.1

3.2

3.2.1

DatasheetSignal Descriptions

Signal Type Definitions

TypeName

Description

INInputThe input pin is a standard input only signal.

OUTOutputThe output pin is a Totem Pole Output pin and is a standard active driver.

T/S

Tri-State

The tri-state pin is a bidirectional, input/output pin.

The sustained tri-state pin is an active low tri-state signal owned and driven by one agent at a time. The agent asserting the S/T/S/T/SSustained Tri-State

S pin low must drive it high at least one clock cycle before

floating the pin. A new agent can only assert an S/T/S signal low one clock cycle after it has been tri-stated by the previous owner.

O/DOpen DrainThe open drain pin allows multiple devices to share this signal as a wired-OR.

A/IAnalog InputThe analog input pin is used for analog input signals.A/OAnalog OutputThe analog output pin is used for analog output signals.B

Bias

The bias pin is an input bias.

PCI Bus Interface Signals

Address and Data Signals

SymbolTypeName and Function

Address and Data. The address and data lines are multiplexed on the same PCI pins. A bus transaction consists of an address phase followed by one or more data phases. During the address phase, the address and data lines contain the 32-bit physical address. For I/O, AD[31:0]T/S

this is a byte address; for configuration and memory, it is a Dword address. The 82559ER uses little-endian byte ordering (in other words, AD[31:24] contain the most significant byte and AD[7:0]

contain the least significant byte). During the data phases, the address and data lines contain data.

Command and Byte Enable. The bus command and byte enable signals are multiplexed on the same PCI pins. During the address C/BE[3:0]#T/S

phase, the C/BE# lines define the bus command. During the data phase, the C/BE# lines are used as Byte Enables. The Byte Enables are valid for the entire data phase and determine which byte lanes carry meaningful data.

Parity. Parity is even across AD[31:0] and C/BE[3:0]# lines. It is stable and valid one clock after the address phase. For data phases, PAR is stable and valid one clock after either IRDY# is asserted on a write PART/S

transaction or TRDY# is asserted on a read transaction.Once PAR is valid, it remains valid until one clock after the completion of the current data phase. The master drives PAR for address and write data phases; and the target, for read data phases.

7

82559ER — Networking Silicon

3.2.28Interface Control Signals

SymbolTypeName and Function

Cycle Frame. The cycle frame signal is driven by the current master FRAME#S/T/S

to indicate the beginning and duration of a transaction. FRAME# is asserted to indicate the start of a transaction and de-asserted during the final data phase.

Initiator Ready. The initiator ready signal indicates the bus master’s ability to complete the current data phase and is used in conjunction IRDY#S/T/S

with the target ready (TRDY#) signal. A data phase is completed on any clock cycle where both IRDY# and TRDY# are sampled asserted (low) simultaneously.

Target Ready. The target ready signal indicates the selected device’s ability to complete the current data phase and is used in conjunction TRDY#S/T/S

with the initiator ready (IRDY#) signal. A data phase is completed on any clock cycle where both IRDY# and TRDY# are sampled asserted (low) simultaneously.

Stop. The stop signal is driven by the target to indicate to the initiator that it wishes to stop the current transaction. As a bus slave, STOP# is STOP#S/T/S

driven by the 82559ER to inform the bus master to stop the current transaction. As a bus master, STOP# is received by the 82559ER to stop the current transaction.

Initialization Device Select. The initialization device select signal is IDSELIN

used by the 82559ER as a chip select during PCI configuration read and write transactions. This signal is provided by the host in PCI systems.

Device Select. The device select signal is asserted by the target once it has detected its address. As a bus master, the DEVSEL# is an input DEVSEL#S/T/S

signal to the 82559ER indicating whether any device on the bus has been selected. As a bus slave, the 82559ER asserts DEVSEL# to indicate that it has decoded its address as the target of the current transaction.

Request. The request signal indicates to the bus arbiter that the REQ#T/S

82559ER desires use of the bus. This is a point-to-point signal and every bus master has its own REQ#.

Grant. The grant signal is asserted by the bus arbiter and indicates to GNT#IN

the 82559ER that access to the bus has been granted. This is a point-to-point signal and every master has its own GNT#.

INTA#O/D

Interrupt A. The interrupt A signal is used to request an interrupt by the 82559ER. This is an active low, level triggered interrupt signal.System Error. The system error signal is used to report address SERR#O/D

parity errors. When an error is detected, SERR# is driven low for a single PCI clock.

Parity Error. The parity error signal is used to report data parity errors during all PCI transactions except a Special Cycle. The parity error pin is asserted two clock cycles after the error was detected by the device PERR#S/T/S

receiving data. The minimum duration of PERR# is one clock for each data phase where an error is detected. A device cannot report a parity error until it has claimed the access by asserting DEVSEL# and completed a data phase.

Datasheet

3.2.33.3

Note:

DatasheetNetworking Silicon —82559ER

System and Power Management Signals

SymbolTypeName and Function

Clock. The Clock signal provides the timing for all PCI transactions and is an input signal to every PCI device. The 82559ER requires a CLKIN

PCI Clock signal (frequency greater than or equal to 16 MHz) for nominal operation. The 82559ER supports Clock signal suspension using the Clockrun protocol.

Clockrun. The Clockrun signal is used by the system to pause or slow down the PCI Clock signal. It is used by the 82559ER to enable or CLKRUN#

IN/OUTO/D

disable suspension of the PCI Clock signal or restart of the PCI clock. When the Clockrun signal is not used, this pin should be connected to an external pull-down resistor.

Reset. The PCI Reset signal is used to place PCI registers, RST#IN

sequencers, and signals into a consistent state. When RST# is asserted, all PCI output signals will be tri-stated.

Power Management Event. The Power Management Event signal PME#O/D

indicates that a power management event has occurred in a PCI bus system.

Isolate. The Isolate signal is used to isolate the 82559ER from the PCI bus. When Isolate is active (low), the 82559ER does not drive its ISOLATE#IN

PCI outputs (except PME#) or sample its PCI inputs (including CLK and RST#). If the 82559ER is not powered by an auxiliary power source, the ISOLATE# pin should be pulled high to the bus Vcc through a 4.7K-62K resistor.

Alternate Reset. The Alternate Reset signal is used to reset the ALTRST#IN

82559ER on power-up. In systems that support an auxiliary power supply, ALTRST# should be connected to a power-up detection circuit. Otherwise, ALTRST# should be tied to Vcc.

Voltage Input/Output. The VIO pin is the voltage bias pin for the PCI interface. In a 5 V or 3.3 V signaling environment, this pint should be VIO

BIN

connected through a 100 KΩ resistor to the voltage supply (5 V or 3.3 V, respectively). The resistor acts as a leakage current limiter in systems where the VIO bias voltage may be turned off.

Local Memory Interface Signals

All unused Flash Address and Data pins must be left floating. Some of these pins have

undocumented test functionality and can cause unpredictable behavior if they are unnecessarily connected to a pull-up or pull-down resistor.

SymbolTypeName and Function

FLD[7:0]

T/S

Flash Data Input/Output. These pins are used for Flash data interface.

Flash Address[16]/25 MHz Clock. This multiplexed pin is controlled FLA[16]/by the status of the Flash Address[7] (FLA[7]) pin. If FLA[7] is left CLK25

OUT

floating, this pin is used as FLA[16]; otherwise, if FLA[7] is connected to a pull-up resistor, this pin is used as a 25 MHz clock.

Flash Address[15]/EEPROM Shift Clock. During Flash accesses, FLA[15]/this multiplexed pin acts as the Flash Address [15] output signal. EESK

OUT

During EEPROM accesses, it acts as the serial shift clock output to the EEPROM.

9

82559ER — Networking Silicon

10SymbolTypeName and Function

Flash Address[14]/EEPROM Data Output. During Flash accesses, FLA[14]/IN/OUT

this multiplexed pin acts as the Flash Address [14] output signal. EEDO

During EEPROM accesses, it accepts serial input data from the EEPROM Data Output signal.

Flash Address[13]/EEPROM Data Input. During Flash accesses, FLA[13]/this multiplexed pin acts as the Flash Address [13] output signal. EEDI

OUT

During EEPROM accesses, it provides serial output data to the EEPROM Data Input signal.

FLA[12:8]OUT

Flash Address[12:8]. These pins are used as Flash address outputs to support 128 Kbyte Flash addressing.

Flash Address[7]/Clock Enable. This is a multiplexed pin and acts as the Flash Address[7] output signal during nominal operation. When FLA[7]/the PCI RST# signal is active, this pin acts as input control over the CLKENB

T/S

FLA[16]/CLK25 output signal. If the FLA[7]/CLKEN pin is connected to a pull-up resistor (3.3 KΩ), a 25 MHz clock signal is provided on the FLA[16]/CLK25 output; otherwise, it is used as FLA[16] output.FLA[6:2]OUT

Flash Address[6:2]. These pins are used as Flash address outputs to support 128 Kbyte Flash addressing.

Flash Address[1]/Auxiliary Power. This multiplexed pin acts as the Flash Address[1] output signal during nominal operation. When RST is FLA[1]/active (low), it acts as the power supply indicator. If the 82559ER is fed AUXPWR

T/S

PCI power, this pin should be connected to the Flash Address 1 (of the Flash component) signal or left floating if Flash is not present. If the 82559ER is fed by auxiliary power, this pin should be connected to a pull-up resistor.

FLA[0]T/SFlash Address [0]. This pin acts as the Flash Address[0] output signal during nominal operation.

EECSOUTEEPROM Chip Select. The EEPROM Chip Select signal is used to assert chip select to the serial EEPROM.

FLCS#OUTFlash Chip Select. The Flash Chip Select signal is active during Flash.

FLOE#OUTFlash Output Enable. This pin provides an active low output enable control (read) to the Flash memory.

FLWE#

OUT

Flash Write Enable. This pin provides an active low write enable control to the Flash memory.

Datasheet

Networking Silicon —82559ER

3.4DatasheetTestability Port Signals

SymbolTypeName and Function

Test. If this input pin is high, the 82559ER will enable the test port. TEST

IN

During nominal operation this pin should be connected to a pull-down resistor.

TCKINTestability Port Clock. This pin is used for the Testability Port Clock signal.

TIINTestability Port Data Input. This pin is used for the Testability Port Data Input signal.

TEXECINTestability Port Execute Enable. This pin is used for the Testability Port Execute Enable signal.

TO

OUT

Testability Port Data Output. This pin is used for the Testability Port Data Output signal.

11

82559ER — Networking Silicon

3.512PHY Signals

SymbolTypeName and Function

Crystal Input One. X1 and X2 can be driven by an external 3.3 V 25 X1

A/I

MHz crystal. Otherwise, X1 may be driven by an external metal-oxide semiconductor (MOS) level 25 MHz oscillator when X2 is left floating.Crystal Input Two. X1 and X2 can be driven by an external 3.3 V 25 X2A/O

MHz crystal. Otherwise, X1 may be driven by an external MOS level 25 MHz oscillator when X2 is left floating.

Analog Twisted Pair Ethernet Transmit Differential Pair. These TDPpins transmit the serial bit stream for transmission on the Unshielded Twisted Pair (UTP) cable. The current-driven differential driver can be TDN

A/O

two-level (10BASE-T) or three-level (100BASE-TX) signals depending on the mode of operation. These signals interface directly with an isolation transformer.

RDPAnalog Twisted Pair Ethernet Receive Differential Pair. These pins receive the serial bit stream from the isolation transformer. The bit RDN

A/I

stream can be two-level (10BASE-T) or three-level (100BASE-TX) signals depending on the mode of operation.

Activity LED. The Activity LED pin indicates either transmit or receive ACTLED#OUT

activity. When activity is present, the activity LED is on; when no activity is present, the activity LED is off.

Link Integrity LED. The Link Integrity LED pin indicates link integrity. LILED#OUT

If the link is valid in either 10 or 100 Mbps, the LED is on; if link is invalid, the LED is off.

SPEEDLED#OUTSpeed LED. The Speed LED pin indicates the speed. The speed LED will be on at 100 Mbps and off at 10 Mbps.

RBIAS100BReference Bias Resistor (100 Mbps). a

This pin should be connected to a pull-down resistor.RBIAS10

B

Reference Bias Resistor (10 Mbps). This pin should be connected to a pull-down resistor.a

Voltage Reference. This pin is connected to a 1.25 V ± 1% external VREFB

voltage reference generator. To use the internal voltage reference source, this pin should be left floating.

a.Based on some board designs, RBIAS100 and RBIAS10 values may need to be increased/decreased to com-pensate for high/low MDI transmit amplitude.

Datasheet

4.0

4.1

4.1.1DatasheetNetworking Silicon — 82559ER

82559ER Media Access Control Functional Description

82559ER Initialization

The 82559ER has four sources for initialization. They are listed according to their precedence:1.ALTRST# Signal2.PCI RST# Signal

3.Software Reset (Software Command)4.Selective Reset (Software Command)

Initialization Effects on 82559ER Units

The following table shows the effect of each of the different initialization sources on major

portions of the 82559ER. The initialization sources are listed in order of precedence. For example, any resource that is initialized by the Software Reset is also initialized by the D3 to D0 transition and ALTRST# and PCI RST# but not necessarily by the selective reset.

ALTRST#

PCI RST#

ISOLATE#

D3 to D0 Software Selective Transition

Reset

Reset

EEPROM read and initialization

XXX------Loadable microcode decoded/reset

XX--XX--MAC configuration reset and multicast hash

XXXXX--Memory pointers and mircomachine state resetXX--XXXPCI Configuration register reset

XXXX----PHY configuration reset

X

X--------

Clear only Power management event if no reset

Xauxiliary --------

power present

Statistic counters resetXX

--XX--

13

82559ER — Networking Silicon

4.2

4.2.1

PCI Interface

82559ER Bus Operations

After configuration, the 82559ER is ready for normal operation. As a Fast Ethernet controller, the role of the 82559ER is to access transmitted data or deposit received data. In both cases the

82559ER, as a bus master device, will initiate memory cycles via the PCI bus to fetch or deposit the required data.

To perform these actions, the 82559ER is controlled and examined by the CPU via its control and status structures and registers. Some of these control and status structures reside in the 82559ER and some reside in system memory. For access to the 82559ER’s Control/Status Registers (CSR), the 82559ER acts as a slave (in other words, a target device). The 82559ER serves as a slave also while the CPU accesses its 128 Kbyte Flash buffer or its EEPROM. Section 4.2.1.1 describes the 82559ER slave operation. It is followed by a description of the 82559ER operation as a bus master (initiator) in Section 4.2.1.2, “82559ER Bus Master Operation” on page18.

4.2.1.182559ER Bus Slave Operation

The 82559ER serves as a target device in one of the following cases:

••••••

CPU accesses to the 82559ER System Control Block (SCB) Control/Status Registers (CSR)CPU accesses to the EEPROM through its CSR

CPU accesses to the 82559ER PORT address via the CSRCPU accesses to the MDI control register in the CSRCPU accesses to the Flash control register in the CSRCPU accesses to the 128 Kbyte Flash

The CSR and the Flash buffer are considered by the 82559ER as two totally separated memory spaces. The 82559ER provides separate Base Address Registers (BARs) in the configuration space to distinguish between them. The size of the CSR memory space is 4 Kbyte in the memory space and bytes in the I/O space. The 82559ER treats accesses to these memory spaces differently.

4.2.1.1.1Control/Status Register (CSR) Accesses

The 82559ER supports zero wait-state single-cycle memory or I/O-mapped accesses to its CSR space. Separate BARs request 4 Kbytes of memory space and bytes of I/O space to accomplish this. Based on its needs, the software driver will use either memory or I/O mapping to access these registers. The 4 Kbytes of CSR space the 82559ER requests include the following elements:

••••••

System Control Block (SCB) registersPORT registerFlash control registerEEPROM control registerMDI control registerFlow control registers

14 Datasheet

DatasheetNetworking Silicon — 82559ER

The figures below show CSR zero wait-state I/O read and write cycles. In the case of accessing the Control/Status Registers, the CPU is the initiator and the 82559ER is the target of the transaction.

CLK1234567MEFRAME#TSYADDRSADDATAC/BE#I/O RDBE#IRDY#RETRDY#9552DEVSEL#8STOP#Figure 2. CSR I/O Read CycleRead Accesses: The CPU, as the initiator, drives address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. As a slave, the 82559ER controls the TRDY# signal and provides valid data on each data access. The 82559ER allows the CPU to issue only one read cycle when it accesses the Control/Status Registers, generating a disconnect by asserting the STOP# signal. The CPU can insert wait states by de-asserting IRDY# when it is not ready.

CLK1234567MEFRAME#TSYADDRDATASADC/BE#I/O WRBE#IRDY#RETRDY#9552DEVSEL#8STOP#Figure 3. CSR I/O Write CycleWrite Accesses: The CPU, as the initiator, drives the address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. It also provides the 82559ER with valid data on each data access immediately after asserting IRDY#. The 82559ER

15

82559ER — Networking Silicon

controls the TRDY# signal and asserts it from the data access. The 82559ER allows the CPU to issue only one I/O write cycle to the Control/Status Registers, generating a disconnect by asserting the STOP# signal. This is true for both memory mapped and I/O mapped accesses.

4.2.1.1.2Flash Buffer Accesses

The CPU accesses to the Flash buffer are very slow. For this reason the 82559ER issues a target-disconnect at the first data access. The 82559ER asserts the STOP# signal to indicate a target-disconnect. The figures below illustrate memory CPU read and write accesses to the 128 Kbyte Flash buffer. The longest burst cycle to the Flash buffer contains one data access only.

CLKSYSTEMFRAME#ADC/BE#IRDY#ADDRDATAMEM RDBE#82559ERTRDY#DEVSEL#STOP#Figure 4. Flash Buffer Read CycleRead Accesses: The CPU, as the initiator, drives the address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. The 82559ER controls the TRDY# signal and de-asserts it for a certain number of clocks until valid data can be read from the Flash buffer. When TRDY# is asserted, the 82559ER drives valid data on the AD[31:0] lines. The CPU can also insert wait states by de-asserting IRDY# until it is ready. Flash buffer read accesses can be byte or word length.

16 Datasheet

DatasheetNetworking Silicon — 82559ER

CLK

MEFRAME#TSYSADADDR

DATA

C/BE#MEM WRBE#

IRDY#

RETRDY#9552DEVSEL#8STOP#

Figure 5. Flash Buffer Write Cycle

Write Accesses: The CPU, as the initiator, drives the address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. It also provides the

82559ER with valid data immediately after asserting IRDY#. The 82559ER controls the TRDY# signal and de-asserts it for a certain number of clocks until valid data is written to the Flash buffer. By asserting TRDY#, the 82559ER signals the CPU that the current data access has completed. Flash buffer write accesses can be byte length only.

4.2.1.1.3Retry Premature Accesses

The 82559ER responds with a Retry to any configuration cycle accessing the 82559ER before the completion of the automatic read of the EEPROM. The 82559ER may continue to Retry any configuration accesses until the EEPROM read is complete. The 82559ER does not enforce the rule that the retried master must attempt to access the same address again to complete any delayed transaction. Any master access to the 82559ER after the completion of the EEPROM read will be honored. Figure 6 depicts the operation of a Retry cycle.

17

82559ER — Networking Silicon

Note:

Note:

4.2.1.218CLK

METFRAME#SYSIRDY#RTRDY#E9552DEVSEL#8STOP#

Figure 6. PCI Retry Cycle

The 82559ER is considered the target in the above diagram; thus, TRDY# is not asserted.

4.2.1.1.4Error Handling

Data Parity Errors: The 82559ER checks for data parity errors while it is the target of the

transaction. If an error was detected, the 82559ER always sets the Detected Parity Error bit in the PCI Configuration Status register, bit 15. The 82559ER also asserts PERR#, if the Parity Error Response bit is set (PCI Configuration Command register, bit 6). The 82559ER does not attempt to terminate a cycle in which a parity error was detected. This gives the initiator the option of recovery.

Target-Disconnect: The 82559ER prematurely terminate a cycle in the following cases:

•After accesses to the Flash buffer•After accesses to its CSR

•After accesses to the configuration space

System Error: The 82559ER reports parity error during the address phase using the SERR# pin. If the SERR# Enable bit in the PCI Configuration Command register or the Parity Error Response bit are not set, the 82559ER only sets the Detected Parity Error bit (PCI Configuration Status register, bit 15). If SERR# Enable and Parity Error Response bits are both set, the 82559ER sets the

Signaled System Error bit (PCI Configuration Status register, bit 14) as well as the Detected Parity Error bit and asserts SERR# for one clock.

The 82559ER, when detecting system error, will claim the cycle if it was the target of the transaction and continue the transaction as if the address was correct.

The 82559ER will report a system error for any parity error during an address phase, whether or not it is involved in the current transaction.

82559ER Bus Master Operation

As a PCI Bus Master, the 82559ER initiates memory cycles to fetch data for transmission or deposit received data and for accessing the memory resident control structures. The 82559ER performs zero wait state burst read and write cycles to the host main memory. Figure 7 and Figure

Datasheet

DatasheetNetworking Silicon — 82559ER

8 depict memory read and write burst cycles. For bus master cycles, the 82559ER is the initiator and the host main memory (or the PCI host bridge, depending on the configuration of the system) is the target.

CLK123456710REFRAME#9552ADDRDATADATADATA8ADDATADATAC/BE#MRBE#BE#IRDY#METSTRDY#YSDEVSEL#Figure 7. Memory Read Burst CycleCLK123456710REFRAME#95528ADADDRDATADATADATADATADATAC/BE#MWBE#BE#IRDY#METSTRDY#YSDEVSEL#Figure 8. Memory Write Burst CycleThe CPU provides the 82559ER with action commands and pointers to the data buffers that reside in host main memory. The 82559ER independently manages these structures and initiates burst memory cycles to transfer data to and from them. The 82559ER uses the Memory Read Multiple (MR Multiple) command for burst accesses to data buffers and the Memory Read Line (MR Line) command for burst accesses to control structures. For all write accesses to the control structure, the 82559ER uses the Memory Write (MW) command. For write accesses to data structure, the 82559ER may use either the Memory Write or Memory Write and Invalidate (MWI) commands.Read Accesses: The 82559ER performs block transfers from host system memory to perform frame transmission on the serial link. In this case, the 82559ER initiates zero wait state memory read burst cycles for these accesses. The length of a burst is bounded by the system and the 82559ER’s internal FIFO. The length of a read burst may also be bounded by the value of the

19

82559ER — Networking Silicon

Transmit DMA Maximum Byte Count in the Configure command. The Transmit DMA Maximum Byte Count value indicates the maximum number of transmit DMA PCI cycles that will be completed after an 82559ER internal arbitration.

The 82559ER, as the initiator, drives the address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. The 82559ER asserts IRDY# to support zero wait state burst cycles. The target signals the 82559ER that valid data is ready to be read by asserting the TRDY# signal.

Write Accesses: The 82559ER performs block transfers to host system memory during frame reception. In this case, the 82559ER initiates memory write burst cycles to deposit the data, usually without wait states. The length of a burst is bounded by the system and the 82559ER’s internal FIFO threshold. The length of a write burst may also be bounded by the value of the Receive DMA Maximum Byte Count in the Configure command. The Receive DMA Maximum Byte Count value indicates the maximum number of receive DMA PCI transfers that will be completed before the 82559ER internal arbitration.

The 82559ER, as the initiator, drives the address lines AD[31:0], the command and byte enable lines C/BE#[3:0] and the control lines IRDY# and FRAME#. The 82559ER asserts IRDY# to support zero wait state burst cycles. The 82559ER also drives valid data on AD[31:0] lines during each data phase (from the first clock and on). The target controls the length and signals completion of a data phase by de-assertion and assertion of TRDY#.

Cycle Completion: The 82559ER completes (terminates) its initiated memory burst cycles in the following cases:

•Normal Completion: All transaction data has been transferred to or from the target device

(for example, host main memory).

•Backoff: Latency Timer has expired and the bus grant signal (GNT#) was removed from the

82559ER by the arbiter, indicating that the 82559ER has been preempted by another bus master.

•Transmit or Receive DMA Maximum Byte Count: The 82559ER burst has reached the •Target Termination: The target may request to terminate the transaction with a target-

length specified in the Transmit or Receive DMA Maximum Byte Count field in the Configure command block.

disconnect, target-retry, or target-abort. In the first two cases, the 82559ER initiates the cycle again. In the case of a target-abort, the 82559ER sets the Received Target-Abort bit in the PCI Configuration Status field (PCI Configuration Status register, bit 12) and does not re-initiate the cycle.

82559ER (in other words, DEVSEL# has not been asserted). The 82559ER simply de-asserts FRAME# and IRDY# as in the case of normal completion.

•Master Abort: The target of the transaction has not responded to the address initiated by the •Error Condition: In the event of parity or any other system error detection, the 82559ER

completes its current initiated transaction. Any further action taken by the 82559ER depends on the type of error and other conditions.

4.2.1.2.1Memory Write and Invalidate

The 82559ER has four Direct Memory Access (DMA) channels. Of these four channels, the

Receive DMA is used to deposit the large number of data bytes received from the link into system memory. The Receive DMA uses both the Memory Write (MW) and the Memory Write and Invalidate (MWI) commands. To use MWI, the 82559ER must guarantee the following:1.Minimum transfer of one cache line

20 Datasheet

DatasheetNetworking Silicon — 82559ER

2.Active byte enable bits (or BE#[3:0] are all low) during MWI access

3.The 82559ER may cross the cache line boundary only if it intends to transfer the next cache line too.To ensure the above conditions, the 82559ER may use the MWI command only if the following conditions hold:

1.The Cache Line Size (CLS) written in the CLS register during PCI configuration is 8 or 16 Dwords.2.The accessed address is cache line aligned.

3.The 82559ER has at least 8 or 16 Dwords of data in its receive FIFO.

4.There are at least 8 or 16 Dwords of data space left in the system memory buffer.5.The MWI Enable bit in the PCI Configuration Command register, bit 4, should is set to 1b.6.The MWI Enable bit in the 82559ER Configure command should is set to 1b.

If any one of the above conditions does not hold, the 82559ER will use the MW command. If a MWI cycle has started and one of the conditions is no longer valid (for example, the data space in the memory buffer is now less than CLS), then the 82559ER terminates the MWI cycle at the end of the cache line. The next cycle will be either a MW or MWI cycle depending on the conditions listed above.

If the 82559ER started a MW cycle and reached a cache line boundary, it either continues or terminates the cycle depending on the Terminate Write on Cache Line configuration bit of the 82559ER Configure command (byte 3, bit 3). If this bit is set, the 82559ER terminates the MW cycle and attempts to start a new cycle. The new cycle is a MWI cycle if this bit is set and all of the above listed conditions are met. If the bit is not set, the 82559ER continues the MW cycle across the cache line boundary if required.

4.2.1.2.2Read Align

The Read Align feature enhances the 82559ER’s performance in cache line oriented systems. In these particular systems, starting a PCI transaction on a non-cache line aligned address may cause low performance.

To resolve this performance anomaly, the 82559ER attempts to terminate transmit DMA cycles on a cache line boundary and start the next transaction on a cache line aligned address. This feature is enabled when the Read Align Enable bit is set in the 82559ER Configure command (byte 3, bit 2).If this bit is set, the 82559ER operates as follows:

•When the 82559ER is almost out of resources on the transmit DMA (that is, the transmit FIFO is almost full), it attempts to terminate the read transaction on the nearest cache line boundary when possible.

•When the arbitration counter’s feature is enabled (in other words, the Transmit DMA

Maximum Byte Count value is set in the Configure command), the 82559ER switches to other pending DMAs on the cache line boundary only.

Note the following:

•This feature is not recommended for use in non-cache line oriented systems since it may cause

shorter bursts and lower performance.•This feature should be used only when the CLS register in PCI Configuration space is set to 8

or 16 Dwords.

21

82559ER — Networking Silicon

•The 82559ER reads all control data structures (including Receive Buffer Descriptors) from the

first Dword (even if it is not required) to maintain cache line alignment.

4.2.1.2.3Error Handling

Data Parity Errors: As an initiator, the 82559ER checks and detects data parity errors that occur during a transaction. If the Parity Error Response bit is set (PCI Configuration Command register, bit 6), the 82559ER also asserts PERR# and sets the Data Parity Detected bit (PCI Configuration Status register, bit 8). In addition, if the error was detected by the 82559ER during read cycles, it sets the Detected Parity Error bit (PCI Configuration Status register, bit 15).

4.2.2Clockrun Signal

The CLKRUN# signal is used to control the PCI clock as defined in the PCI Mobile design guide and is compliant with the PCI Mobile design guide. The Clockrun signal is an open drain I/O signal. It is used as a bidirectional channel between the host and the devices.

•The host de-asserts the CLKRUN# signal to indicate that the PCI clock is about to be stopped

or slowed down to a non-operational frequency.

•The host asserts the CLKRUN# signal when the interface clock is either running at a normal

operating frequency or about to be started.

•The 82559ER asserts the CLKRUN# signal to indicate that it needs the PCI clock to prevent

the host from stopping the PCI clock or to request that the host restore the clock if it was previously stopped.

Proper operation requires that the system latency from the nominal PCI CLK to CLKRUN#

assertion should be less than 0.5 μs. If the system latency is longer than 0.5 μs, the occurrence of receive overruns increases. For use in these types of systems, the Clockrun functionality should be disabled (see Section 7.1.12, “General Control Register”). In this case, the 82559ER will claim the PCI clock even during idle time. If the CLKRUN# signal is not used, it should be connected to a pull-down resistor (62KΩ). The value of the resistor selected is dependent on the ND-TREE set-up used (i.e. the test fixture must be able to overdrive pull-down).

4.2.3Power Management Event Signal

The 82559ER supports power management indications in the PCI mode. The PME# output pin provides an indication of a power management event to the system. PCI Power ManagementIn addition to the base functionality of the 82558 B-step, the 82559 family supports a larger set of wake-up packets and the capability to wake the system on a link status change from a low power state. The 82559ER enables the host system to be in a sleep state and remain virtually connected to the network. After a power management event or link status change is detected, the 82559ER will wake the host system. The sections below describe these events, the 82559ER power states, and estimated power consumption at each power state.

4.2.4Power States

The 82559ER’s power management register implements all four power states as defined in the Power Management Network Device Class Reference Specification, Revision 1.0. The four states, D0 through D3, vary from maximum power consumption at D0 to the minimum power

consumption at D3. PCI transactions are only allowed in the D0 state, except for host accesses to the 82559ER’s PCI configuration registers. The D1 and D2 power management states enable

22 Datasheet

Networking Silicon — 82559ER

intermediate power savings while providing the system wake-up capabilities. In the D3cold state, the 82559ER can provide wake-up capabilities only if auxiliary power is supplied. Wake-up indications from the 82559ER are provided by the Power Management Event (PME#).

4.2.4.1D0 Power State

As defined in the Network Device Class Reference Specification, the device is fully functional in the D0 power state. In this state, the 82559ER receives full power and should be providing full functionality. In the 82559ER the D0 state is partitioned into two substates, D0 Uninitialized (D0u) and D0 Active (D0a).

D0u is the 82559ER’s initial power state following a PCI RST#. While in the D0u state, the

82559ER has PCI slave functionality to support its initialization by the host and supports wake up events. Initialization of the CSR, Memory, or I/O Base Address Registers in the PCI Configuration space switches the 82559ER from the D0u state to the D0a state.

In the D0a state, the 82559ER provides its full functionality and consumes its nominal power. In addition, the 82559ER supports wake on link status change (see Section 4.2.5, “Wake-up Events” on page27). While it is active, the 82559ER requires a nominal PCI clock signal (in other words, a clock frequency greater than 16 MHz) for proper operation. During idle time, the 82559ER supports a PCI clock signal suspension using the Clockrun signal mechanism. The 82559ER supports a dynamic standby mode. In this mode, the 82559ER is able to save almost as much power as it does in the static power-down states. The transition to or from standby is done dynamically by the 82559ER and is transparent to the software.

4.2.4.2D1 Power State

In order for a device to meet the D1 power state requirements, as specified in the Advanced Configuration and Power Interface (ACPI) Specification, Revision 1.0, it must not allow bus transmission or interrupts; however, bus reception is allowed. Therefore, device context may be lost and the 82559ER does not initiate any PCI activity. In this state, the 82559ER responds only to PCI accesses to its configuration space and system wake-up events.

The 82559ER retains link integrity and monitors the link for any wake-up events such as wake-up packets or link status change. Following a wake-up event, the 82559ER asserts the PME# signal to alert the PCI based system.

4.2.4.3D2 Power State

The ACPI D2 power state is similar in functionality to the D1 power state. If the bus is in the B2 state, the 82559ER will consume less current than it does in the D1 state. In addition to D1 functionality, the 82559ER can provide a lower power mode with wake-on-link status change capability. The 82559ER may enter this mode if the link is down while the 82559ER is in the D2 state. In this state, the 82559ER monitors the link for a transition from an invalid link to a valid link. The 82559ER will not attempt to keep the link alive by transmitting idle symbols or link integrity pulses.1 The sub-10 mA state due to an invalid link can be enabled or disabled by a configuration bit in the Power Management Driver Register (PMDR).

1.For a topology of two 82559ER devices connected by a crossed twisted-pair Ethernet cable, the deep power-down mode should be

disabled. If it is enabled, the two devices may not detect each other if the operating system places them into a low power state before both nodes become active.

Datasheet 23

82559ER — Networking Silicon

4.2.4.4D3 Power State

In the D3 power state, the 82559ER has the same capabilities and consumes the same amount of power as it does in the D2 state. However, it enables the PCI system to be in the B3 state. If the PCI system is in the B3 state (in other words, no PCI power is present), the 82559ER provides wake-up capabilities if it is connected to an auxiliary power source in the system. If PME is disabled, the 82559ER does not provide wake-up capability or maintain link integrity. In this mode the 82559ER consumes its minimal power.

The 82559ER enables a system to be in a sub-5 watt state (low power state) and still be virtually connected. More specifically, the 82559ER supports full wake-up capabilities while it is in the D3cold state. The 82559ER can be connected to an auxiliary power source (VAUX), which enables it to provide wake-up functionality while the PCI power is off. The typical current consumption of the 82559ER is 125 mA at 3.3 V. Thus, a dual power plane is not required. If connected to an auxiliary power source, the 82559ER receives all of its power from the auxiliary source in all power states.

4.2.4.5Understanding Power Requirements

When running the 82559ER off a 3.3V_standby power source, the actual power consumption will scale with network traffic. In other words, if the 82559ER is monitoring the network for ACPI “Interesting Packets” only the PCI bus specific circuitry will be disabled. As an a example the 8259ER will typically draw approximately 120mA, in D1-D3 under a full Ethernet load. In the D0 state, the 82559ER will typically consume 125mA under the same load conditions.

The tables below summarizes the 82559ER’s functionality and power consumption at the different power states

Power StateD0 D0 D0 D2/D3 (link down)

Dx (x>0 with PME# disabled)NOTE:

Maximum

Conditions100 Mbs175 mA125 mA120 mA10 mA3 mA10 mA3 mA

10 Mbs140 mA115 mA55 mA10 mA3 mA10 mA3 mA

Average (5 Mbs)Dynamic standby(With Network Load)PCI CLKw/o PCI CLKPCI CLKw/o PCI CLK

All values shown for the D3 state assume the availability of 3.3 V Standby available to the device.

24 Datasheet

4.2.4..2.4.7DatasheetNetworking Silicon — 82559ER

.

Power StateLink82559ER Functionality

D0u

Don’t care•Power-up state•

PCI slave access

ValidFull functionality at full power and wake on invalid D0a

link

InvalidFull functionality at full power and wake on valid link•

Wake-up on “interesting” packets and link Valid

invalid

D1

•PCI configuration accessInvalid•Wake on link valid•PCI configuration access

D2

ValidSame functionality as D1 (link valid)InvalidDetection for valid link and no link integrityD3 (with power)ValidSame functionality as D1 (link valid)InvalidDetection for valid link and no link integrityDx (x>0 without PME#)

Don’t Care

No wake-up functionality

Auxiliary Power Signal

The 82559ER senses whether it is connected to the PCI power supply or to an auxiliary power supply (VAUX) via the FLA1/AUXPWR pin. The auxiliary power detection pin (multiplexed with FLA1) is sampled when the PCI RST# or ALTRST# signals are active. An external pull-up resistor should be connected to the 82559ER if it is fed by Vshould be left floating. The presence of AUXPWR affects the value reported in the Power

AUX; otherwise, the FLA1/AUXPWR pin Management Capability Register (PCI Configuration Space, offset DEH). The Power Management Capability Register is described in more detail in Section 6.1.18, “Power Management Capabilities Register”.

Alternate Reset Signal

The 82559ER’s ALTRST# input pin functions as a power-on reset input. Following ALTRST# being driven low, the 82559ER is initialized to a known state. In systems that support auxiliary power, this pin should be connected to the auxiliary power’s power stable signal (power good) of the 82559ER’s power source. In a LAN on Motherboard solution, this signal is available on the system. In network adapter implementations, an external analog device connected to the auxiliary power supply can be used to produce this signal. In systems that do not have an auxiliary power source, the ALTRST# signal should be tied to a pull-up resistor.

4.2.4.7.1Isolate Signal

When the 82559ER is connected to VAUX, it may be powered on while the PCI bus is powered off. In this case, the 82559ER isolates itself from the PCI bus. The 82559ER has a dedicated

ISOLATE# pin that should be connected to the PCI power source’s stable power signal (power good). Whenever the PCI Bus is in the B3 state, the PCI power good signal becomes inactive and the 82559ER isolates itself from the PCI bus. During this state, the 82559ER ignores all PCI signals including the RST# and CLK signals. It also tri-states all PCI outputs, except the PME# signal. In the transition to an active PCI power state (in other words, from B3 power state to B0 power state), the PCI power good signal shifts high.

25

82559ER — Networking Silicon

Note:

26In a LAN on Motherboard solution, the PCI power good signal is supplied by the system. In

network adapter implementations, the PCI power good signal can be either generated locally using an external analog device, or connected directly to the PCI reset signal. In designs, that use both the ISOLATE# and RST# pins of the 82559ER, the PCI power good signal should envelope ISOLATE#, as shown below. For designs that use the PCI reset signal, the RST# pin on the

82559ER should be tied to the PCI power rail (through a 4.7ΚΩ), and the PCI reset signal should be connected to the 82559ER’s ISOLATE# pin.

PCI power good signalRequired ISOLATE#signal behaviorFigure 9. Isolate Signal Behavior to PCI Power Good SignalIn many systems, the PCI RST# signal is asserted low whenever the PCI bus is inactive. In these systems, the 82559ER B-step device and later devices allow the ISOLATE# pin to be driven from the PCI RST# signal. In this case, the ALTRST# pin on the 82559ER should be pulled high to the PCI bus high voltage level.

4.2.4.7.2PCI Reset Signal

The PCI RST# signal may be activated in one of the following cases:

•Power-up•Warm boot

•Wake-up (B3 to B0 transition)

Set to power-down (B0 to B3 transition)

If PME is enabled (in the PCI power management registers), the RST# signal does not affect any PME related circuits (in other words, PCI power management registers, and the wake-up packet would not be affected). While the RST# signal is active, the 82559ER ignores other PCI signals and floats its outputs. However, if AUXPWR is asserted, the RST# signal has no affect on any circuitry.

While the 82559ER is in the D0, D1, or D2 power state, it is initialized by the RST# level. When the 82559ER is in the D3 power state, the system bus may be in the B3 bus power state. In the B3 power state, the PCI RST# signal is undefined; however, the auxiliary power source proposal for the PCI Specification, Revision 2.2 is for the PCI RST# signal to be an active low. Therefore, the 82559ER uses the PCI RST# similarly to the ISOLATE# signal in D3 power state. Following the trailing edge of the PCI RST#, the 82559ER is initialized while preserving the PME# signal and its context.

According to the PCI specification, during the B3 state, the RST# signal is undefined.The transition from the B3 power state to the B0 power state occurs on the trailing edge of the RST# signal.

The initialization signal is generated internally in the following cases:

•Active RST# signal while the 82559ER is the D0, D1, or D2 power state•RST# trailing edge while the 82559ER is in the D3 power state

Datasheet

4.2.5Note:

4.2.5.1DatasheetNetworking Silicon — 82559ER

•ISOLATE# trailing edge

The internal initialization signal resets the PCI Configuration Space, MAC configuration, and memory structure.

The behavior of the PCI RST# signal and the internal 82559ER initialization signal are shown in the figure below.

D0 - D2 power state

PCI RST#Internal hardwarereset

D3 power state

PCI RST#Internal hardwarereset

0 ns

Internal reset ISOLATE#due to ISOLATE#

Internal hardwarereset

0 ns

Figure 10. 82559ER Initialization upon PCI RST# and ISOLATE#

Wake-up Events

There are two types of wake-up events: “Interesting” Packets and Link Status Change. These two events are detailed below.

The wake-up event is supported only if the PME Enable bit in the Power Management Control/Status (PMCSR) register is set. (The PMCSR is described in Section 6.1.19, “Power Management Control/Status Register (PMCSR)”.)

“Interesting” Packet Events

In the power-down state, the 82559ER is capable of recognizing “interesting” packets. The 82559ER supports pre-defined and programmable packets that can be defined as any of the following:

•ARP Packets (with Multiple IP addresses)•Direct Packets (with or without type qualification)

•Neighbor Discovery Multicast Address Packet (‘ARP’ in IPv6 environment)•NetBIOS over TCP/IP (NBT) Query Packet (under IPv4)•

Internetwork Package Exchange* (IPX) Diagnostic Packet

This allows the 82559ER to handle various packet types. In general, the 82559ER supports programmable filtering of any packet in the first 128 bytes.

27

82559ER — Networking Silicon

4.2.5.24.3Note:

4.428Link Status Change Event

The 82559ER link status indication circuit is capable of issuing a PME on a link status change from a valid link to an invalid link condition or vice versa. The 82559ER reports a PME link status event in all power states. The PME# signal is gated by the PME Enable bit in the PMCSR and the CSMA Configure command.

Parallel Flash Interface

The 82559ER’s parallel interface is used primarily as a Flash interface. The 82559ER supports a glueless interface to an 8-bit wide, 128 Kbyte, parallel memory device.

The Flash (or boot PROM) is read from or written to whenever the host CPU performs a read or a write operation to a memory location that is within the Flash mapping window. All accesses to the Flash, except read accesses, require the appropriate command sequence for the device used. (Refer to the specific Flash data sheet for more details on reading from or writing to the Flash device.) The accesses to the Flash are based on a direct decode of CPU accesses to a memory window defined in either the 82559ER Flash Base Address Register (PCI Configuration space at offset 18H) or the Expansion ROM Base Address Register (PCI Configuration space at offset 30H). The 82559ER asserts control to the Flash when it decodes a valid access.

The 82559ER supports an external Flash memory (or boot PROM) of up to 128 Kbyte. The

Expansion ROM BAR can be separately disabled by setting the corresponding bit in the EEPROM, word AH.

Flash accesses must always be assembled or disassembled by the 82559ER whenever the access is greater than a byte-wide access. Due to slow access times to a typical Flash and to avoid violating PCI bus holding specifications (no more than 16 wait states inserted for any cycles that are not system initiation cycles), the maximum data size is either one word or one byte for a read operation and one byte only for a write operation.

Serial EEPROM Interface

The serial EEPROM stores configuration data for the 82559ER and is a serial in/serial out device. The 82559ER supports a either a register or 256 register size EEPROM and automatically detects the EEPROM’s size. The EEPROM should operate at a frequency of at least 1 MHz.

Datasheet

DatasheetNetworking Silicon — 82559ER

All accesses, either read or write, are preceded by a command instruction to the device. The address field is six bits for a register EEPROM or eight bits for a 256 register EEPROM. The end of the address field is indicated by a dummy zero bit from the EEPROM, which indicates the entire address field has been transferred to the device. An EEPROM read instruction waveform is shown in the figure below.

EESKEECSA5A4A3A2AA10A0EEDIREAD OP codeD15D0EEDOFigure 11. Word EEPROM Read Instruction WaveformThe 82559ER performs an automatic read of seven words (0H, 1H, 2H, AH, Bh, Ch and DH) of the

EEPROM after the de-assertion of Reset.

The 82559ER EEPROM format is shown below in Figure 12.

Word15141312111098763210

0HIA Byte 2IA Byte 11HIA Byte 4IA Byte 32HIA Byte 6

IA Byte 5

AHSig

ID

0b

BD

Rev ID

1b

DPD

0b

00b

0b

STB Ena

0b

BHSubsystem IDCHSubsystem Vendor ID

DH

Reserved

Figure 12. 82559ER EEPROM Format

29

82559ER — Networking Silicon

Note that word 0Ah contains several configuration bits. Bits from word 0Ah, FBh through FEh, and certain bits from word 0Dh are described as follows:

Table 1. EEPROM Words Field Descriptions

Note:

4.530WordBitsNameDescription

Ah

5:14

Signature

The Signature field is a signature of 01b, indicating to the 82559ER that there is a valid EEPROM present. If the Signature field is not 01b, the other bits are ignored and the default values are used.13ReservedReserved Default value is 0b.

12ReservedThis bit is reserved and should be set to 0b.

11

Boot Disable

The Boot Disable bit disables the Expansion ROM Base Address Register (PCI Configuration space, offset 30H) when it is set. Default value is 0b.

10:8Revision ID

These three bits are used as the three least significant bits of the device revision, if bits 15, 14, and 13 equal 011b and the ID was set as described in Section 6.1.10, “PCI Subsystem Vendor ID and Subsystem ID Registers”. The default value depends on the silicon revision.7ReservedReserved and should be set to 0b

6

Deep Power This bit is used as the Deep Power Down enable/disable bit. When the Down

DPD bit equals 0b, deep power down is enabled in the D3 power state while PME is disabled. If the DPD bit equals 1b, deep power down is disabled in the D3 power state while PME is disabled. 5ReservedReserved and should be set to 0b.

4:3Reserved

These are reserved and should be set to 00b.

21

Standby The Standby Enable bit enables the 82559ER to enter standby mode. Enable

When this bit equals 1b, the 82559ER is able to recognize an idle state and can enter standby mode (some internal clocks are stopped for power saving purposes). The 82559ER does not require a PCI clock signal in standby mode. If this bit equals 0b, the idle recognition circuit is disabled and the 82559ER always remains in an active state. Thus, the 82559ER will always request PCI CLK using the Clockrun mechanism. 0

ReservedSet this bit equal to 0b for compatibility.Dh11:0ReservedReserved.

FBh - ALL

Reserved

FEh

The IA read from the EEPROM is used by the 82559ER until an IA Setup command is issued by software. The IA defined by the IA Setup command overrides the IA read from the EEPROM.

10/100 Mbps CSMA/CD Unit

The 82559ER CSMA/CD unit implements both the IEEE 802.3 Ethernet 10 Mbps and IEEE

802.3u Fast Ethernet 100 Mbps standards. It performs all the CSMA/CD protocol functions such as transmission, reception, collision handling, etc. The 82559ER CSMA/CD unit interfaces the internal PHY unit through a standard Media Independent Interface (MII), as specified by IEEE 802.3, Chapter 22. This is a 10/100 Mbps mode in which the data stream is nibble-wide and the serial clocks run at either 25 or 2.5 MHz.

Datasheet

4.5.14.5.24.5.34.5.4DatasheetNetworking Silicon — 82559ER

Full Duplex

When operating in full duplex mode the 82559ER can transmit and receive frames simultaneously. Transmission starts regardless of the state of the internal receive path. Reception starts when the internal PHY detects a valid frame on the receive differential pair of the PHY.

The 82559ER operates in either half duplex mode or full duplex mode. For proper operation, both the 82559ER CSMA/CD module and the PHY unit must be set to the same duplex mode. The CSMA duplex mode is set by the 82559ER Configure command or forced by automatically tracking the mode in the PHY unit.

The PHY duplex mode is set either by Auto-Negotiation or, if Auto-Negotiation is disabled, by setting the full duplex bit in the Management Data Interface (MDI) Register 0, bit 8. By default, the internal PHY unit advertises full duplex ability in the Auto-Negotiation process regardless of the duplex setting of the CSMA unit. The CSMA configuration should match the result of the Auto-Negotiation.

The selection of duplex operation (full or half) and flow control is done in two levels: MAC and PHY. The MAC duplex selection is done only through CSMA configuration mechanism (in other words, the Configure command from software).

Flow Control

The 82559ER supports IEEE 802.3x frame based flow control frames only in both full duplex and half duplex switched environments. The 82559ER flow control feature is not intended to be used in shared media environments.

Flow control is optional in full duplex mode and can be selected through software configuration. There are three modes of flow control that can be selected: frame based transmit flow control, frame based receive flow control, and none.

The PHY unit’s duplex and flow control enable can be selected using NWay* Auto-Negotiation algorithm or through the Management Data Interface.

Address Filtering Modifications

The 82559ER can be configured to ignore one bit when checking for its Individual Address (IA) on incoming receive frames. The address bit, known as the Upper/Lower (U/L) bit, is the second least significant bit of the first byte of the IA. This bit may be used, in some cases, as a priority

indication bit. When configured to do so, the 82559ER passes any frame that matches all other 47 address bits of its IA, regardless of the U/L bit value.

This configuration only affects the 82559ER specific IA and not multicast, multi-IA or broadcast address filtering. The 82559ER does not attribute any priority to frames with this bit set, it simply passes them to memory regardless of this bit.

Long Frame Reception

The 82559ER supports the reception of long frames, specifically frames longer than 1518 bytes, including the CRC, if software sets the Long Receive OK bit in the Configuration command. Otherwise, “long” frames are discarded.

31

82559ER — Networking Silicon

4.6Media Independent Interface (MII) Management Interface

The MII management interface allows the CPU to control the PHY unit via a control register in the 82559ER. This allows the software driver to place the PHY in specific modes such as full duplex, loopback, power down, etc., without the need for specific hardware pins to select the desired mode. This structure allows the 82559ER to query the PHY unit for status of the link. This register is the MDI Control Register and resides at offset 10h in the 82559ER CSR. (The MDI registers are described in detail in Section 8.0, “PHY Unit Registers”.) The CPU writes commands to this

register and the 82559ER reads or writes the control/status parameters to the PHY unit through the MDI register. Although the 82559ER follows the MII format, the MI bus is not accessible on external pins.

32 Datasheet

5.0

5.1

5.1.1

5.1.25.1.2.1DatasheetNetworking Silicon — 82559ER

82559ER Physical Layer Functional Description

100BASE-TX PHY Unit

100BASE-TX Transmit Clock Generation

A 25 MHz crystal or a 25 MHz oscillator is used to drive the PHY unit’s X1 and X2 pins. The PHY unit derives its internal transmit digital clocks from this crystal or oscillator input. The internal Transmit Clock signal is a derivative of the 25 MHz internal clock. The accuracy of the external crystal or oscillator must be ± 0.005% (50 PPM).

100BASE-TX Transmit Blocks

The transmit subsection of the PHY unit accepts nibble-wide data from the CSMA/CD unit. The transmit subsection passes data unconditionally to the 4B/5B encoder.

The 4B/5B encoder accepts nibble-wide data (4 bits) from the CSMA unit and compiles it into 5-bit-wide parallel symbols. These symbols are scrambled and serialized into a 125 Mbps bit stream, converted by the analog transmit driver into a MLT-3 waveform format, and transmitted onto the Unshielded Twisted Pair (UTP) or Shielded Twisted Pair (STP) wire.

100BASE-TX 4B/5B Encoder

The 4B/5B encoder complies with the IEEE 802.3u 100BASE-TX standard. Four bits are encoded according to the transmit 4B/5B lookup table. The lookup table matches a 5-bit code to each 4-bit code.

The table below illustrates the 4B/5B encoding scheme associated with the given symbol.

Table 2. 4B/5B Encoder

Symbol

5B Symbol Code

4B Nibble Code

0111100000101001000121010000103101010011401010010050101101016011100110701111011181001010009100111001A101101010B101111011C110101100D

11011

1101

33

82559ER — Networking Silicon

Table 2. 4B/5B Encoder

SymbolEFIJKTRVVVVHVVVVVV

5B Symbol Code

111001110111111110001000101101001110000000001000100001100100001010011001000011001000011001

4B Nibble Code

11101111

Inter Packet Idle Symbol (No 4B)

1st Start of Packet Symbol 0101

2nd Start of Packet Symbol 0101

1st End of Packet Symbol2nd End of Packet Symbol and Flow ControlINVALIDINVALIDINVALIDINVALIDINVALIDINVALIDINVALIDINVALIDINVALID

PHY based Flow ControlINVALID

5.1.2.2100BASE-TX Scrambler and MLT-3 Encoder

Data is scrambled in 100BASE-TX to reduce electromagnetic emissions during long transmissions of high-frequency data codes. The scrambler logic accepts 5 bits from the 4B/5B encoder block and presents the scrambled data to the MLT-3 encoder. The PHY unit implements the 11-bit stream cipher scrambler as adopted by the ANSI XT3T9.5 committee for UTP operation. The cipher equation used is:

X[n] = X[n-11] + X[n-9] (mod 2)

The encoder receives the scrambled Non-Return to Zero (NRZ) data stream from the Scrambler and encodes the stream into MLT-3 for presentation to the driver. MLT-3 is similar to NRZI coding, but three levels are output instead of two. There are three output levels: positive, negative and zero. When an NRZ “0” arrives at the input of the encoder, the last output level is maintained (either positive, negative or zero). When an NRZ “1” arrives at the input of the encoder, the output steps to the next level. The order of steps is negative-zero-positive-zero which continues periodically.

34 Datasheet

5.1.2.35.1.2.4DatasheetNetworking Silicon — 82559ER

ClockNRZ1

1

0

0

1

0

0

1

NRZ111001001MLT-3

11001001Figure 13. NRZ to MLT-3 Encoding Diagram

100BASE-TX Transmit Framing

The PHY unit does not differentiate between the fields of the MAC frame containing preamble, Start of Frame Delimiter, data and Cyclic Redundancy Check (CRC). The PHY unit encodes the first byte of the preamble as the “JK” symbol, encodes all other pieces of data according to the 4B/5B lookup table, and adds the “TR” code after the end of the packet. The PHY unit scrambles and serializes the data into a 125 Mbps stream, encodes it as MLT-3, and drives it onto the wire.

Transmit Driver

The transmit differential pair lines are implemented with a digital slope controlled current driver that meets the TP-PMD specifications. Current is sunk from the isolation transformer by the TDP and TDN pins. The conceptual transmit differential waveform for 100 Mbps is illustrated in the following figure.

(VTDP-VTDN)+1V0Vt-1VFigure 14. Conceptual Transmit Differential WaveformThe magnetics module that is external to the PHY unit converts ITDP and ITDN to the 2.0 Vpp, as required by the TP-PMD specification. The same magnetics used for 100BASE-TX mode should also work in 10BASE-T mode. The following is a list of current magnetics modules available from several vendors:

Table 3. Magnetics Modules

Vendor

Model/Type100BASE-TX

10BASE-T

Delta

LF8200AYesYesPulse EngineeringPE-68515YesYesPulse Engineering

H1012

Yes

Yes

35

82559ER — Networking Silicon

5.1.3100BASE-TX Receive Blocks

The receive subsection of the PHY unit accepts 100BASE-TX MLT-3 data on the receive

differential pair. Due to the advanced digital signal processing design techniques employed, the PHY unit will accurately receive valid data from Category-5 (CAT5) UTP and Type 1 STP cable of length well in excess of 100 meters.

5.1.3.1Adaptive Equalizer

The distorted MLT-3 signal at the end of the wire is restored by the equalizer. The equalizer performs adaptation based on the shape of the received signal, equalizing the signal to meet superior Data Dependent Jitter performance.

5.1.3.2Receive Clock and Data Recovery

The clock recovery circuit uses advanced digital signal processing technology to compensate for various signal jitter causes. The circuit recovers the 125 MHz clock and data and presents the data to the MLT-3 decoder.

5.1.3.3MLT-3 Decoder, Descrambler, and Receive Digital Section

The PHY unit first decodes the MLT-3 data; afterwards, the descrambler reproduces the 5B

symbols originated in the transmitter. The descrambling is based on synchronization to the transmit 11-bit Linear Feedback Shift Register (LFSR) during idle. The data is decoded at the 4B/5B decoder. Once the 4B symbols are obtained, the PHY unit outputs the receive data to the CSMA unit.

5.1.3.4100BASE-TX Receive Framing

The PHY unit does not differentiate between the fields of the MAC frame containing preamble, start of frame delimiter, data and CRC. During 100 Mbps reception, the PHY unit differentiates between the idle condition (\"L\" symbols on the wire) and the preamble or start of frame delimiter. When two non-consecutive bits are 0b within 10 bits (125 Mbps 5B data coding) the PHY unit immediately asserts carrier sense. When the “JK” symbols (“11000, 10001”) are fully recognized, the PHY unit provides the received data to the CSMA unit. If the “JK” symbol is not recognized (“false carrier sense”), the carrier sense is immediately de-asserted and a receive error is indicated.

5.1.3.5100BASE-TX Receive Error Detection and Reporting

In 100BASE-TX mode, the PHY unit can detect errors in receive data in a number of ways. Any of the following conditions is considered an error:

••••

Link integrity fails in the middle of frame reception.

The Start of Stream Delimiter (SSD) “JK” symbol is not fully detected after idle.An invalid symbol is detected at the 4B/5B decoder.

Idle is detected in the middle of a frame (before “TR” is detected).

When any of the above error conditions occurs, the PHY unit immediately asserts its receive error indication to the CSMA unit. The receive error indication is held active as long as the receive error condition persists on the receive pair.

36 Datasheet

5.1.45.1.55.1.5.15.1.5.25.1.65.2

5.2.1

DatasheetNetworking Silicon — 82559ER

100BASE-TX Collision Detection

100BASE-TX collisions in half duplex mode only are detected similarly to 10BASE-T collision detection, via simultaneous transmission and reception.

100BASE-TX Link Integrity and Auto-Negotiation Solution

The 82559 Auto-Negotiation function automatically configures the device to the technology, media, and speed to operate with its link partner. Auto-Negotiation is widely described in IEEE specification 802.3u, clause 28. The PHY unit supports 10BASE-T half duplex, 10BASE-T full duplex, 100BASE-TX half duplex, and 100BASE-TX full duplex.

The PHY unit has two Physical Media Attachment (PMA) technologies with its link integrity function, 10BASE-T and 100BASE-TX.

Link Integrity

In 100BASE-TX, the link integrity function is determined by a stable signal status coming from the TP-PMD block. Signal status is asserted when the PMD detects breaking squelch energy and the right bit error rate according to the ANSI specification.

Auto-Negotiation

The PHY unit fully supports IEEE 802.3u, clause 28. The technology, 10BASE-T or 100BASE-TX, is determined by the Auto-Negotiation result.

Speed and duplex auto-select are functions of Auto-Negotiation. However, these parameters may be manually configured via the MII management interface (MDI registers).

Auto 10/100 Mbps Speed Selection

The MAC may either allow the PHY unit to automatically select its operating speed or force the PHY into 10 Mbps or 100 Mbps mode. The Management Data Interface (MDI) can control the PHY unit speed mode.

The PHY unit auto-select function determines the operation speed of the media based on the link integrity pulses it receives. If no Fast Link Pulses (FLPs) are detected and Normal Link Pulses (NLPs) are detected, the PHY unit defaults to 10 Mbps operation. If the PHY unit detects a speed change, it dynamically changes its transmit clock and receive clock frequencies to the appropriate value. This change takes a maximum of five milliseconds.

10BASE-T Functionality

10BASE-T Transmit Clock Generation

The 20 MHz and 10 MHz clocks needed for 10BASE-T are synthesized from the external 25 MHz crystal or oscillator. The PHY unit provides the transmit clock and receive clock to the internal MAC at 2.5 MHz.

37

82559ER — Networking Silicon

5.2.2

5.2.2.1

10BASE-T Transmit Blocks

10BASE-T Manchester Encoder

After the 2.5 MHz clocked data is serialized in a 10 Mbps serial stream, the 20 MHz clock

performs the Manchester encoding. The Manchester code always has a mid-bit transition. If the value is 1b then the transition is from low to high. If the value is 0b then the transition is from high to low. The boundary transition occurs only when the data changes from bit to bit. For example, if the value is 10b, then the change is from high to low; if 01b, then the change is from low to high.

5.2.2.210BASE-T Driver and Filter

Since 10BASE-T and 100BASE-TX have different filtration needs, both filters are implemented inside the chip. This allows the two technologies to share the same magnetics. The PHY unit supports both technologies through one pair of TD pins and by externally sharing the same magnetics.

In 10 Mbps mode, the PHY unit begins transmitting the serial Manchester bit stream within 3 bit times (300 nanoseconds) after the MAC asserts TXEN. In 10 Mbps mode the line drivers use a pre-distortion algorithm to improve jitter tolerance. The line drivers reduce their drive level during the second half of “wide” (100ns) Manchester pulses and maintain a full drive level during all narrow (50ns) pulses and the first half of the wide pulses. This reduces line overcharging during wide pulses, a major source of jitter.

5.2.3

5.2.3.1

10BASE-T Receive Blocks

10BASE-T Manchester Decoder

The PHY unit performs Manchester decoding and timing recovery when in 10 Mbps mode. The Manchester-encoded data stream is decoded from the RD pair to separate Receive Clock and Receive Data from the differential signal. This data is transferred to the CSMA unit at 2.5 MHz/nibble. The high-performance circuitry of the PHY unit exceeds the IEEE 802.3 jitter requirements.

5.2.3.210BASE-T Twisted Pair Ethernet (TPE) Receive Buffer and Filter

In 10 Mbps mode, data is expected to be received on the receive differential pair after passing through isolation transformers. The filter is implemented inside the PHY unit for supporting single magnetics that are shared with the 100BASE-TX side. The input differential voltage range for the Twisted Pair Ethernet (TPE) receiver is greater than 585 mV and less than 3.1 V. The TPE receive buffer distinguishes valid receive data, link test pulses, and the idle condition, according to the requirements of the 10BASE-T standard.

The following line activity is determined to be inactive and is rejected:

•Differential pulses of peak magnitude less than 300 mV

•Continuous sinusoids with a differential amplitude less than 6.2 Vpp and frequency less than 2

MHz

•Sine waves of a single cycle duration starting with 0 or 180° phase that have a differential

amplitude less than 6.2 Vpp and a frequency of at least 2 MHz and not more than 16 MHz. These single-cycle sine waves are discarded only if they are preceded by 4 bit times (400 nanoseconds) of silence.

38 Datasheet

5.2.3.35.2.45.2.55.2.65.2.75.3DatasheetNetworking Silicon — 82559ER

All other activity is determined to be either data, link test pulses, Auto-Negotiation fast link pulses, or the idle condition. When activity is detected, the carrier sense signal is asserted to the MAC.

10BASE-T Error Detection and Reporting

In 10 Mbps mode, the PHY unit can detect errors in the receive data. The following condition is considered an error:

The receive pair’s voltage level drops to the idle state during reception before the end-of-frame bit is detected (250 nanoseconds without mid-bit transitions).

10BASE-T Collision Detection

Collision detection in 10 Mbps mode is indicated by simultaneous transmission and reception. If the PHY unit detects this condition, it asserts a collision indication to the CSMA/CD unit.

10BASE-T Link Integrity

The link integrity in 10 Mbps works with link pulses. The PHY unit senses and differentiates those link pulses from fast link pulses and from 100BASE-TX idles. The 10 Mbps link pulses or normal link pulses are driven in the transmit differential pair line but are 100 ns wide and have levels from 0 V to 5 V. The link beat pulse is also used to determine if the receive pair polarity is reversed. If it is, the polarity is corrected internally.

10BASE-T Jabber Control Function

The PHY unit contains a jabber control function that inhibits transmission after a specified time window when enabled. In 10 Mbps mode, the jabber timer is set to a value between 26.2 ms and 39 ms. If the PHY unit detects continuous transmission that is greater than this time period, it prevents further transmissions from onto the wire until it detects that the MAC transmit enable signal has been inactive for at least 314 ms.

10BASE-T Full Duplex

The PHY unit supports 10 Mbps full duplex by disabling the collision function, the squelch test, and the carrier sense transmit function. This allows the PHY unit to transmit and receive

simultaneously, achieving up to 20 Mbps of network bandwidth. The configuration can be achieved through Auto-Negotiation. Full duplex should only be used in point-to-point connections (no shared media).

Auto-Negotiation Functionality

The PHY unit supports Auto-Negotiation. Auto-Negotiation is an automatic configuration scheme designed to manage interoperability in multifunctional LAN environments. It allows two stations with “N” different modes of communication to establish a common mode of operation. At power-up, Auto-Negotiation automatically establishes a link that takes advantage of an Auto-Negotiation capable device. An Auto-Negotiation capable device can detect and automatically configure its port to take maximum advantage of common modes of operation without user intervention or prior knowledge by either station. The possible common modes of operation are: 100BASE-TX, 100BASE-TX Full Duplex, 10BASE-T, and 10BASE-T Full Duplex.

39

82559ER — Networking Silicon

5.3.1Description

Auto-Negotiation selects the fastest operating mode (in other words, the highest common

denominator) available to hardware at both ends of the cable. A PHY’s capability is encoded by bursts of link pulses called Fast Link Pulses (FLPs). Connection is established by FLP exchange and handshake during link initialization time. Once the link is established by this handshake, the native link pulse scheme resumes (that is, 10BASE-T or 100BASE-TX link pulses). A reset or management renegotiate command (through the MDI interface) will restart the process. To enable Auto-Negotiation, bit 12 of the MDI Control Register must be set. If the PHY unit cannot perform Auto-Negotiation, it will set this bit to a 0 and determine the speed using Parallel Detection.The PHY unit supports four technologies: 100BASE-Tx Full and Half Duplex and 10BASE-T Full and Half Duplex. Since only one technology can be used at a time (after every re-negotiate

command), a prioritization scheme must be used to ensure that the highest common denominator ability is chosen. Each bit in this table is set according to what the PHY is capable of supporting. In the case of the 82559’s PHY unit, bits 0, 1, 2, 3, and 5 (10BASE-T, 10BASE-T full duplex,

100BASE-TX, 100BASE-TX full duplex and pause [frame based flow control], respectively) are set.

To detect the correct technology, the two register fields, technology ability and technology priority, should be ANDed together to obtain the highest common denominator. This value should then be used to map into a priority resolution table used by the MAC driver to use the appropriate technology.

5.3.2Parallel Detect and Auto-Negotiation

The PHY unit automatically determines the speed of the link either by using Parallel Detect or Auto-Negotiation. Upon a reset, a link status fail, or a Negotiate/Re-negotiate command, the PHY unit inserts a long delay during which no link pulses are transmitted. This period, known as Force_Fail, insures that the PHY unit‘s link partner has gone into a Link Fail state before Auto-Negotiation or Parallel Detection begins. Thus, both sides (PHY unit and PHY unit’s link partner)

40 Datasheet

5.4DatasheetNetworking Silicon — 82559ER

will perform Auto-Negotiation or Parallel Detection with no data packets being transmitted. Connection is then established either by FLP exchange or Parallel Detection. The PHY unit will look for both FLPs and link integrity pulses. The following diagram illustrates this process.

Force_FailAbility detect either byparallel detect or auto-negotiation.Parallel DetectionAuto-Negotiation10Base-T or100Base-TX LinkFLP capableReadyLook at Link Pulse;Auto-Negotiation capable = 0Auto-Negotiation capable = 1Ability MatchLINK PASSAuto-Negotiation Complete bit setFigure 15. Auto-Negotiation and Parallel DetectLED Description

The PHY unit supports three LED pins to indicate link status, network activity and network speed. Each pin can source 10 mA.

•Link: This LED is off until a valid link has been detected. After a valid link has been detected,

the LED will remain on (active-low).

•Activity: This LED blinks on and off when activity is detected on the wire.

•Speed: This LED will be on if a 100BASE-TX link is detected and off if a 10BASE-T link is

detected. If the link fails while in Auto-Negotiation, this LED will keep the last valid link state. If 100BASE-TX link is forced this LED will be on, regardless of the link status. This LED will be of if the 10BASE-T link is forced, regardless of the link status.

MDI register 27 in Section 8.3.12, “Register 27: PHY Unit Special Control Bit Definitions” details the information for LED function mapping and support enhancements.

Figure 16 provides possible schematic diagrams for configurations using two and three LEDs.

41

82559ER — Networking Silicon

42LILEDVCCACTLEDSpeedLEDVCC82559ERLILEDACTLEDSpeedLEDFigure 16. Two and Three LED Schematic Diagram Datasheet

6.06.16.1.1DatasheetNetworking Silicon — 82559ER

PCI Configuration Registers

The 82559ER acts as both a master and a slave on the PCI bus. As a master, the 82559ER interacts with the system main memory to access data for transmission or deposit received data. As a slave, some 82559ER control structures are accessed by the host CPU to read or write information to the on-chip registers. The CPU also provides the 82559ER with the necessary commands and pointers that allow it to process receive and transmit data.

LAN (Ethernet) PCI Configuration Space

The 82559ER PCI configuration space is configured as 16 Dwords of Type 0 Configuration Space Header, as defined in the PCI Specification, Revision 2.1. A small section is also configured according to its device specific configuration space. The configuration space header is depicted below in Figure 17.

Device IDVendor ID00HStatus

Command

04HClass Code

Revision ID08HBIST

Header Type

Latency Timer

Cache Line Size

0CHCSR Memory Mapped Base Address Register10HCSR I/O Mapped Base Address Register14HFlash Memory Mapped Base Address Register

18HReserved Base Address Register1CHReserved Base Address Register20HReserved Base Address Register

24HReserved

28H

Subsystem ID

Subsystem Vendor ID

2CHExpansion ROM Base Address Register30H

Reserved

Cap_Ptr

34HReserved

38HMax_Lat

Min_Gnt

Interrupt PinInterrupt Line3CHPower Management CapabilitiesNext Item Ptr

Capability ID

DCHReserved

Data

Power Management CSR

E0H

Figure 17. PCI Configuration Registers

PCI Vendor ID and Device ID Registers

The Vendor ID and Device ID of the 82559ER are both read only word entities. Their HARD-CODED values are:

Vendor ID: 8086HDevice ID: 1209H

43

82559ER — Networking Silicon

6.1.2Table 4. 44PCI Command Register

The 82559ER Command register at word address 04h in the PCI configuration space provides control over the 82559ER’s ability to generate and respond to PCI cycles

. If a 0His written to this register, the 82559ER is logically disconnected from the PCI bus for all accesses except configuration accesses. The format of this register is shown in the figure below.

151098763210Reserved0000SERR# EnableParity Error ResponseMemory Write and Invalidate EnableBus Master EnableMemory SpaceIO spaceFigure 18. PCI Command RegisterNote that bits three, five, seven, and nine are set to 0b. The table below describes the bits of the PCI Command register.

PCI Command Register Bits

BitsName

Description

15:10

Reserved

These bits are reserved and should be set to 000000b.

This bit controls a device’s ability to enable the SERR# driver. A value of 0b 8SERR# Enable

disables the SERR# driver. A value of 1b enables the SERR# driver. This bit must be set to report address parity errors. In the 82559ER, this bit is configurable and has a default value of 0b.

This bit controls a device’s response to parity errors. A value of 0b causes the device to ignore any parity errors that it detects and continue normal 6Parity Error Control

operation. A value of 1b causes the device to take normal action when a parity error is detected. This bit must be set to 0b after RST# is asserted. In the 82559ER, this bit is configurable and has a default value of 0b.This bit controls a device’s ability to use the Memory Write and Invalidate command. A value of 0b disables the device from using the Memory Write 4

Memory Write and Invalidate Enable

and Invalidate Enable command. A value of 1b enables the device to use the Memory Write and Invalidate command. In the 82559ER, this bit is configurable and has a default value of 0b.

This bit controls a device’s ability to act as a master on the PCI bus. A 2BusMaster

value of 0b disables the device from generating PCI accesses. A value of 1b allows the device to behave as a bus master. In the 82559ER, this bit is configurable and has a default value of 0b.

This bit controls a device’s response to the memory space accesses. A 1Memory Space

value of 0b disables the device response. A value of 1b allows the device to respond to memory space accesses. In the 82559ER, this bit is configurable and its default value of 0b.

This bit controls a device’s response to the I/O space accesses. A value of 0I/O Space

0b disables the device response. A value of 1b allows the device to

respond to I/O space accesses. In the 82559ER, this bit is configurable and the default value of 0b.

Datasheet

6.1.3Table 5. DatasheetNetworking Silicon — 82559ER

PCI Status Register

The 82559ER Status register is used to record status information for PCI bus related events. The format of this register is shown in the figure below.

313029282726252423222120191600101001ReservedDetected Parity ErrorSignaled System ErrorReceived Master AbortReceived Target AbortSignaled Target AbortDevsel TimingParity Error DetectedFast Back To Back (target)Capabilities ListFigure 19. PCI Status RegisterNote that bits 21, 22, 26, and 27 are set to 0b and bits 20, 23, and 25 are set to 1b. The PCI Status register bits are described in the table below.

PCI Status Register Bits

Bits

Name

Description

This bit indicates whether a parity error is detected. This bit must be asserted by the device when it detects a parity error, even if parity error 31Detected Parity Error

handling is disabled (as controlled by the Parity Error Response bit in the PCI Command register, bit 6). In the 82559ER, the initial value of the Detected Parity Error bit is 0b. This bit is set until cleared by writing a 1b.This bit indicates when the device has asserted SERR#. In the 82559ER, 30Signaled System Error

the initial value of the Signaled System Error bit is 0b. This bit is set until cleared by writing a 1b.

This bit indicates whether or not a master abort has occurred. This bit must 29

Received Master be set by the master device when its transaction is terminated with a Abort

master abort. In the 82559ER, the initial value of the Received Master Abort bit is 0b. This bit is set until cleared by writing a 1b.

This bit indicates that the master has received the target abort. This bit 28Received Target Abort

must be set by the master device when its transaction is terminated by a target abort. In the 82559ER, the initial value of the Received Target Abort bit is 0b. This bit is set until cleared by writing a 1b.

This bit indicates whether a transaction was terminated by a target abort. 27Signaled Target Abort

This bit must be set by the target device when it terminates a transaction with target abort. In the 82559ER, this bit is always set to 0b.These two bits indicate the timing of DEVSEL#:00b - Fast

26:25

DEVSEL# Timing

01b - Medium10b - Slow11b - Reserved

In the 82559ER, these bits are always set to 01b, medium.

45

82559ER — Networking Silicon

Table 5. PCI Status Register Bits

Bits

Name

Description

This bit indicates whether a parity error has been detected. This bit is set to 1b when the following three conditions are met:

1.The bus agent asserted PERR# itself or observed PERR# asserted.

24

Parity Error Detected

2.The agent setting the bit acted as the bus master for the operation in

which the error occurred.3.The Parity Error Response bit in the command register (bit 6) is set.In the 82559ER, the initial value of the Parity Error Detected bit is 0b. This bit is set until cleared by writing a 1b.

This bit indicates a device’s ability to accept fast back-to-back transactions when the transactions are not to the same agent. A value of 0b disables fast back-to-back ability. A value of 1b enables fast back-to-back ability. In the 82559ER, this bit is read only and is set to 1b.

This bit indicates whether the 82559ER implements a list of new

capabilities such as PCI Power Management. A value of 0b means that this function does not implement the Capabilities List. If this bit is set to 1b, the Cap_Ptr register provides an offset into the 82559ER PCI Configuration space pointing to the location of the first item in the Capabilities List. This bit is set only if the power management bit in the EEPROM is set.These bits are reserved and should be set to 0000b.

23Fast Back-to-Back

20Capabilities List

19:16Reserved

6.1.4PCI Revision ID Register

The Revision ID is an 8-bit read only register with a default value of 08h for the 82559ER. The three least significant bits of the Revision ID can be overridden by the ID and Revision ID fields in the EEPROM (Section 4.4, “Serial EEPROM Interface”).

6.1.5PCI Class Code Register

The Class Code register is read only and is used to identify the generic function of the device and, in some cases, specific register level programming interface. The register is broken into three byte size fields. The upper byte is a base class code and specifies the 82559ER as a network controller, 2H. The middle byte is a subclass code and specifies the 82559ER as an Ethernet controller, 0H. The lower byte identifies a specific register level programming interface and the 82559ER always returns a 0h in this field.

6.1.6PCI Cache Line Size Register

In order for the 82559ER to support the Memory Write and Invalidate (MWI) command, the 82559ER must also support the Cache Line Size (CLS) register in PCI Configuration space. The register supports only cache line sizes of 8 and 16 Dwords. Any value other than 8 or 16 that is written to the register is ignored and the 82559ER does not use the MWI command. If a value other than 8 or 16 is written into the CLS register, the 82559ER returns all zeroes when the CLS register is read. The figure below illustrates the format of this register.

70

60

50

4RW

3RW

20

10

00

Figure 20. Cache Line Size Register

46Datasheet

Networking Silicon — 82559ER

Note:

Bit 3 is set to 1b only if the value 00001000b (8H) is written to this register, and bit 4 is set to 1b 6.1.76.1.86.1.9Datasheetonly if the value of 00010000b (16H) is written to this register. All other bits are read only and will return a value of 0b on read.

This register is expected to be written by the BIOS and the 82559ER driver should not write to it.

PCI Latency Timer

The Latency Timer register is a byte wide register. When the 82559ER is acting as a bus master, this register defines the amount of time, in PCI clock cycles, that it may own the bus.

PCI Header Type

The Header Type register is a byte read only register. It is hard-coded to equal to 00h for a single function card.

PCI Base Address Registers

One of the most important functions for enabling superior configurability and ease of use is the ability to relocate PCI devices in address spaces. The 82559ER contains three types of Base Address Registers (BARs). Two are used for memory mapped resources, and one is used for I/O mapping. Each register is 32 bits wide. The least significant bit in the BAR determines whether it represents a memory or I/O space. The figures below show the layout of a BAR for both memory and I/O mapping. After determining this information, power-up software can map the memory and I/O controllers into available locations and proceed with system boot. To do this mapping in a device independent manner, the base registers for this mapping are placed in the predefined header portion of configuration space. Device drivers can then access this configuration space to determine the mapping of a particular device.

31

43210

Base Address

0

Prefetchable

Set to 0b in 82559ERType

00 - locate anywhere in 32-bit address space01 - locate below 1 Mbyte10 - locate anywhere in -bit address space11 - reservedMemory space indicator

Figure 21. Base Address Register for Memory Mapping

47

82559ER — Networking Silicon

Note:

6.1.9.16.1.9.26.1.9.36.1.9.44831

210Base Address

01

Reserved

I/O space indicator

Figure 22. Base Address Register for I/O Mapping

Bit 0 in all base registers is read only and used to determine whether the register maps into memory or I/O space. Base registers that map to memory space must return a 0b in bit 0. Base registers that map to I/O space must return 1b in bit 0.

Base registers that map into I/O space are always 32 bits wide with bit 0 hardwired to a 1b, bit 1 is reserved and must return 0b on reads, and the other bits are used to map the device into I/O space.The number of upper bits that a device actually implements depends on how much of the address space the device will respond to. For example, a device that wants a 1 Mbyte memory address space would set the most significant 12 bits of the base address register to be configurable, setting the other bits to 0b.

The 82559ER contains BARs for the Control/Status Register (CSR), Flash, and Expansion ROM.

CSR Memory Mapped Base Address Register

The 82559ER requires one BAR for memory mapping. Software determines which BAR, memory or I/O, is used to access the 82559ER CSR registers.

The memory space for the 82559ER CSR Memory Mapped BAR is 4 Kbyte. It is marked as prefetchable space and is mapped anywhere in the 32-bit memory address space.

CSR I/O Mapped Base Address Register

The 82559ER requires one BAR for I/O mapping. Software determines which BAR, memory or I.O, is used to access the 82559ER CSR registers. The I/O space for the 82559ER CSR I/O BAR is bytes.

Flash Memory Mapped Base Address Register

The Flash Memory BAR is a Dword register. The 82559ER physically supports up to a 128 Kbyte Flash device, and requests a 128Kbyte window. The 82559ER always claims a Flash memory window, regardless of whether or not a Flash device is connected (i.e. Flash Base Address Register cannot be disabled).

Expansion ROM Base Address Register

The Expansion ROM BAR is a Dword register and supports a 128 Kbyte memory via the 82559ER local bus. The Expansion ROM BAR can be disabled by setting the Boot Disable bit of the

EEPROM (word AH, bit 11). The 82559ER requests a 1MB window for expansion ROM. If the Boot Disable bit is set, the 82559ER returns a 0b for all bits in this address register, avoiding request of memory allocation for this space.

Datasheet

6.1.10Table 6. Note:6.1.116.1.12DatasheetNetworking Silicon — 82559ER

PCI Subsystem Vendor ID and Subsystem ID Registers

The Subsystem Vendor ID field identifies the vendor of an 82559ER-based solution. The

Subsystem Vendor ID values are based upon the vendor’s PCI Vendor ID and is controlled by the PCI Special Interest Group (SIG).

The Subsystem ID field identifies the 82559ER-based specific solution implemented by the vendor indicated in the Subsystem Vendor ID field.

The 82559ER provides support for configurable Subsystem Vendor ID and Subsystem ID fields. After hardware reset is de-asserted, the 82559ER automatically reads addresses Ah through Ch of the EEPROM. The first of these 16-bit values is used for controlling various 82559ER functions. The second is the Subsystem ID value, and the third is the Subsystem Vendor ID value. Again, the default values for the Subsystem ID and Subsystem Vendor ID are 0h and 0H, respectively.The 82559ER checks bit numbers 15, 14, and 13 in the EEPROM, word Ah and functions according to Table 6 below.

82559ER ID Fields Programming

Bits 15, 14Bit 13Device IDVendor IDRevision IDSubsystem IDSubsystem Vendor ID11b, 10b, X1209H8086H09H0000H0000H00b(Default)(Default)01b0b1209H8086H09HWord BHWord CH01b

1b

1209H

8086H

Word AH, Word BH

Word CH

bits 10:8

The Revision ID is subject to change according to the silicon stepping.

The above table implies that if the 82559ER detects the presence of an EEPROM (as indicated by a value of 01b in bits 15 and 14), then bit number 13 determines whether the values read from the EEPROM, words Bh and CH, will be loaded into the Subsystem ID (word BH) and Subsystem Vendor ID (word CH) fields. If bits 15 and 14 equal 01b and bit 13 equals 1b, the three least significant bits of the Revision ID field are programmed by bits 8-10 of the first EEPROM word, word AH.

Between the de-assertion of reset and the completion of the automatic EEPROM read, the

82559ER does not respond to any PCI configuration cycles. If the 82559ER happens to be accessed during this time, it will Retry the access. More information on Retry is provided in Section 4.2.1.1.3, “Retry Premature Accesses”.

Capability Pointer

The Capability Pointer is a hard coded byte register with a value of DCH. It provides an offset within the Configuration Space for the location of the Power Management registers.

Interrupt Line Register

The Interrupt Line register identifies which system interrupt request line on the interrupt contoller the device’s PCI interrupt request pin (as defined in the Interrupt Pin register) is routed to.

49

82559ER — Networking Silicon

6.1.13Interrupt Pin Register

The Interrupt Pin register is read only and defines which of the four PCI interrupt request pins, INTA# through INTD#, a PCI device is connected to. The 82559ER is connected the INTA# pin.

6.1.14Minimum Grant Register

The Minimum Grant (Min_Gnt) register is an optional read only register for bus masters and is not applicable to non-master devices. It defines the amount of time the bus master wants to retain PCI bus ownership when it initiates a transaction. The default value of this register for the 82559ER is 08h. This can be converted to an actual time using the PCI specification (8* 1/PCIclk), to a value of 242ns.

6.1.15Maximum Latency Register

The Maximum Latency (Max_Lat) register is an optional read only register for bus masters and is not applicable to non-master devices. This register defines how often a device needs to access the PCI bus. The default value of this register for the 82559ER is 18h. This can be converted to an actual time using the PCI specification (18h* 1/PCIclk), to a value of 1μs.

6.1.16Capability ID Register

The Capability ID is a byte register. It signifies whether the current item in the linked list is the register defined for PCI Power Management. PCI Power Management has been assigned the value of 01H.

6.1.17Next Item Pointer

The Next Item Pointer is a byte register. It describes the location of the next item in the 82559ER’s capability list. Since power management is the last item in the list, this register is set to 0b.

6.1.18Power Management Capabilities Register

The Power Management Capabilities register is a word read only register. It provides information on the capabilities of the 82559ER related to power management. The 82559ER reports a value of FE21h if it is connected to an auxiliary power source and 7E21h otherwise. It indicates that the 82559ER supports wake-up in the D3 state if power is supplied, either Vcc or VAUX.

Table 7. Power Management Capability Register

Bits31:27

Default00011b (no VAUX)11111b (VAUX)

2625

1b1b

Read OnlyRead OnlyRead/WriteRead Only

Description

PME Support. This five bit field indicates the power states in which the 82559ER may assert PME#. The 82559ER supports wake-up in all power states if it is fed by an auxiliary power supply (VAUX) and D0, D1, D2, and D3hot if it is fed by PCI power.

D2 Support. If this bit is set, the 82559ER supports the D2 power state.

D1 Support. If this bit is set, the 82559ER supports the D1 power state.

50Datasheet

6.1.19DatasheetNetworking Silicon — 82559ER

Table 7. Power Management Capability Register

BitsDefaultRead/WriteDescription

24:22

000b

Read Only

Auxiliary Current. This field reports whether the 82559ER

implements the Data registers. The auxiliary power consumption is the same as the current consumption reported in the D3 state in the Data register.

211bRead Only

Device Specific Initialization (DSI). The DSI bit indicates whether special initialization of this function is required (beyond the standard PCI configuration header) before the generic class device driver is able to use it. DSI is required for the 82559ER after D3-to-D0 reset.200b (PCI)Read Only

Reserved (PCI). When this bit is set to ‘1’, it indicates that the

82559ER requires auxiliary power supplied by the system for wake-up from the D3cold state.

190bRead OnlyPME Clock. The 82559ER does not require a clock to generate a power management event.

18:16

010b

Read Only

Version. A value of indicates that the 82559ER complies with the PCI Power Management Specification, Revision 2.2.

Power Management Control/Status Register (PMCSR)

The Power Management Control/Status is a word register. It is used to determine and change the current power state of the 82559ER and control the power management interrupts in a standard manner.

Table 8. Power Management Control and Status Register

BitsDefaultRead/WriteDescription

15

0b

Read/Clear

PME Status. This bit is set upon a wake-up event. It is independent of the state of the PME Enable bit. If 1b is written to this bit, the bit will be cleared. It also de-asserts the PME# signal and clears the PME status bit in the Power Management Driver Register. When the PME# signal is enabled, the PME# signal reflects the state of the PME status bit.14:1300bRead Only

Data Scale. This field indicates the data register scaling factor. It equals 10b for registers zero through eight and 00b for registers nine through fifteen.

12:90000bRead OnlyData Select. This field is used to select which data is reported through the Data register and Data Scale field.

80bRead ClearPME Enable. This bit enables the 82559ER to assert PME#.7:5000bRead OnlyReserved. These bits are reserved and should be set to 000b.40bRead OnlyDynamic Data. The 82559ER does not support the ability to monitor the power consumption dynamically.

3:200bRead OnlyReserved. These bits are reserved and should be set to 00b.1:0

00b

Read/Write

Power State. This 2-bit field is used to determine the current power state of the 82559ER and to set the 82559ER into a new power state. The definition of the field values is as follows.

00 - D001 - D110 - D211 - D3

51

82559ER — Networking Silicon

6.1.20Data Register

The data register is an 8-bit read only register that provides a mechanism for the 82559ER to report state dependent maximum power consumption and heat dissipation. The value reported in this register depends on the value written to the Data Select field in the PMCSR register. The power measurements defined in this register have a dynamic range of 0 to 2.55 W with 0.01 W resolution according to the Data Scale. The value in this register is hard coded in the silicon. The structure of the data register is presented below.

52Table 9. Ethernet Data Register

Data Select

Data Scale

Data Reported

02D0 Power Consumption = 60 (600 mW)12D1 Power Consumption = 42 (420 mW)22D2 Power Consumption = 42 (420 mW)32D3 Power Consumption = 42 (420 mW)42D0 Power Dissipated = 58 (580 mW)52D1 Power Dissipated = 40 (400 mW)62D2 Power Dissipated = 40 (400 mW)72D3 Power Dissipated = 40 (400 mW)82Common Function Power Dissipated = 009-15

0

Reserved (00H)

Datasheet

Networking Silicon — 82559ER

7.0

7.1

Control/Status Registers

LAN (Ethernet) Control/Status Registers

The 82559ER’s Control/Status Register (CSR) is illustrated in the figure below.

D31 Upper Word D16

SCB Command Word

D15 Lower Word D0

SCB Status Word

Offset00H04H08H

Flash Control Register

0CH10H14H

Early Receive IntGeneral Control

18H1CH20H24H28H2CH30H34H38H3CH

System Control Block General Pointer

PORT

EEPROM Control Register

Management Data Interface (MDI) Control Register

Receive Direct Memory Access Byte Count

PMDR

Reserved

Flow Control Register

General Status

ReservedReservedReservedReservedReservedReservedReservedReserved

Figure 23. 82559ER Control/Status Register

NOTE:In Figure 23 above, SCB is defined as the System Control Block of the 82559ER, and PMDR is defined

as the Power Management Driver Register.

SCB Status Word: SCB Command Word: SCB General Pointer: PORT Interface:

The 82559ER places the status of its Command and Receive units and interrupt indications in this register for the CPU to read.The CPU places commands for the Command and Receive units in this register. Interrupts are also acknowledged in this register.The SCB General Pointer register points to various data structures in main memory depending on the current SCB Command word.The PORT interface allows the CPU to reset the 82559ER, force the 82559ER to dump information to main memory, or perform an internal self test.

The Flash Control register allows the CPU to enable writes to an external Flash.

Flash Control Register:

EEPROM Control Register:The EEPROM Control register allows the CPU to read and write to

an external EEPROM.

Datasheet53

82559ER — Networking Silicon

MDI Control Register:

The MDI Control register allows the CPU to read and write information from the PHY unit (or an external PHY component) through the Management Data Interface.

Receive DMA Byte Count: The Receive DMA Byte Count register keeps track of how many

bytes of receive data have been passed into host memory via DMA.Flow Control Register:PMDR:

This register holds the flow control threshold value and indicates the flow control commands to the 82559ER.

The Power Management Driver Register provides an indication in memory and I/O space that a wake-up interrupt has occurred. The PMDR is described in further detail in Section 7.1.11, “Power Management Driver Register” on page56.

The General Control register allows the 82559ER to enter the deep power-down state and provides the ability to disable the Clockrun functionality. The General Control register is described in further detail in Section 7.1.12, “General Control Register” on page57.The General Status register describes the status of the 82559ER’s duplex mode, speed, and link. The General Status register is detailed in Section 7.1.13, “General Status Register” on page57.

General Control:

General Status:

7.1.1System Control Block Status Word

The System Control Block (SCB) Status Word contains status information relating to the 82559ER’s Command and Receive units.

Bits151413

CXFRCNA

Name

Description

Command Unit (CU) Executed. The CX bit indicates that the CU has completed executing a command with its interrupt bit set.

Frame Received. The FR bit indicates that the Receive Unit (RU) has finished receiving a frame.

CU Not Active. The CNA bit is set when the CU is no longer active and in either an idle or suspended state.

Receive Not Ready. The RNR bit is set when the RU is not in the ready state. This may be caused by an RU Abort command, a no resources situation, or set suspend bit due to a filled Receive Frame Descriptor.Management Data Interrupt. The MDI bit is set when a Management Data Interface read or write cycle has completed. The management data interrupt is enabled through the interrupt enable bit (bit 29 in the Management Data Interface Control register in the CSR).

Software Interrupt. The SWI bit is set when software generates an interrupt.

Early Receive. The ER bit is used for early receive interrupts.

Flow Control Pause. The FCP bit is used as the flow control pause bit.Command Unit Status. The CUS field contains the status of the Command Unit.

Receive Unit Status. The RUS field contains the status of the Receive Unit.These bits are reserved and should be set to 00b.

12RNR

11MDI

10987:65:21:0

SWIERFCPCUSRUSReserved

Datasheet

7.1.27.1.37.1.47.1.57.1.67.1.7DatasheetNetworking Silicon — 82559ER

System Control Block Command Word

Commands for the 82559ER’s Command and Receive units are placed in this register by the CPU.

BitsNameDescription

Specific Interrupt Mask. Setting this bit to 1b causes the 82559ER to stop 31:26

Specific

Interrupt Maskgenerating an interrupt (in other words, de-assert the INTA# signal) on the corresponding event.

25

SI

Software Generated Interrupt. Setting this bit to 1b causes the 82559ER to generate an interrupt. Writing a 0b to this bit has no effect.

Interrupt Mask. If the Interrupt Mask bit is set to 1b, the 82559ER will not 24Massert its INTA# pin. The M bit has higher precedence that the Specific Interrupt Mask bits and the SI bit.

23:20CUCCommand Unit Command. This field contains the CU command.19ReservedThis bit is reserved and should be set to 0b.

18:16

RUC

Receive Unit Command. This field contains the RU command.

System Control Block General Pointer

The System Control Block (SCB) General Pointer is a 32-bit field that points to various data structures depending on the command in the CU Command or RU Command field.

PORT

The PORT interface allows software to perform certain control functions on the 82559ER. This field is 32 bits wide:

•Address and Data (bits 32:4)

•PORT Function Selection (bits 3:0)

The 82559ER supports four PORT commands: Software Reset, Self-test, Selective Reset, and Dump.

Flash Control Register

The Flash Control Register is a 32-bit field that allows access to an external Flash device.

EEPROM Control Register

The EEPROM Control Register is a 32-bit field that enables a read from and a write to the external EEPROM.

Management Data Interface Control Register

The Management Data Interface (MDI) Control register is a 32-bit field and is used to read and write bits from the MDI.

BitsDescription

31:30

These bits are reserved and should be set to 00b.

55

82559ER — Networking Silicon

Bits292827:2625:2120:16

Description

Interrupt Enable. When this bit is set to 1b by software, the 82559ER asserts an interrupt to indicate the end of an MDI cycle.

Ready. This bit is set to 1b by the 82559ER at the end of an MDI transaction. It should be reset to 0b by software at the same time the command is written.

Opcode. These bits define the opcode: 01 for MDI write and 10 for MDI read. All other values (00 and 11) are reserved.

PHY Address. This field of bits contains the PHY address (Default = 00001b).

PHY Register Address. This field of bits contains the address of the PHY Register to be accessed.

Data. In a write command, software places the data bits in this field, and the 82559ER transfers the data to the PHY unit. During a read command, the 82559ER reads these bits serially from the PHY register (specified by bits 20:16), and software reads the data from this location.

15:0

7.1.8Receive Direct Memory Access Byte Count

The Receive DMA Byte Count register keeps track of how many bytes of receive data have been passed into host memory via DMA.

7.1.9Early Receive Interrupt

The Early Receive Interrupt register allows the 82559ER to generate an early interrupt depending on the length of the frame. An early interrupt is indicated by the ER bit in the SCB Status Word and the assertion of the INTA# signal.

7.1.10Flow Control Register

The Flow Control Register contains the following fields:

•Flow Control Command

The Flow Control Command field describes the action of the flow control process (for example, pause, on, or off).

•Flow Control Threshold

The Flow Control Threshold field contains the threshold value (in other words, the number of free bytes in the Receive FIFO).

7.1.11Power Management Driver Register

The 82559ER provides an indication in memory and I/O space that a wake-up event has occurred. It is located in the PMDR.

Table 10. Power Management Driver Register

Bits3130

Default0b0b

Read/WriteRead/ClearRead

Description

Link Status Change Indication. The link status change bit is set following a change in link status and is cleared by writing a 1b to it.Not Supported, will always read as a ‘0’.

56Datasheet

Note:7.1.127.1.13DatasheetNetworking Silicon — 82559ER

Table 10. Power Management Driver Register

BitsDefaultRead/WriteDescription

29

0b

Read/Clear

Interesting Packet. This bit is set when an “interesting” packet is received. Interesting packets are defined by the 82559ER packet filters. This bit is cleared by writing 1b to it.

28:26000bRead OnlyReserved. These bits are reserved and should be set to 000b.250bRead/ClearReserved. These bit is reserved and should be set to 0b.

24

0b

Read/Clear

PME Status. This bit is a reflection of the PME Status bit in the Power Management Control/Status Register (PMCSR). It is set upon a wake-up event and is independent of the PME Enable bit.

This bit is cleared by writing 1b to it. This also clears the PME Status bit in the PMCSR and de-asserts the PME signal. I

The PMDR is initialized at ALTRST# reset only.

General Control Register

The General Control register is a byte register and is described below.

Table 11. General Control Register

BitsDefaultRead/WriteDescription

7:2000000bRead OnlyReserved. These bits are reserved and should be set to 000000b.1

0b

Read/Write

Deep Power-Down on Link Down Enable. If a 1b is written to this field, the 82559ER may enter a deep power-down state (sub-3 mA) in the D2 and D3 power states while the link is down.

In this state, the 82559ER does not keep link integrity. This state is not supported for point-to-point connection of two end stations.

0

0b

Read/Write

Clockrun Signal Disable. If this bit is set to 1b, then the 82559ER will always request the PCI clock signal. This mode can be used to overcome potential receive overruns caused by Clockrun signal latencies over 5 μs.

General Status Register

The General Status register is a byte register which indicates the link status of the 82559ER.

Table 12. General Status Register

BitsDefaultRead/WriteDescription

7:300000bRead OnlyReserved. These bits are reserved and should be set to 00000b.2--Read OnlyDuplex Mode. This bit indicates the wire duplex mode: full duplex (1b) or half duplex (0b).

1--Read OnlySpeed. This bit indicates the wire speed: 100 Mbps (1b) or 10 Mbps (0b).

0

0b

Read Only

Link Status Indication. This bit indicates the status of the link: valid (1b) or invalid (0b).

57

82559ER — Networking Silicon

7.2Statistical Counters

The 82559ER provides information for network management statistics by providing on-chip statistical counters that count a variety of events associated with both transmit and receive. The counters are updated by the 82559ER when it completes the processing of a frame (that is, when it has completed transmitting a frame on the link or when it has completed receiving a frame). The Statistical Counters are reported to the software on demand by issuing the Dump Statistical

Counters command or Dump and Reset Statistical Counters command in the SCB Command Unit Command (CUC) field.

Table 13. 82559ER Statistical Counters

ID0

Counter

Transmit Good Frames

Description

This counter contains the number of frames that were

transmitted properly on the link. It is updated only after the actual transmission on the link is completed, not when the frame was read from memory as is done for the Transmit Command Block status.

This counter contains the number of frames that were not transmitted because they encountered the configured maximum number of collisions.

This counter contains the number of frames that were not transmitted since they encountered a collision later than the configured slot time.

A transmit underrun occurs because the system bus cannot keep up with the transmission. This counter contains the number of frames that were either not transmitted or

retransmitted due to a transmit DMA underrun. If the 82559ER is configured to retransmit on underrun, this counter may be updated multiple times for a single frame.

This counter contains the number of frames that were

transmitted by the 82559ER despite the fact that it detected the de-assertion of CRS during the transmission.

This counter contains the number of frames that were deferred before transmission due to activity on the link.

This counter contains the number of transmitted frames that encountered one collision.

This counter contains the number of transmitted frames that encountered more than one collision.

This counter contains the total number of collisions that were encountered while attempting to transmit. This count includes late collisions and frames that encountered MAXCOL.This counter contains the number of frames that were received properly from the link. It is updated only after the actual reception from the link is completed and all the data bytes are stored in memory.

This counter contains the number of aligned frames discarded because of a CRC error. This counter is updated, if needed, regardless of the Receive Unit state. The Receive CRC Errors counter is mutually exclusive of the Receive Alignment Errors and Receive Short Frame Errors counters.

This counter contains the number of frames that are both misaligned (for example, CRS de-asserts on a non-octal

boundary) and contain a CRC error. The counter is updated, if needed, regardless of the Receive Unit state. The Receive Alignment Errors counter is mutually exclusive of the Receive CRC Errors and Receive Short Frame Errors counters.

4

Transmit Maximum Collisions (MAXCOL) Errors

Transmit Late Collisions (LATECOL) Errors

Transmit Underrun Errors

8

12

16Transmit Lost Carrier Sense (CRS)

20242832

Transmit DeferredTransmit Single CollisionsTransmit Multiple CollisionsTransmit Total Collisions

36Receive Good Frames

40Receive CRC Errors

44Receive Alignment Errors

58Datasheet

DatasheetNetworking Silicon — 82559ER

Table 13. 82559ER Statistical Counters

IDCounter

Description

48

Receive Resource Errors

This counter contains the number of good frames discarded due to unavailability of resources. Frames intended for a host whose Receive Unit is in the No Resources state fall into this category. If the 82559ER is configured to Save Bad Frames and the status of the received frame indicates that it is a bad frame, the Receive Resource Errors counter is not updated.52Receive Overrun Errors

This counter contains the number of frames known to be lost because the local system bus was not available. If the traffic problem persists for more than one frame, the frames that follow the first are also lost; however, because there is no lost frame indicator, they are not counted.

56Receive Collision Detect (CDT)This counter contains the number of frames that encountered collisions during frame reception.

60

Receive Short Frame Errors

This counter contains the number of received frames that are shorter than the minimum frame length. The Receive Short Frame Errors counter is mutually exclusive to the Receive Alignment Errors and Receive CRC Errors counters. A short frame will always increment only the Receive Short Frame Errors counter.

Flow Control Transmit Pause

This counter contains the number of Flow Control frames transmitted by the 82559ER. This count includes both the Xoff frames transmitted and Xon (PAUSE(0)) frames transmitted.68Flow Control Receive Pause

This counter contains the number of Flow Control frames received by the 82559ER. This count includes both the Xoff frames received and Xon (PAUSE(0)) frames received.72Flow Control Receive Unsupported

This counter contains the number of MAC Control frames received by the 82559ER that are not Flow Control Pause frames. These frames are valid MAC control frames that have the predefined MAC control Type value and a valid address but has an unsupported opcode.

The Statistical Counters are initially set to zero by the 82559ER after reset. They cannot be preset to anything other than zero. The 82559ER increments the counters by internally reading them, incrementing them and writing them back. This process is invisible to the CPU and PCI bus. In addition, the counters adhere to the following rules:

•The counters are wrap-around counters. After reaching FFFFFFFFh the counters wrap around

to 0.

•The 82559ER updates the required counters for each frame. It is possible for more than one

counter to be updated as multiple errors can occur in a single frame.

•The counters are 32 bits wide and their behavior is fully compatible with the IEEE 802.1

standard. The 82559ER supports all mandatory and recommend statistics functions through the status of the receive header and directly through these Statistical Counters.

The CPU can access the counters by issuing a Dump Statistical Counters SCB command. This provides a “snapshot”, in main memory, of the internal 82559ER statistical counters. The 82559ER supports 21 counters.

The counters are initialized by power-up reset driven on the ALTRST# pin.

59

82559ER — Networking Silicon

Note:This page left intentionally blank.

60Datasheet

8.08.1

8.1.1

DatasheetNetworking Silicon — 82559ER

PHY Unit Registers

The 82559ER provides status and accepts management information via the Management Data Interface (MDI) within the CSR space.

Acronyms mentioned in the registers are defined as follows:SC - self clearedRO - read only

E - EEPROM setting affects contentLL - latch lowLH -

latch high

MDI Registers 0 - 7

Register 0: Control Register Bit Definitions

Bit(s)Name

Description

DefaultR/W15

Reset

This bit sets the status and control register of the PHY to 0

RWtheir default states and is self-clearing. The PHY returns a value of one until the reset process has completed and SC

accepts a read or write transaction.1 = PHY Reset

14

Loopback

This bit enables loopback of transmit data nibbles from 0

RW

the TXD[3:0] signals to the receive data path. The PHY unit’s receive circuitry is isolated from the network.Note that this may cause the descrambler to lose

synchronization and produce 560 nanoseconds of “dead time.”

Note also that the loopback configuration bit takes priority over the Loopback MDI bit.1 = Loopback enabled

0 = Loopback disabled (Normal operation)

13

Speed Selection

This bit controls speed when Auto-Negotiation is disabled 1

RW

and is valid on read when Auto-Negotiation is disabled.1 = 100 Mbps0 = 10 Mbps

12

Auto-Negotiation This bit enables Auto-Negotiation. Bits 13 and 8, Speed 1

RW

Enable

Selection and Duplex Mode, respectively, are ignored when Auto-Negotiation is enabled.1 = Auto-Negotiation enabled0 = Auto-Negotiation disabled

11

Power-Down

This bit sets the PHY unit into a low power mode. In low 0

RW

power mode, the PHY unit consumes no more than 30 mA.

1 = Power-Down enabled

0 = Power-Down disabled (Normal operation)

10

Reserved

This bit is reserved and should be set to 0b.

0

RW

61

82559ER — Networking Silicon

Bit(s)9

NameRestart Auto-NegotiationDuplex Mode

Description

This bit restarts the Auto-Negotiation process and is self-clearing.

1 = Restart Auto-Negotiation process

This bit controls the duplex mode when Auto-Negotiation is disabled. If the PHY reports that it is only able to operate in one duplex mode, the value of this bit shall correspond to the mode which the PHY can operate.When the PHY is placed in Loopback mode, the behavior of the PHY shall not be affected by the status of this bit, bit 8.

1 = Full Duplex0 = Half Duplex

Default0

R/WRWSC

80RW

7Collision Test

This bit will force a collision in response to the assertion of the transmit enable signal.1 = Force COL0 = Do not force COL

0RW

6:0ReservedThese bits are reserved and should be set to 0000000b.0RW

8.1.2Register 1: Status Register Bit Definitions

Bit(s)151413121110:76

NameReserved100BASE-TX Full Duplex100 Mbps Half Duplex10 Mbps Full Duplex10 Mbps Half DuplexReservedManagement Frames Preamble SuppressionAuto-Negotiation CompleteRemote FaultAuto-Negotiation AbilityLink StatusJabber DetectExtended Capability

Description

This bit is reserved and should be set to 0b.1 = PHY able to perform full duplex 100BASE-TX1 = PHY able to perform half duplex 100BASE-TX1 = PHY able to operate at 10Mbps in full duplex mode

1 = PHY able to operate at 10 Mbps in half duplex mode

These bits are reserved and should be set to 0000b.0 = PHY will not accept management frames with preamble suppressed

1 = Auto-Negotiation process completed0 = Auto-Negotiation process has not completed0 = No remote fault condition detected1 = PHY is able to perform Auto-Negotiation1 = Valid link has been established0 = Invalid link detected

10

1 = Jabber condition detected0 = No jabber condition detected

1 = Extended register capabilities enabled

10010

ROROROLLROLHRO

Default0111100

R/WROERORORORORORO

32

0RO

62 Datasheet

8.1.38.1.48.1.58.1.6

DatasheetNetworking Silicon — 82559ER

Register 2: PHY Identifier Register Bit Definitions

Bit(s)NameDescription

DefaultR/W15:0

PHY ID (high Value: 02A8H

--RO

byte)

Register 3: PHY Identifier Register Bit Definitions

Bit(s)NameDescription

DefaultR/W15:0

PHY ID (low byte)

Value: 01H

--RO

Register 4: Auto-Negotiation Advertisement Register Bit Definitions

Bit(s)NameDescription

DefaultR/W15Next PageConstant 0 = Transmitting primary capability data 0ROpage

14ReservedThis bit is reserved and should be set to 0b.0RO13Remote Fault1 = Indicate link partner’s remote fault0

RW

0 = No remote fault

12:5

Technology Ability Technology Ability Field is an 8-bit field containing 00101111

RW

Fieldinformation indicating supported technologies specific to the selector field value.

4:0Selector Field

The Selector Field is a 5-bit field identifying the type of 00001RO

message to be sent via Auto-Negotiation. This field is read only in the 82559ER and contains a value of 00001b, IEEE Standard 802.3.

Register 5: Auto-Negotiation Link Partner Ability Register Bit Definitions

Bit(s)NameDescription

DefaultR/W15Next PageThis bit reflects the PHY’s link partner’s Auto---RONegotiation ability.

14

Acknowledge

This bit is used to indicate that the 82559ER’s PHY --RO

unit has successfully received its link partner’s Auto-Negotiation advertising ability.

13Remote FaultThis bit reflects the PHY’s link partner’s Auto---RONegotiation ability.

12:5Technology Ability This bit reflects the PHY’s link partner’s Auto---ROFieldNegotiation ability.

4:0

Selector Field

This bit reflects the PHY’s link partner’s Auto---

RO

Negotiation ability.

63

82559ER — Networking Silicon

8.1.7Register 6: Auto-Negotiation Expansion Register Bit Definitions

Bit(s)15:

NameReserved

Description

These bits are reserved and should be set to 0b.

Default00

R/WROROSCLH

000

ROROROSCLH

0

RO

Parallel Detection 1 = Fault detected via parallel detection (multiple link Faultfault occurred)

0 = No fault detected via parallel detectionThis bit will self-clear on read

321

Link Partner Next page AbleNext Page AblePage Received

1 = Link Partner is Next Page able0 = Link Partner is not Next Page able1 = Local drive is Next Page able0 = Local drive is not Next Page able1 = New Page received0 = New Page not receivedThis bit will self-clear on read.

0

LinkPartnerAuto-1 = Link Partner is Auto-Negotiation ableNegotiation Able0 = Link Partner is not Auto-Negotiation able 8.2MDI Registers 8 - 15

Registers eight through fifteen are reserved for IEEE.

8.3

8.3.1

MDI Register 16 - 31

Register 16: PHY Unit Status and Control Register Bit Definitions

Bit(s)15:1413

NameReservedCarrier Sense Disconnect ControlTransmit Flow Control Disable

Description

These bits are reserved and should be set to 00bThis bit enables the disconnect function.1 = Disconnect function enabled0 = Disconnect function disabledThis bit enables Transmit Flow Control1 = Transmit Flow Control enabled0 = Transmit Flow Control disabled

11

Receive De-Serializer In-Sync Indication100BASE-TX Power-Down

This bit indicates status of the 100BASE-TX Receive De-Serializer In-Sync.

This bit indicates the power state of 100BASE-TX PHY unit.1 = Power-Down0 = Normal operation

9

10BASE-T Power-Down

This bit indicates the power state of 100BASE-TX PHY unit.1 = Power-Down0 = Normal operation

1

RO

--RO

0

RW

Default000

R/WRWRW

12

101RO

Datasheet

8.3.2DatasheetNetworking Silicon — 82559ER

Bit(s)NameDescription

DefaultR/W8

Polarity

This bit indicates 10BASE-T polarity.--

RO

1 = Reverse polarity0 = Normal polarity

7:2ReservedThese bits are reserved and should be set to 0B.000000RO1

Speed

This bit indicates the Auto-Negotiation result.--

RO

1 = 100 Mbps0 = 10 Mbps

0Duplex ModeThis bit indicates the Auto-Negotiation result.--RO

1 = Full Duplex0 = Half Duplex

Register 17: PHY Unit Special Control Bit Definitions

Bit(s)NameDescription

DefaultR/W15Scrambler By-1 = By-pass Scrambler0

RW

pass

0 = Normal operations14By-pass 4B/5B1 = 4 bit to 5 bit by-pass0

RW

0 = Normal operation13Force Transmit H-1 = Force transmit H-pattern0

RW

Pattern

0 = Normal operation12Force 34 Transmit

1 = Force 34 transmit pattern0

RW

Pattern0 = Normal operation11Good Link1 = 100BASE-TX link good0

RW

0 = Normal operation

10ReservedThis bit is reserved and should be set to 0b.0RW9Transmit Carrier 1 = Transmit Carrier Sense disabled0

RW

Sense Disable0 = Transmit Carrier Sense enabled8Disable Dynamic 1 = Dynamic Power-Down disabled0

RW

Power-Down0 = Dynamic Power-Down enabled (normal)7Auto-Negotiation 1 = Auto-Negotiation loopback0

RW

Loopback0 = Auto-Negotiation normal mode6MDI Tri-State1 = MDI Tri-state (transmit driver tri-states)0

RW

0 = Normal operation5Filter By-pass1 = By-pass filter

0

RW

0 = Normal filter operation4AutoPolarity1 = Auto Polarity disabled0

RW

Disable0 = Normal polarity operation3Squelch Disable1 = 10BASE-T squelch test disable0

RW

0 = Normal squelch operation

2Extended 1 = 10BASE-T Extended Squelch control enabled0

RW

Squelch0 = 10BASE-T Extended Squelch control disabled1

Link Integrity 1 = Link disabled

0

RW

Disable

0 = Normal Link Integrity operation

65

82559ER — Networking Silicon

Bit(s)0

NameJabber Function Disable

1 = Jabber disabled

DescriptionDefault0

R/WRW

0 = Normal Jabber operation

8.3.3Register 18: PHY Address Register

Bit(s)15::0

NameReservedPHY Address

Description

These bits are reserved and should be set to a constant ‘0’

These bits are set to the PHY’s address, 00001b.

Default01

R/WRORO

8.3.4

Register 19: 100BASE-TX Receive False Carrier Counter Bit Definitions

Bit(s)15:0

NameReceive False Carrier

Description

These bits are used for the false carrier counter.

Default--R/WROSC

8.3.5Register 20: 100BASE-TX Receive Disconnect Counter Bit Definitions

Bit(s)15:0

NameDisconnect Event

Description

This field contains a 16-bit counter that increments for each disconnect event. The counter freezes when full and self-clears on read

Default--R/WROSC

8.3.6

Register 21: 100BASE-TX Receive Error Frame Counter Bit Definitions

Bit(s)15:0

NameReceive Error Frame

Description

This field contains a 16-bit counter that increments once per frame for any receive error condition (such as a symbol error or premature end of frame) in that frame. The counter freezes when full and self-clears on read.

Default--R/WROSC

8.3.7Register 22: Receive Symbol Error Counter Bit Definitions

Bit(s)15:0

NameSymbol Error Counter

Description

This field contains a 16-bit counter that increments for each symbol error. The counter freezes when full and self-clears on read.

In a frame with a bad symbol, each sequential six bad symbols count as one.

Default--R/WROSC

66 Datasheet

8.3.8

8.3.9

8.3.10

8.3.118.3.12DatasheetNetworking Silicon — 82559ER

Register 23: 100BASE-TX Receive Premature End of Frame Error Counter Bit Definitions

Bit(s)NameDescription

DefaultR/W15:0

Premature End of This field contains a 16-bit counter that increments for --ROFrame

each premature end of frame event. The counter freezes when full and self-clears on read.

SC

Register 24: 10BASE-T Receive End of Frame Error Counter Bit Definitions

Bit(s)NameDescription

DefaultR/W15:0

End of Frame This is a 16-bit counter that increments for each end --ROCounter

of frame error event. The counter freezes when full and self-clears on read.

SC

Register 25: 10BASE-T Transmit Jabber Detect Counter Bit Definitions

Bit(s)NameDescription

DefaultR/W15:0

Jabber Detect This is a 16-bit counter that increments for each

--ROCounter

jabber detection event. The counter freezes when full and self-clears on read.

SC

Register 26: Equalizer Control and Status Bit Definitions

Bit(s)Name

Description

DefaultR/W15:0

RFU

Reserved for Future Use

--RW

Register 27: PHY Unit Special Control Bit Definitions

Bit(s)NameDescription

DefaultR/W15:3ReservedThese bits are reserved and should be set to 0b.0RW2:0

LED Switch ValueACTLEDLILED000

RW

Control

000ActivityLink001SpeedCollision010SpeedLink011ActivityCollision100OffOff101OffOn110OnOff111

On

On

67

82559ER — Networking Silicon

Note:This page left intentionally blank.

68Datasheet

9.0

9.1

9.29.39.49.5DatasheetNetworking Silicon — 82559ER

82559ER Test Port Functionality

Introduction

The 82559ER’s NAND-Tree Test Access Port (TAP) is the access point for test data to and from the device. The port provides the ability to perform basic production level testing. The port provides two functions:

1.The the synchronous IC validation mode used in the production of the device. This mode gives the signals their names (i.e. TCK, Testability Port Clock).2.In addition to the synchronous test mode, the 82559ER supports asynchronous testing modes. These test modes support the validation of connections at the board level.

Asynchronous Test Mode

Four asynchronous test modes are supported for system level design use. The modes are selected through the use of Test Port input pin in static combinations. The Test Port pins are: TEST, TI, TEXEC and TCK. During normal operation the Test pin must be pulled down through a resistor (pulling Test high enables the test mode). All other Port inputs may have a pull-down at the designers discretion.

Test Function Description

The 82559 TAP mode supports several tests that can be used in board level design. These tests can help in the verification of basic functionality. As well as test the integrity of solder connection on the board. The tests are as follows:

85/85

The 85/85 test provides the same functionality to the board level designer as the Tristate mode. This mode is normal used during chip the chip burn-in cycling. The 82559ER is placed in this mode during the 85o/85% humidity test cycling. Test Pin Combinations: TEST = ‘1, TCK = ‘0, TEXEC = ‘1, TI = ‘1

Tristate

This command set all 82559ER Input and Output pins into a TRI-state (HIGH-Z) mode, all internal pull-ups and pull-downs are disabled. This mode is entered by setting the following Test Pin Combinations: TEST = ‘1, TCK = ‘0, TEXEC = ‘0, TI = ‘1, and resetting the device.

69

82559ER — Networking Silicon

9.6Nand Tree

The NAND tree test mode is the most useful of the asynchronous test modes. The test enables the placement of the 82559ER to be validated at board test. NAND tree was chosen for its speed advantages. Modern automated test equipment can complete a complete peripheral scan without support at the board level. This command connects all the outputs of the input-buffers in the device periphery into a NAND - tree scheme. All the output drivers of the output-buffers except the TOUT pin, are put into HIGH-Z mode. These pins can then be driven to affect the output of the tree. There are two separate chains and associated outputs for speed. Any hard strapped pins will prevent the tester from scanning correctly. This mode is entered by placing the Test Pin in the following Combinations: TEST = ‘1, TCK = ‘0, TEXEC = ‘1, TI = ‘0’.

There are two nand-tree chains with two separate outputs assigned to FLOE# (Chain 1) and FLWE# (Chain 2).

Table 14. NAND Tree Chains

Chain Order(NAND Tree Output)

1234567101112131415161718192021222324252627

Chain 1(FLOE#)RST#IDSELREQ#AD23SERR#AD22AD21AD20AD19AD18AD17C/BE2#FRAME#IRDY#TRDY#CLKDEVSEL#INTA#STOP#GNT#PERR#PARAD16C/BE1#AD15AD14AD13

Chain 2(FLWE#)LILEDACTLED#SPEEDLEDISOLATE#ALTRST#CLKRUN#AD31AD30AD29AD28AD27PME#AD26AD25C/BE3#AD24FLD0FLD1FLD2FLD3FLD4FLD5FLD6FLD7FLA0FLA1FLA2

70Datasheet

Networking Silicon — 82559ER

DatasheetTable 14. NAND Tree Chains

Chain OrderChain 1Chain 2(NAND Tree Output)

(FLOE#)(FLWE#)28AD12FLA329AD11FLA430AD10FLA531AD9FLA632AD8FLA733C/BE0#FLA834AD7FLA935AD6FLA1036AD5FLA1137AD4FLA1237AD3FLA13/EEDI39AD2FLA14/EEDO40AD1FLA15/EESK41AD0FLA12EECS

FLCS#

43444748

71

82559ER — Networking Silicon

Note:This page intentionally left blank.

72Datasheet

Networking Silicon — 82559ER

10.0

10.1

Electrical and Timing Specifications

Absolute Maximum Ratings

Maximum ratings are listed below:

Case Temperature under Bias (standard temperature part) . . . . . . . . . . . . . . . . . . . .0 C to 85 CStorage Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -65 C to 140 COutputs and Supply Voltages (except PCI and SMB). . . . . . . . . . . . . . . . . . . . .-0.5 V to 5.0 VPCI and SMB Output Voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-0.50 V to 5.25 VTransmit Data Output Voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-0.5 V to 8.0 VInput Voltages (except PCI and SMB). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-1.0 V to 5.0 VPCI and SMB Input Voltages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V 6.0 VStresses above the listed absolute maximum ratings may cause permanent damage to the 82559ER device. This is a stress rating only and functional operations of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.

10.2DC Specifications

SymbolVCCVIOICC

ParameterSupply VoltagePeriphery Clamp VoltagePower Supply

PCI

Condition

Min3.04.75

Typical3.35.0125

Max3.55.25195

UnitsVVmA

12Notes

Table 15. General DC Specifications

NOTES:

1.The VIO pin is the voltage bias pin for the PCI interface. This pin should be connected to V ± 5% in a 5 volt PCI system and 3.3 volts in a 3.3 volt PCI system. Be sure to install a 100 KΩ pull-up resistor. This resistor acts as a current limit resistor in systems where the VIO bias voltage may be shutdown. In this case, the 82559ER may consume additional current without a resistor.

2.Typical current consumption is in nominal operating conditions (VCC = 3.3 V) and average link activity. Maximum current consumption is in maximum VCC and maximum link activity.

The case temperature under bias is 0 C to 70 C for the standard temperature part and -25 C to 85 C for the extended temperature part.

The 82559ER supports both the PCI interface standards. The 82559ER is five volts tolerant and supports both 5 V and 3.3 V signaling environments.

Table 16. PCI/CardBus Interface DC Specifications

SymbolVIHPVILPVIPUPVIPDP

ParameterInput High VoltageInput Low VoltageInput Pull-up VoltageInput Pull-down Voltage

Condition

Min0.475VCC

-0.50.7VCC

0.2VCCMaxVIO + 0.50.325VCC

UnitsVVVV

11Notes

Datasheet 73

82559ER — Networking Silicon

Table 16. PCI/CardBus Interface DC Specifications

IILPVOHPVOLPCINPCCLKPCIDSELLPINP

Input Leakage CurrentOutput High VoltageOutput Low VoltageInput Pin CapacitanceCLK Pin CapacitanceIDSEL Pin CapacitancePin Inductance

5

0 < Vin < VCCIout = -2 mAIout = -500 μAIout = 3 mA, 6 mAIout = 1500 μA

2.40.9VCC

0.550.1VCC1012812±10

μAVVVVpFpFpFnH

44443, PCI2PCI

NOTES:

1.These values are only applicable in 3.3 V signaling environments. Outside of this limit the input buffer must consume its minimum current.

2.Input leakage currents include high-Z output leakage for all bidirectional buffers with tristate outputs.

3.Signals without pull-up resistors have 3 mA low output current; and signals requiring pull-up resistors, 6 mA. The signals requiring pull-up resistors include: FRAME#, TRDY#, IRDY#, DEVSEL#, STOP#, SERR# and PERR#.

4.This value is characterized but not tested.

Table 17. Flash/EEPROM Interface DC Specifications

SymbolVIHLVILLIILLVOHLVOLLCINL

ParameterInput High VoltageInput Low VoltageInput Low Leakage Current

Output High VoltageOutput Low VoltageInput Pin Capacitance

0 < Vin < VCCIout = -1 mAIout = 2mA

2.4

0.410

Condition

Min2.0-0.5

MaxVCC + 0.50.8±20

UnitsVVμAVVpF

1Notes

NOTE:

1.This value is characterized but not tested.

Table 18. LED Voltage/Current Characteristics

SymbolVOHLEDVOLLED

ParameterOutput High VoltageOutput Low Voltage

ConditionIout = -10 mAIout = 10 mA

Min2.4

0.7

Typical

Max

UnitsVV

Notes

Table 19. 100BASE-TX Voltage/Current Characteristics

SymbolRID100VIDA100

ParameterInput Differential Impedance

Input Differential Accept Peak Voltage

DC

Condition

Min10±500

Typical

Max

UnitsKΩmV

Notes

74 Datasheet

Networking Silicon — 82559ER

Table 19. 100BASE-TX Voltage/Current Characteristics

VIDR100VICM100VOD100ICCT100

Input Differential Reject Peak VoltageInput Common Mode Voltage

Output Differential Peak VoltageLine Driver Supply Peak Current

RBIAS100 = 9 Ω

0.95

VCC/21.0020

1.05±100

mVVVmA

1, 2, 3

NOTES:

1.Current is measured on all VCC pins (VCC = 3.3 V).

2.Transmitter peak current is attained by dividing the measured maximum differential output peak voltage by the load resistance value.

3.Recommended starting value for RBIAS100.

Table 20. 10BASE-T Voltage/Current Characteristics

SymbolRID10VIDA10VIDR10VICM10VOD10ICCT10

ParameterInput Differential Impedance

Input Differential Accept Peak VoltageInput Differential Reject Peak VoltageInput Common Mode Voltage

Output Differential Peak VoltageLine Driver Supply Peak Current

RL = 100 ΩRBIAS10 = 619 Ω

2.2

20

Condition10 MHz

5 MHz ≤ f ≤ 10 MHz5 MHz ≤ f ≤ 10 MHz

VCC/2

2.8

Min10±585

±3100±300

Typical

Max

UnitsKΩmVmVVVmA

1, 2, 3Notes

NOTES:

1.Current is measured on all VCC pins (VCC = 3.3 V).

2.Transmitter peak current is attained by dividing the measured maximum differential output peak voltage by the load resistance value.

3.Recommended starting value for RBIAS10.

Datasheet 75

82559ER — Networking Silicon

10.3AC Specifications

Symbol

ParameterSwitching

IOH(AC)

Current High(Test Point)Switching

IOL(AC)

Current Low(Test Point)

ICLICHslewRPslewFP

Low Clamp CurrentHigh Clamp Current

Condition0 < Vout ≤ 1.41.4 < Vout < 0.9VCC0.7VCC < Vout < VCCVout = 0.7VCCVout ≥ 2.2

2.2 > Vout > 0.1VCC0.18VCC > Vout > 0Vout = 0.18VCC-3 < Vin ≤ -1

VCC +4 > Vin ≥ VCC +1

-25 + (Vin + 1)/

0.01525 + (Vin-VCC-1)/

0.015

11

44

95Vout/0.023

Eqn B38VCC

Min-44-17.1(VCC - Vout)

Eqn A-32VCCMax

UnitsmAmAmAmAmAmAmAmAmAmAV/nsV/ns

Notes112211223

Table 21. AC Specifications for PCI Signaling

PCI Output Rise

0.4 V to 2.4 V

Slew RatePCI Output Fall Slew Rate

2.4 V to 0.4 V

NOTES:

1.Switching Current High specifications are not relevant to PME#, SERR#, or INTA#, which are open drain outputs.

2.Maximum current requirements will be met as drivers pull beyond the first step voltage (AC drive point). Equations defining these maximums (A and B) are provided. To facilitate component testing, a maximum current test point is defined for each side of the output driver.

Equation A. Equation B.

IOH = (98/VCC)*(Vout - VCC)*(Vout + 0.4VCC), for VCC > Vout > 0.7VCCIOL = (256/VCC)*(Vout)*(VCC - Vout), for 0 < Vout < 0.18VCC

3.The value of ICL is guaranteed by design to meet the PCI Specification 2.1.

76 Datasheet

Networking Silicon — 82559ER

10.4

10.4.1

10.4.1.1

Timing Specifications

Clocks Specifications

PCI Clock Specifications

The 82559ER uses the PCI Clock signal directly. Figure 24 shows the clock waveform and required measurement points for the PCI Clock signal. Table 22 summarizes the PCI Clock specifications.

0.6VCC0.475VCC0.4VCC0.325VCC0.2VCC0.4VCC p-to-p(minimum)T_highT_cycT_lowFigure 24. PCI/CardBus Clock WaveformTable 22. PCI/CardBus Clock Specifications

Symbol

T1T2T3T4

TcycThighTlowTslew

ParameterCLK Cycle TimeCLK High TimeCLK Low TimeCLK Slew Rate

Min3011111

4Max

UnitsnsnsnsV/ns

2Notes1

NOTES:

1.The 82559ER will work with any PCI clock frequency up to 33 MHz.

2.Rise and fall times are specified in terms of the edge rate measured in V/ns. This slew rate is met across the minimum peak-to-peak portion of the clock waveform as shown in Figure 24.

10.4.1.2X1 Specifications

X1 serves as a signal input from an external crystal or oscillator. Table 23 defines the 82559ER requirements from this signal.

Table 23. X1 Clock Specifications

Symbol

T8T9

Tx1_dcTx1_pr

ParameterX1 Duty CycleX1 Period

Min40%

40Typical

Max60%

ns

±50PPM

Units

Notes

Datasheet 77

82559ER — Networking Silicon

10.4.2

10.4.2.1

Timing Parameters

Measurement and Test Conditions

Figure 25, Figure 26, and Table 24 define the conditions under which timing measurements are done. The component test guarantees that all timings are met with minimum clock slew rate

(slowest edge) and voltage swing. The design must guarantee that minimum timings are also met with maximum clock slew rate (fastest edge) and voltage swing. In addition, the design must guarantee proper input operation for input voltage swings and slew rates that exceed the specified test conditions.

V_thCLKV_testV_tlT_valOUTPUTDELAYTri-StateOUTPUTV_stepV_testV_testT_onT_offFigure 25. Output Timing Measurement ConditionsV_thCLKT_suV_thV_testV_tlT_hINPUTV_tlV_testinputsvalidV_testV_maxFigure 26. Input Timing Measurement ConditionsTable 24. Measure and Test Condition Parameters

SymbolVthVtlVtest

PCI Level0.6VCC0.2VCC0.4VCC

CardBus Level

0.6VCC0.2VCC0.4VCC

UnitsVVV

Notes

78 Datasheet

Networking Silicon — 82559ER

Table 24. Measure and Test Condition Parameters

Vstep (rising edge)Vstep (falling edge)

Vmax

Input Signal Edge

Rate

0.285VCC0.615VCC0.4VCC

1

0.325VCC0.475VCC0.475VCC0.325VCC0.4VCC

1

VVVVVV/ns

Min DelayMaxDelayMin DelayMaxDelay

NOTE:Input test is done with 0.1VCC overdrive. Vmax specifies the maximum peak-to-peak waveform allowed

for testing input timing.

10.4.2.2PCI Timings

Table 25. PCI Timing Parameters

Symbol

T14T15T16T17T18T19T20T21T22T23

tvaltval(ptp)tontofftsutsu(ptp)thtrstTrst-clkTrst-off

Parameter

PCI CLK to Signal Valid DelayPCI CLK to Signal Valid Delay (point-to-point)

Float to Active DelayActive to Float DelayInput Setup Time to CLK

PCI Input Setup Time to CLK (point-to-point)

Input Hold Time from CLK

Reset Active Time After Power StablePCI Reset Active Time After CLK Stable

Reset Active to Output Float Delay

71001100

40

Min222

28Max1112

Unitsnsnsnsnsnsnsnsmsμsns

Notes1, 2, 41, 2, 4114, , 56666, 7

NOTES:

1.Timing measurement conditions are illustrated in Figure 25.

2.PCI minimum times are specified with loads as detailed in the PCI Bus Specification, Revision 2.1, Section 4.2.3.2.

3.In a PCI environment, REQ# and GNT# are point-to-point signals and have different output valid delay times and input setup times than bussed signals. All other signals are bussed.4.Timing measurement conditions are illustrated in Figure 26.

5.RST# is asserted and de-asserted asynchronously with respect to the CLK signal.6.All PCI interface output drivers are floated when RST# is active.

10.4.2.3Flash Interface Timings

The 82559ER is designed to support up to 150 nanoseconds of Flash access time. The VPP signal in the Flash implementation should be connected permanently to 12 V. Thus, writing to the Flash is controlled only by the FLWE# pin.

Table 26 provides the timing parameters for the Flash interface signals. The timing parameters are illustrated in Figure 27 and Figure 28.

Datasheet 79

82559ER — Networking Silicon

Table 26. Flash Timing Parameters

Symbol

T35T36T37T38T39T40T41T42T43T44T45T46T47T48T49

tflrwctflacctflcetfloetfldftflastflahtflcstflchtfldstfldhtflwptflwphtMiohatMiohi

Parameter

Flash Read/Write Cycle TimeFLA to Read FLD Setup TimeFLCS# to Read FLD Setup TimeFLOE# Active to Read FLD Setup TimeFLOE# Inactive to FLD Driven Delay Time

FLA Setup Time before FLWE#FLA Hold Time after FLWE#FLCS# Hold Time before FLWE#FLCS# Hold Time after FLWE#FLD Setup TimeFLD Hold TimeWrite Pulse WidthWrite Pulse Width High

IOCHRDY Hold Time after FLWE# or FLOE# Active

IOCHRDY Hold Time after FLWE# or FLOE# Inactive

0Min15015015012050520030301501012025

25Max

Unitsnsnsnsnsnsnsnsnsnsnsnsnsnsnsns

Notes1, Flash tAVAV = 150 ns1, Flash tAVQV = 150 ns1, Flash tELQV = 150 ns1, Flash tGLQV

= 55 ns1, Flash tGHQZ

= 35 ns2, Flash tAVWL

= 0 ns2, Flash tWLAX

= 60 ns2, Flash tELWL = 20 ns2, Flash tWHEH

= 0 ns2, Flash tDVWH

= 50 ns2, Flash tWHDX

= 10 ns2, Flash tWLWH

= 60 ns2, Flash tWHWL

= 20 ns

NOTES:

1.These timing specifications apply to Flash read cycles. The Flash timings referenced are 28F020-150 timings.

2.These timing specifications apply to Flash write cycles. The Flash timings referenced are 28F020-150 timings.

80 Datasheet

Networking Silicon — 82559ER

FLADDRAddress StableT35FLCS#T37FLOE#T38T39T36FLDATA-RData InT49T48IOCHRDYFigure 27. Flash Timings for a Read CycleT35FLADDRAddress StableT40T41FLCS#T42T46T43FLWE#T47T44T45FLDATA-WData OutT49T48IOCHRDYFigure 28. Flash Timings for a Write CycleDatasheet 81

82559ER — Networking Silicon

10.4.2.4EEPROM Interface Timings

The 82559ER is designed to support a standard x16 or 256x16 serial EEPROM. Table 27 provides the timing parameters for the EEPROM interface signals. The timing parameters are illustrated in Figure 29.

Table 27. EEPROM Timing Parameters

Symbol

T50T51T52T53TT55

tEFSKtECSStECSHtEDIStEDIHtECS

Parameter

Serial Clock Frequency

Delay from EECS High to EESK HighDelay from EESK Low to EECS LowSetup Time of EEDI to EESKHold Time of EEDI after EESKEECS Low Time

30030300300750Min

Max1

UnitsMhznsnsnsnsns

NotesEEPROM fsk =

1 MHzEEPROM tcss

= 50 nsEEPROM tcsh

= 0 nsEEPROM tdis = 150 nsEEPROM tdih = 150 msEEPROM tcs =

250 ns

EECST51T52FLA15EESKT53TFLA13EEDIFigure 29. EEPROM Timings82 Datasheet

Networking Silicon — 82559ER

10.4.2.5PHY Timings

Table 28. 10BASE-T NLP Timing Parameters

Symbol

ParameterConditionMin

TypMax

UnitsT56Tnlp_widNLP Width10 Mbps100

nsT57

Tnlp_per

NLP Period

10 Mbps

824ms

T57T56Normal Link PulseFigure 30. 10BASE-T NLP TimingsTable 29. Auto-Negotiation FLP Timing Parameters

Symbol

Parameter

Min

TypMax

UnitsT58Tflp_widFLP Width (clock/data)

100nsT59Tflp_clk_clkClock Pulse to Clock Pulse Period111125139μsT60Tflp_clk_datClock Pulse to Data Pulse Period

55.562.5

69.5μs

T61Tflp_bur_numNumber of Pulses in one burst

17

33

T62Tflp_bur_widFLP Burst Width2

msT63

Tflp_bur_per

FLP Burst Period

8

24

ms

T59T60T58Fast Link PulseClock PulseT63Data PulseClock PulseT62FLP BurstsFigure 31. Auto-Negotiation FLP TimingsDatasheet 83

82559ER — Networking Silicon

Table 30. 100Base-TX Transmitter AC Specification

Symbol

ParameterConditionMin

Typ

MaxUnitsT

Tjit

TDP/TDN Differential Output Peak Jitter

HLS Data

1400

ps

84 Datasheet

11.0

11.1

Note:

DatasheetNetworking Silicon — 82559ER

Package and Pinout Information

Package Information

The 82559ER is a 196-pin Ball Grid Array (BGA) package. Package dimensions are shown in Figure 32. More information on Intel device packaging is available in the Intel Packaging Handbook, which is available from the Intel Literature Center or your local Intel sales office.

1.56 +/-0.190.8530o0.40 +/-0.10Seating Plate0.32 +/-0.04Note: All dimensions are in millimeters.Substrate change from0.36 mm to 0.32 mmFigure 32. Dimension Diagram for the 82559ER 196-Pin BGANo changes to existing soldering processes are needed for the 0.32 mm substrate change.

85

82559ER — Networking Silicon

Detail Area0.45Solder Resist Opening0.60Metal DiameterFigure 33. 196 PBGA Package Pad DetailAs illustrated in Figure 33, the 82559ER package uses solder mask defined pads. The copper area is 0.60 mm and the opening in the solder mask is 0.45 mm. The nominal ball sphere diameter is 0.50 mm.

86 Datasheet

Networking Silicon — 82559ER

11.2

11.2.1

Pinout Information

82559ER Pin Assignments

Table 31. 82559ER Pin Assignments

DatasheetPinNamePinNamePinNameA1NCA2SERR#A3VCCA4IDSELA5AD25A6PME#A7VCCA8AD30A9ALTRST#A10NCA11VCCA12

LILED

A13TESTA14NCB1AD22B2AD23B3VSSPPB4AD24B5AD26B6AD27B7VSSPPB8AD31B9ISOLATE#

B10NCB11SPEEDLEDB12

TO

B13RBIAS100B14RBIAS10C1AD21C2RST#C3REQ#C4C/BE3#C5NCC6AD28C7AD29C8CLKRUN#C9NCC10VSSPTC11ACTLEDC12

VREF

C13TDPC14TDND1AD18D2AD19D3AD20D4VSSD5VSSD6VSSD7VSSD8VSSD9NCD10NCD11VSSD12

TI

D13TEXECD14TCKE1VCCE2VSSPPE3AD17E4VSSE5VSSE6VSSE7VSSE8VSSE9VSSE10VSSE11VSSE12

VCC

E13RDPE14RDNF1IRDY#F2FRAME#F3C/BE2#F4VSSF5VSSF6VSSF7VSSF8VSSF9VSSF10VSSF11VSSF12

FLD2

F13FLD1F14FLD0G1CLKG2VIOG3TRDY#G4NCG5VCCG6VCCG7VSSG8VSSG9VSSG10VSSG11VSSG12

FLD3

G13

VCC

G14

VSSPL

87

82559ER — Networking Silicon

Table 31. 82559ER Pin Assignments

PinH1H4H7H10H13J1J4J7J10J13K1K4K7K10K13L1L4L7L10L13M1M4M7M10M13N1N4N7N10N13P1P4P7P10P13

NameSTOP#NCVCCVSSFLD5PARNCVCCVCCFLA0AD16VCCVCCVCCVCCAD14VCCNCVCCFLA4AD11C/BE0#AD1FLA15/EESK

FLA7VSSPPAD7AD0FLA14/EEDO

FLA10NCAD6EECSFLA13/EEDI

FLA9

PinH2H5H8H11H14J2J5J8J11J14K2K5K8K11K14L2L5L8L11L14M2M5M8M11M14N2N5N8N11N14P2P5P8P11P14

NameINTA#VCCVCCVSSFLD4PERR#VCCVCCVCCFLD7VSSPPVCCVCCVCCFLA2AD15VCCNCVSSFLA3AD12AD5FLOE#FLA12FLA6AD10AD4VCCX1FLA8VCCAD3VSSPLX2NC

P3P6P9P12

AD8AD2FLA16VCC

N3N6N9N12

AD9VCCFLCS#VSSPL

M3M6M9M12

AD13VSSPPFLWE#FLA11

L3L6L9L12

C/BE#1VSSVCCFLA5

K3K6K9K12

VCCVCCVCCVSSPL

J3J6J9J12

GNT#VCCVCCFLA1

PinH3H6H9H12

NameDEVSEL#VCCVSSFLD6

11.2.282559ER Ball Grid Array Diagram

88 Datasheet

Networking Silicon — 82559ER

1ANC2SERR#3VCCPP4IDSEL5AD256PME#7VCCPP8AD309ALTRST#10NC11VCCPT12LILED13TEST14NCBAD22AD23VSSPPAD24AD26AD27VSSPPAD31ISOLATE#NCSPEEDLEDTORBIAS100RBIAS10CAD21RST#REQ#CBE3#NCAD28AD29CLKRUN#NCVSSPTACTLEDVREFTDPTDNDAD18AD19AD20VSSVSSVSSVSSVSSNCNCVSSTITEXECTCKEVCCPPVSSPPAD17VSSVSSVSSVSSVSSVSSVSSVSSVCCRDPRDNFIRDY#FRAME#CBE2#VSSVSSVSSVSSVSSVSSVSSVSSFLD2FLD1FLD0GCLKVIOTRDY#NCVCCVCCVSSVSSVSSVSSVSSFLD3VCCPLVSSPL82559ER BalloutHSTOP#INTA#DEVSEL#NCVCCVCCBGA196 15mmx15mm (top view)VCCVCCVSSVSSVSS4 May 98FLD6FLD5FLD4JPARPERR#GNT#NCVCCVCCVCCVCCVCCVCCVCCFLA1FLA0FLD7KAD16VSSPPVCCPPVCCVCCVCCVCCVCCVCCVCCVCCVSSPLVCCPLFLA2LAD14AD15CBE1#VCCVCCVSSNCNCVCCVCCVSSFLA5FLA4FLA3MAD11AD12AD13CBE0#AD5VSSPPAD1FLOE#FLWE#FLA15/EESKFLA12FLA11FLA7FLA6NVSSPPAD10AD9AD7AD4VCCPPAD0VCCPLFLCS#FLA14/EEDOX1VSSPLFLA10FLA8PNCVCCPPAD8AD6AD3AD2EECSVSSPLFLA16FLA13/EEDIX2VCCPLFLA9NCFigure 34. 82559ER Ball Grid Array DiagramDatasheet

82559ER — Networking Silicon

Note:This page intentionally left blank.

90Datasheet

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- zrrp.cn 版权所有 赣ICP备2024042808号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务