Intel Corporation GD82559ER Datasheet

GD82559ER Fast Ethernet** PCI Controller
Networking Silicon
Datasheet
Product Features
Optimum Integration for Lowest Cost
Solution
—Integrated IEEE 802.3 10BASE-T and
2
package —ACPI and PCI Power Management —Power management e v en t on
“interesting” packets and link status change support
—Test Access Port
High Performance Networking Functions
—Chained memory structure similar to the
82559,82558, 82557, and 82596
—Improved dynamic transmit chaining
with multiple priorities transmit qu e ues
—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 stan dby mode —Deep power down support —Clockrun protocol support
Document Number: 714682-001
Revision 1.0
March 1999
GD82559ER - Networking Silicon
ii
Datasheet
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 82559 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. Copyright © Intel Corporation, 1999
* 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.
Revision History
Revision
Date
Revision Description
Mar. 1999 1.0 First release.
Datasheet
iii
Networking Silicon — GD82559ER
Contents
1. INTRODUCTION .............................................................................................................................1
1.1 GD82559ER Overview .......................................................................................................1
1.2 Suggested Reading ............................................................................................................1
2. GD82559ER ARCHITECTURAL OVERVIEW................................................................................3
2.1 Parallel Subsystem Overview... ....... ...... .......................................................... ....... ...... ......3
2.2 FIFO Subsystem Overview.................................................................................................4
2.3 10/100 Mbps Serial CSMA/CD Unit Overview....................................................................5
2.4 10/100 Mbps Physical Layer Unit.......................................................................................5
3. SIGNA L DESCRIP TIO NS .................................. ....... ...... ...... ..................................................... .....7
3.1 Signal Type Definitions.......................................................................................................7
3.2 PCI Bus Interface Signals...................................................................................................7
3.2.1 Address and Data Signals.................. ...... ....... ...... ....... ......................................7
3.2.2 Interface Control Signals ....................................................................................8
3.2.3 System and Power Management Signals...........................................................9
3.3 Local Memory Interface Signals.........................................................................................9
3.4 Testability Port Signals.....................................................................................................10
3.5 PHY Signals .....................................................................................................................11
4. GD82559ER MEDIA ACCESS CONTROL FUNCTIONAL DESCRIPTION.................................13
4.1 82559ER Initialization.......................................................................................................13
4.1.1 Initialization Effects on 82559ER Units ............................................................13
4.2 PCI Interface.....................................................................................................................14
4.2.1 82559ER Bus Operations.................................................................................14
4.2.2 Clockrun Signal ............... ...... ....... .......................................................... ...... ....22
4.2.3 Power Management Event Signal....................................................................22
4.2.4 Power States....................................................................................................23
4.2.5 Wake-up Events...............................................................................................27
4.3 Parallel Flash Interface....................................................................... ....... ...... ....... ...... ... .28
4.4 Serial EEPROM Interface.................................................................................................28
4.5 10/100 Mbps CSMA/CD Unit............................................................................................30
4.5.1 Full Duplex .......................................................................................................31
4.5.2 Flow Control .....................................................................................................31
4.5.3 Address Filtering Modifications.........................................................................31
4.5.4 Long Frame Reception.....................................................................................31
4.6 Media Independent Interface (MII) Management Interface...............................................32
5. GD82559ER TEST PORT FUNCTIONALITY...............................................................................33
5.1 Introduction.......................................................................................................................33
5.2 Asynchronous Test Mode.................................................................................................33
5.3 Test Function Description.................................................................................................33
5.4 85/85.................................................................................................................................33
5.5 TriState.............................................................................................................................34
5.6 Nand - Tree ......................................................................................................................34
6. GD82559ER PHYSICAL LAYER FUNCTIONAL DESCRIPTION................................................37
6.1 100BASE-TX PHY Unit ....................................................................................................37
6.1.1 100BASE-TX Transmit Clock Generation ........................................................37
GD82559ER — Networking Silicon
iv
Datasheet
6.1.2 100BASE-TX Transmit Blocks ................................. ....... ...... ....... ....................37
6.1.3 100BASE-TX Receive Blocks ......................................... ...... ....... ...... ..............40
6.1.4 100BASE-TX Collision Detection ................ ....... ...... ....... ...... ....... ...... ....... ...... .41
6.1.5 100BASE-TX Link Integrity and Auto-Negotiati on Sol ution.......... ...... ....... ...... .41
6.1.6 Auto 10/100 Mbps Speed Selection.................................................................41
6.2 10BASE-T Functionality ...................................................................................................41
6.2.1 10BASE-T Transmit Clock Generation.............................................................41
6.2.2 10BASE-T Transmit Blocks..............................................................................42
6.2.3 10BASE-T Receive Blocks...............................................................................42
6.2.4 10BASE-T Collision Detection..........................................................................43
6.2.5 10BASE-T Link Integrity...................................................................................43
6.2.6 10BASE-T Jabber Control Function.................................................................43
6.2.7 10BASE-T Full Duplex .....................................................................................43
6.3 Auto-Negotiation Functionalit y.................................................. ....... ...... ....... ...... ....... .......43
6.3.1 Description .................................................. ....... ...... ....... ...... ...........................44
6.3.2 Parallel Detect and Auto-Negotiation...............................................................44
6.4 LED Description................................................................................................................45
7. PCI CONFIGURATION REGISTERS ...........................................................................................47
7.1 LAN (Ethernet) PCI Configuration Space.........................................................................47
7.1.1 PCI Vendor ID and Device ID Registers ..........................................................47
7.1.2 PCI Command Register ...................................................................................48
7.1.3 PCI Status Register..........................................................................................49
7.1.4 PCI Revision ID Register..................................................................................50
7.1.5 PCI Class Code Register .................................................................................50
7.1.6 PCI Cache Line Size Register..........................................................................50
7.1.7 PCI Latency Timer............................................................................................51
7.1.8 PCI Header Type..............................................................................................51
7.1.9 PCI Base Address Registers............................................................................51
7.1.10 PCI Subsystem Vendor ID and Subsystem ID Registers.................................53
7.1.11 Capability Pointer .............................................................................................53
7.1.12 Interrupt Line Register......................................................................................53
7.1.13 Interrupt Pin Register .......................................................................................54
7.1.14 Minimum Grant Register ..................................................................................54
7.1.15 Maximum Latency Register..............................................................................54
7.1.16 Capability ID Register.......................................................................................54
7.1.17 Next Item Pointer......... ....... ...... ....... ...... ...... .....................................................54
7.1.18 Power Management Capabilities Register.......................................................54
7.1.19 Power Management Control/Status Register (PMCSR)...................................55
7.1.20 Data Register ...................................................................................................56
8. CONTROL/STATUS REGISTERS................................................................................................57
8.1 LAN (Ethernet) Control/Status Registers..........................................................................57
8.1.1 System Control Block Status Word..................................................................58
8.1.2 System Control Block Command Word............................................................59
8.1.3 System Control Block General Pointer.............................................................59
8.1.4 PORT ...............................................................................................................59
8.1.5 Flash Control Register......................................................................................59
8.1.6 EEPROM Control Register...............................................................................59
8.1.7 Management Data Interface Control Register..................................................59
8.1.8 Receive Direct Memory Access Byte Count.....................................................60
8.1.9 Early Receive Interrupt.....................................................................................60
Datasheet
v
Networking Silicon — GD82559ER
8.1.10 Flow Control Register.......................................................................................60
8.1.11 Power Management Driver Register................................................................60
8.1.12 General Control Register..................................................................................61
8.1.13 General Status Register ...................................................................................61
8.2 Statistical Counters...........................................................................................................62
9. PHY UNIT REGISTERS................................................................................................................65
9.1 MDI Registers 0 - 7............. ...... ....... ...... ....... ...... .......................................................... .. ..6 5
9.1.1 Register 0: Control Register Bit Definitions .....................................................65
9.1.2 Register 1: Status Register Bit Definitions .......................................................66
9.1.3 Register 2: PHY Identifier Register Bit Definitions ...........................................67
9.1.4 Register 3: PHY Identifier Register Bit Definitions ...........................................67
9.1.5 Register 4: Auto-Negotiation Advertisement Register Bit Definitions ..............67
9.1.6 Register 5: Auto-Negotiation Link Partner Ability Register Bit Definitions .......67
9.1.7 Register 6: Auto-Negotiation Expansion Register Bit Definitions ....................68
9.2 MDI Registers 8 - 15........... ...... ....... ...... ....... ...... .......................................................... ... .68
9.3 MDI Register 16 - 31 ... ....... ...... ....... ...... ....... ...... .......................................................... ....68
9.3.1 Register 16: PHY Unit Status and Control Register Bit Definitions .................68
9.3.2 Register 17: PHY Unit Special Control Bit Definitions .....................................69
9.3.3 Register 18: PHY Address Register.................................................................70
9.3.4 Register 19: 100BASE-TX Receive False Carrier Counter Bit Definitions ......70
9.3.5 Register 20: 100BASE-TX Receive Disconnect Counter Bit Definitions .........70
9.3.6 Register 21: 100BASE-TX Receive Error Frame Counter Bit Definitions ........70
9.3.7 Register 22: Receive Symbol Error Counter Bit Definitions ............................70
9.3.8 Register 23: 100BASE-TX Receive Premature End of Frame Error Counter
Bit Definitions ..................................................................................................71
9.3.9 Register 24: 10BASE-T Receive End of Frame Error Counter Bit Definitions .71
9.3.10 Register 25: 10BASE-T Transmit Jabber Detect Counter Bit Definitions ........71
9.3.11 Register 26: Equalizer Control and Status Bit Definitions ................................71
9.3.12 Register 27: PHY Unit Special Control Bit Definitions .....................................71
10. ELECTRICAL AND TIMING SPECIFICATIONS ..........................................................................73
10.1 Absolute Maximum Ratings..............................................................................................73
10.2 DC Specifications ............................................................................................................73
10.3 AC Specifications ............................ ...... ....... ...... ...... ....... ...... ....... ...... ..............................76
10.4 Timing Specifications........................................................................................................77
10.4.1 Clocks Specifications .......................................................................................77
10.4.2 Timing Parameters ...........................................................................................78
12. PACKAGE AND PINOUT INFORMATION...................................................................................85
12.1 Package Information.........................................................................................................85
12.2 Pinout Information ............................................................................................................86
12.2.1 GD82559ER Pin Assignments ........................................................................86
12.2.2 GD82559ER Ball Grid Array Diagram .............................................................88
GD82559ER — Networking Silicon
vi
Datasheet
Datasheet
1
Networkin
g
Silicon — GD82559ER
1. Introduction
1.1 GD82559ER 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 con trol. 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
1.2 Suggested Readin
g
The 82559 family of devices are designed to be compliant with PC industry power management initiatives. This includes the ACPI, PCI Power Management Speci ficat ion, Network Device Class specification, etc. See the following publicaitons for more information about these topics.
PCI Specification, PCI Special In terest Group.
Network Device Class Reference, Revi sion 1.0, In tel Corpor atio n, Micros oft Corp oration , 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 (AP-391), Intel Corporation.
Test Access Port Applications Note (AP-393), Intel Corporation.
GD82559ER — Networking Silicon
2
Datasheet
Datasheet
3
Networkin
g
Silicon — GD82559ER
2. GD82559ER 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/10 0 Mbps physical layer (PHY) unit.
2.1 Parallel 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 function s. Parameters acce ssed from memory such as po inters 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
Fi
g
ure 1. 82559ER Block Diagram
10/100 Mbps
CSMA/CD
Data Interface Unit
(
DIU
)
100BASE-TX/
10BASE-T
PHY
Four Channel
Addressin
g
Unit -
DMA
PCI Bus
Interface Unit
(
BIU
)
PCI Target and Flash/EEPROM
Interface
Micro-
machine
Dual
Ported
FIFO
3 Kb
y
te
Rx FIFO
FIFO Control
3 Kb
y
te
Tx FIFO
Local Memory
Interface
PCI
Interface
TPE
Interface
GD82559ER — Networking Silicon
4
Datasheet
operate independently. Control is switched between the two units according to the microcode instruction flow . The independ ence of the Receive and Command units in the micromach ine 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 diagnostic s functions, and manage ment 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” on page 28. 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” on page 28.
2.2 FIFO 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 th e 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 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.
Transmissions resulting in errors (collision detection or data underrun ) are retransmitted directly from the 82559ER FIFO, therey increasing performance and eliminating the need to re-access this data from the host system.
Incoming runt receive frames (frames that are less than the legal minimum frame size) can be discarded automatically by the 82559ER without transferri ng this faulty data to the host system, and without host intervention.
Bad Frames resolution can be selectively left to the 82559ER, or under software control.
Datasheet
5
Networkin
g
Silicon — GD82559ER
2.3 10/100 Mbps Serial CSMA/CD Unit Overview
The CSMA/CD unit of the 82559ER allows it t o be conn ect ed to eith er a 10 or 10 0 Mbps Et hern et 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 traf fic, etc. The CSMA/CD unit can also be placed in a full-duplex mode, which allows simultaneous transmission and reception of frames.
2.4 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.
GD82559ER — Networking Silicon
6
Datasheet
Datasheet
7
Networkin
g
Silicon —GD82559ER
3. Signal Descriptions
3.1 Signal Type Definitions
3.2 PCI Bus Interface Si
g
nals
3.2.1 Address and Data Signals
Type Name Description
IN Input The input pin is a standard input onl
y
signal.
OUT Output
The 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.
S/T/S Sustained Tri-State
The sustained tri-state pin is an active low tri-state si
g
nal owned
and driven b
y
one agent at a time. The agent asserting the S/T/
S pin low must drive it hi
g
h at least one clock cycle before
floatin
g
the pin. A new agent can only assert an S/T/S signal low
one clock c
y
cle after it has been tri-stated by the previous
owner.
O/D Open Drain
The open drain pin allows multiple devices to share this si
g
nal
as a wired-OR.
A/I Analo
g
Input The analog input pin is used for analog input signals.
A/O Analo
g
Output The analog output pin is used for analog output signals.
B Bias The bias pin is an input bias.
Symbol Type Name and Function
AD[31:0] T/S
Address and Data.
The address and data lines are multiplexed on the same PCI pins. A bus transaction consists of an address phase followed b
y
one or more data phases. During the address phase, the
address and data lines contain the 32-bit ph
y
sical address. For I/O,
this is a b
y
te address; for configuration and memory, it is a Dword
address. The 82559ER uses little-endian b
y
te ordering (in other
words, AD[31:24] contain the most si
g
nificant byte and AD[7:0]
contain the least si
g
nificant byte). During the data phases, the address
and data lines contain data.
C/BE[3:0]# T/S
Command and Byte Enable.
The bus command and b
y
te enable
si
g
nals are multiplexed on the same PCI pins. During the address
phase, the C/BE# lines define the bus command. Durin
g
the data
phase, the C/BE# lines are used as B
y
te Enables. The Byte Enables
are valid for the entire data phase and determine which b
y
te lanes
carr
y
meaningful data.
PAR T/S
Parity.
Parit
y
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 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 tar
g
et, for read data phases.
GD82559ER — Networking Silicon
8
Datasheet
3.2.2 Interface Control Signals
Symbol Type Name and Function
FRAME# S/T/S
Cycle Frame.
The c
y
cle frame signal is driven by the current master
to indicate the be
g
inning and duration of a transaction. FRAME# is
asserted to indicate the start of a transaction and de-asserted durin
g
the final data phase.
IRDY# S/T/S
Initiator Ready.
The initiator read
y
signal indicates the bus master’s
abilit
y
to complete the current data phase and is used in conjunction
with the tar
g
et ready (TRDY#) signal. A data phase is completed on
an
y
clock cycle where both IRDY# and TRDY# are sampled asserted
(
low) simultaneously.
TRDY# S/T/S
Target Ready.
The tar
g
et ready signal indicates the selected device’s
abilit
y
to complete the current data phase and is used in conjunction
with the initiator read
y (
IRDY#) signal. A data phase is completed on
an
y
clock cycle where both IRDY# and TRDY# are sampled asserted
(
low) simultaneously.
STOP# S/T/S
Stop.
The stop si
g
nal is driven by the target to indicate to the initiator that it wishes to stop the current transaction. As a bus slave, STOP# is driven b
y
the 82559ER to inform the bus master to stop the current
transaction. As a bus master, STOP# is received b
y
the 82559ER to
stop the current transaction.
IDSEL IN
Initialization Device Select.
The initialization device select si
g
nal is
used b
y
the 82559ER as a chip select during PCI configuration read
and write transactions. This si
g
nal is provided by the host in PCI
s
y
stems.
DEVSEL# S/T/S
Device Select.
The device select si
g
nal is asserted by the target once it has detected its address. As a bus master , the DEVSEL# is an input si
g
nal 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 tar
g
et of the current
transaction.
REQ# T/S
Request.
The re
q
uest signal indicates to the bus arbiter that the
82559ER desires use of the bus. This is a point-to-point si
g
nal and
ever
y
bus master has its own REQ#.
GNT# IN
Grant.
The
g
rant signal is asserted by the bus arbiter and indicates to
the 82559ER that access to the bus has been
g
ranted. This is a point-
to-point si
g
nal and every master has its own GNT#.
INTA# O/D
Interrupt A.
The interrupt A si
g
nal is used to request an interrupt by
the 82559ER. This is an active low, level tri
gg
ered interrupt signal.
SERR# O/D
System Error.
The s
y
stem error signal is used to report address
parit
y
errors. When an error is detected, SERR# is driven low for a
sin
g
le PCI clock.
PERR# S/T/S
Parity Error.
The parit
y
error signal is used to report data parity errors
durin
g
all PCI transactions except a Special Cycle. The parity error pin
is asserted two clock c
y
cles after the error was detected by the device
receivin
g
data. The minimum duration of PERR# is one clock for each
data phase where an error is detected. A device cannot report a parit
y
error until it has claimed the access b
y
asserting DEVSEL# and
completed a data phase.
Datasheet
9
Networkin
g
Silicon —GD82559ER
3.2.3 System and Power Management Signals
3.3 Local Memory Interface Signals
Symbol Type Name and Function
CLK IN
Clock.
The Clock si
g
nal provides the timing for all PCI transactions
and is an input si
g
nal to every PCI device. The 82559ER requires a
PCI Clock si
g
nal (frequency greater than or equal to 16 MHz) for
nominal operation. The 82559ER supports Clock si
g
nal suspension
usin
g
the Clockrun protocol.
CLKRUN#
IN/OUT O/D
Clockrun.
The Clockrun si
g
nal is used by the system to pause or slow
down the PCI Clock si
g
nal. It is used by the 82559ER to enable or
disable suspension of the PCI Clock si
g
nal or restart of the PCI clock.
When the Clockrun si
g
nal is not used, this pin should be connected to
an external pull-down resistor.
RST# IN
Reset.
The PCI Reset si
g
nal is used to place PCI registers,
se
q
uencers, and signals into a consistent state. When RST# is
asserted, all PCI output si
g
nals will be tri-stated.
PME# O/D
Power Management Event.
The Power Mana
g
ement Event signal
indicates that a power mana
g
ement event has occurred in a PCI bus
s
y
stem.
ISOLATE# IN
Isolate.
The Isolate si
g
nal is used to isolate the 82559ER from the
PCI bus. When Isolate is active
(
low), the 82559ER does not drive its
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 hi
g
h to the bus Vcc
throu
g
h a 4.7K-62K resistor.
ALTRST# IN
Alternate Reset.
The Alternate Reset si
g
nal is used to reset the
82559ER on power-up. In s
y
stems that support an auxiliary power
suppl
y
, ALTRST# should be connected to a power-up detection circuit.
Otherwise, ALTRST# should be tied to V
cc
.
VIO
B IN
Voltage Input/Output.
The VIO pin is the a volta
g
e bias pin for the PCI interface. This pin should be connected to 5V ± 5% in a 5 volt PCI s
y
stem and 3.3 volts in a 3.3 volt PCI system. Be sure to install a 10K
pull-up resistor. This resistor acts as a current limit resistor in s
y
stem
where the VIO bias volta
g
e maybe shutdown. In this cases the
82559ER ma
y
consume additional current without a resistor.
Symbol Type Name and Function
FLD[7:0] T/S
Flash Data Input/Output.
These pins are used for Flash data
interface.
FLA[16]/ CLK25
OUT
Flash Address[16]/25 MHz Clock.
This multiplexed pin is controlled
b
y
the status of the Flash Address[7] (FLA[7]) pin. If FLA[7] is left
floatin
g
, 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.
FLA[15]/ EESK
OUT
Flash Address[15]/EEPROM Data Output.
Durin
g
Flash accesses,
this multiplexed pin acts as the Flash Address [15] output si
g
nal.
Durin
g
EEPROM accesses, it acts as the serial shift clock output to
the EEPROM.
FLA[14]/ EEDO
IN/OUT
Flash Address[14]/EEPROM Data Output.
Durin
g
Flash accesses,
this multiplexed pin acts as the Flash Address [14] output si
g
nal.
Durin
g
EEPROM accesses, it acts as serial input data to the EEPROM
Data Output si
g
nal.
GD82559ER — Networking Silicon
10
Datasheet
3.4 Testability Port Signals
FLA[13]/ EEDI
OUT
Flash Address[13]/EEPROM Data Input.
Durin
g
Flash accesses,
this multiplexed pin acts as the Flash Address [13] output si
g
nal.
Durin
g
EEPROM accesses, it acts as serial output data to the
EEPROM Data Input si
g
nal.
FLA[12:8] OUT
Flash Address[12:8].
These pins are used as Flash address outputs
to support 128 Kb
y
te Flash addressing.
FLA[7]/ CLKENB
T/S
Flash Address[7]/Clock Enable.
This is a multiplexed pin and acts
as the Flash Address[7] output si
g
nal during nominal operation. When
the PCI RST# si
g
nal is active, this pin acts as input control over the
FLA[16]/CLK25 output si
g
nal. 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 Kb
y
te Flash addressing.
FLA[1]/ AUXPWR
T/S
Flash Address[1]/Auxiliary Power.
This multiplexed pin acts as the
Flash Address[1] output si
g
nal during nominal operation. When RST is
active
(
low), it acts as the power supply indicator. If the 82559ER is fed PCI power, this pin should be connected to a pull-down resistor; if the 82559ER is fed b
y
auxiliary power, this pin should be connected to a
pull-up resistor.
FLA[0] T/S
Flash Address [0].
This pin acts as the Flash Address[0] output
si
g
nal during nominal operation.
EECS OUT
EEPROM Chip Select.
The EEPROM Chip Select si
g
nal is used to
assert chip select to the serial EEPROM.
FLCS# OUT
Flash Chip Select.
The Flash Chip Select si
g
nal is active during
Flash.
FLOE# OUT
Flash 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 memor
y
.
Symbol Type Name and Function
Symbol Type Name and Function
TEST IN
Test.
If this input pin is hi
g
h, the 82559ER will enable the test port.
Durin
g
nominal operation this pin should be connected to a pull-down
resistor.
TCK IN
Testability Port Clock.
This pin is used for the Testabilit
y
Port Clock
si
g
nal.
TI IN
Testability Port Data Input.
This pin is used for the Testabilit
y
Port
Data Input si
g
nal.
TEXEC IN
Testability Port Execute Enable.
This pin is used for the Testabilit
y
Port Execute Enable si
g
nal.
TO OUT
Testability Port Data Output.
This pin is used for the Testabilit
y
Port
Data Output si
g
nal.
Datasheet
11
Networkin
g
Silicon —GD82559ER
3.5 PHY Signals
NOTE:
619 Ω and 549 Ω for the RBIAS100 and RBIAS10, respectivel
y
, are only a recommended values and
should be fine tuned for various desi
g
ns.
Symbol Type Name and Function
X1 A/I
Crystal Input One.
X1 and X2 can be driven b
y
an external 3.3 V 25
MHz cr
y
stal. Otherwise, X1 may be driven by an external metal-oxide
semiconductor
(
MOS) level 25 MHz oscillator when X2 is left floating.
X2 A/O
Crystal Input Two.
X1 and X2 can be driven b
y
an external 3.3 V 25
MHz cr
y
stal. Otherwise, X1 may be driven by an external MOS level
25 MHz oscillator when X2 is left floatin
g
.
TDP TDN
A/O
Analog Twisted Pair Ethernet Transmit Differential Pair.
These pins transmit the serial bit stream for transmission on the Unshielded Twisted Pair
(
UTP) cable. The current-driven differential driver can be
two-level
(
10BASE-T) or three-level (100BASE-TX) signals depending
on the mode of operation. These si
g
nals interface directly with an
isolation transformer.
RDP RDN
A/I
Analog Twisted Pair Ethernet Receive Differential Pair.
These pins receive the serial bit stream from the isolation transformer. The bit stream can be two-level
(
10BASE-T) or three-level (100BASE-TX)
si
g
nals depending on the mode of operation.
ACTLED# OUT
Activity LED.
The Activit
y
LED pin indicates either transmit or receive
activit
y
. When activity is present, the activity LED is on; when no
activit
y
is present, the activity LED is off.
LILED# OUT
Link Integrity LED.
The Link Inte
g
rity LED pin indicates link integrity. If the link is valid in either 10 or 100 Mbps, the LED is on; if link is invalid, the LED is off.
SPEEDLED# OUT
Speed LED.
The Speed LED pin indicates the speed. The speed LED
will be on at 100 Mbps and off at 10 Mbps.
RBIAS100 B
Reference Bias Resistor (100 Mbps).
This pin controls the out
envelope of the 82559ERER when transmittin
g
in the 10 Mbps mode
via the use of a pull-down resistor to
g
round. A value of 619 Ω pull-
down resistor is ade
q
uate is most applications.
RBIAS10 B
Reference Bias Resistor (10 Mbps).
This pin controls the out
envelope of the 82559ER when transmittin
g
in the 10 Mbps mode via
the use of a pull-down resistor to
g
round. A value of 549 Ω pull-down
resistor is ade
q
uate is most applications.
VREF B
Voltage Reference.
This pin is connected to a 1.25 V ± 1% external
volta
g
e reference generator. To use the internal voltage reference
source, this pin should be left floatin
g
.
GD82559ER — Networking Silicon
12
Datasheet
Datasheet
13
Networkin
g
Silicon — GD82559ER
4. GD82559ER Media Access Control Functional Description
4.1 82559ER Initialization
The 82559ER has four sources for initialization. They are listed according to their precedence:
1. ALTRST# Signal
2. PCI RST# Signal
3. Software Reset (Software Command)
4. Selective Reset (Software Command)
4.1.1 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
Transition
Software
Reset
Selective
Reset
EEPROM read and initialization
333
-- -- --
Loadable microcode decoded/reset
33
--
33
--
MAC confi
g
uration reset and
multicast hash
33333
--
Memor
y
pointers and
mircomachine state reset
33
--
333
PCI Confi
g
uration register
reset
3333
-- --
PHY confi
g
uration reset
33
-- -- -- --
Power mana
g
ement event
reset
3
Clear onl
y
if no
auxiliar
y
power
present
-- -- -- --
Statistic counters reset
33
--
33
--
GD82559ER — Networking Silicon
14
Datasheet
4.2 PCI Interface
4.2.1 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. Secti on 4.2.1.1 describes the 82559ER slave operation. It is followed b y a des c ript i on of t he 825 59ER operation as a bus m ast er (initiator) in Section 4.2.1.2, “82559ER Bus Master Operation” on page 18.
4.2.1.1 82559ER 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 CSR
CPU accesses to the MDI control register in the CSR
CPU accesses to the Flash control register in the CSR
CPU 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 configu ration space to distinguish between them. The size of the CSR memory space is 4 Kbyte in the memory space and 64 bytes in the I/O space. The 82559ER treats accesses to these memory spaces differently.
4.2.1.1.1 Control/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 64 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) reg i sters
PORT register
Flash control register
EEPROM control register
MDI control register
Flow control registers
Datasheet
15
Networkin
g
Silicon — GD82559ER
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 an d the 82559ER is the target of the transaction.
Read 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.
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 on each data access immediately after asserting IRDY#. The 82559ER
Fi
g
ure 2. CSR I/O Read Cycle
Fi
g
ure 3. CSR I/O Write Cycle
SYSTEM
82559ER
CLK
FRAME#
C/BE#
IRDY#
TRDY#
DEVSEL#
AD
3421 56789
ADDR
DATA
I/O RD BE#
STOP#
SYSTEM
82559ER
CLK
FRAME#
C/BE#
IRDY#
TRDY#
DEVSEL#
AD
3421 56789
ADDR DATA
I/O WR BE#
STOP#
GD82559ER — Networking Silicon
16
Datasheet
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.2 Flash 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.
Read 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.
Fi
g
ure 4. Flash Buffer Read Cycle
SYSTEM
82559ER
CLK
FRAME#
C/BE#
IRDY#
TRDY#
DEVSEL#
AD
ADDR DATA
MEM RD BE#
STOP#
Datasheet
17
Networkin
g
Silicon — GD82559ER
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.3 Retry 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 ma y 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.
Fi
g
ure 5. Flash Buffer Write Cycle
SYSTEM
82559ER
CLK
FRAME#
C/BE#
IRDY#
TRDY#
DEVSEL#
AD
ADDR
MEM WR BE#
STOP#
DATA
GD82559ER — Networking Silicon
18
Datasheet
Note:
The 82559ER is considered the target in the above diagram; thus, TRDY# is not asserted.
4.2.1.1.4 Error Handlin
g
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 (P CI Co nfigu ration Command regis ter, bit 6). The 8255 9ER do es 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 p arit y error duri ng t he address phase usi ng th e 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.
Note:
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.
4.2.1.2 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
Fi
g
ure 6. PCI Retry Cycle
SYSTEM
82559ER
CLK
FRAME#
IRDY#
TRDY#
DEVSEL#
STOP#
Datasheet
19
Networkin
g
Silicon — GD82559ER
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.
The 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 Transmit DMA Maximum Byte Count in the Configure command. The Transmit DMA Maximum
Fi
g
ure 7. Memory Read Burst Cycle
Fi
g
ure 8. Memory Write Burst Cycle
82559ERSYSTEM
CLK
FRAME#
C/BE#
IRDY#
TRDY#
DEVSEL#
AD
3421 5678910
ADDR
DATA
MR BE# BE#
DATA
DATA
DATA
DATA
82559ERSYSTEM
CLK
FRAME#
C/BE#
IRDY#
TRDY#
DEVSEL#
AD
3421 5678910
ADDR
DATA
MW BE# BE#
DATA
DATA
DATA
DATA
GD82559ER — Networking Silicon
20
Datasheet
Byte Count value indicates the maximum number of transmit DMA PCI cycles that will be completed after an 82559ER internal arbitration. (Details on the Configure command are described in the
Software Developer’s Manual
.)
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 m ay also be bound ed by the value of th e 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. (Details on the Configur e command are described in the
Software
Developer’s Manual
.)
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 th e leng th and signals completion of a data phase by de-assertion and assertion of TRDY#.
Cycle Completion:
The 82559ER completes (terminates) its initiated mem ory burst cycles in the
following cases:
Normal Complet ion
: 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 length specified in the Transmit or Receive DMA Maximum Byte Count field in the Configure command block. (Details relating to this field and the Configure command are described in the
Software Dev eloper’s Manual
.)
Target Termination
: The target may request to terminate the transaction with a target­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-Abor t bit in the PCI Configuration Status field (PCI Configuration Status register, bit 12) and does not re-initiate the cycle.
Master Abort
: The target of the transaction has not responded to the address initiated by the 82559ER (in other words, DEVSEL# has not been asserted). The 82559ER simply de-asserts FRAME# and IRDY# as in the case of normal completion.
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.1 Memory 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:
Datasheet
21
Networkin
g
Silicon — GD82559ER
1. Minimum transfer of one cache line
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 Co mman d register, bit 4, should is set to 1b.
6. The MWI Enable bit in the 82559ER Config ure command should is set to 1b. (Details on the Configure command are described in the
Software Developer’s Manual
.)
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. (Details on the Configure command are described in the
Software Developer’s Manual
.)
4.2.1.2.2 Read 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.
T o 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 (by te 3, bit 2). (Details on the Configure command are described in the
Software Developer’s Manual
.)
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:
GD82559ER — Networking Silicon
22
Datasheet
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.
The 82559ER reads all control data structures (including Receive Buffer Descriptors) fr om the first Dword (even if it is not required) to maintain cache line alignment.
4.2.1.2.3 Error Handlin
g
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 Da ta 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.2 Clockrun 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 8.1.12, “General Control Register” on page 61). In this case, the 82559ER will claim the PCI clock even during idle time. If the CLKRUN# signal is not used, it sh ould 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.3 Power 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 Management
In 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 sy stem 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.
Datasheet
23
Networkin
g
Silicon — GD82559ER
4.2.4 Power 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 intermediate power savings while providing the system wake-up capabilities. In the D3
cold
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.1 D0 Power State
As defined in the Network Device Class Reference Specification, the dev ice 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 page 27). While it is activ e, the 825 59E R requires a nominal P CI cloc k signal (in oth er 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.2 D1 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 ev ent, the 8 255 9ER asserts the PME# signal to alert the PCI based system.
4.2.4.3 D2 Power State
The ACPI D2 power state is similar in functionality to the D1 power state. If the bu s 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 transitio n 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).
Loading...
+ 65 hidden pages