Infineon AN983BX Pci/mini pci-to-ethernet lan; pqfp - 128pin Datasheet

Data Sheet, Rev. 1.81, Dec. 2005
AN983B/BX
PCI/Mini PCI-to-Ethernet LAN; PQFP - 128Pin
Communications
N e v e r
s t o p
t h i n k i n g .
Edition 2005-12-15
Published by Infineon Technologies AG,
St.-Martin-Strasse 53,
81669 München, Germany
© Infineon Technologies AG 2005.
All Rights Reserved.
Attention please!
The information herein is given to describe certain components and shall not be considered as a guarantee of
characteristics.
Terms of delivery and rights to technical change reserved.
We hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding
circuits, descriptions and charts stated herein.
Information
For further information on technology, delivery terms and conditions and prices please contact your nearest
Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements components may contain dangerous substances. For information on the types in
question please contact your nearest Infineon Technologies Office.
Infineon Technologies Components may only be used in life-support devices or systems with the express written
approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure
of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support
devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain
and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may
be endangered.
AN983B/BX, PCI/Mini PCI-to-Ethernet LAN; PQFP - 128Pin
Revision History: 2005-12-15, Rev. 1.81
Previous Version:
Page/Date
Subjects (major changes since last revision)
2000-10
Rev.0.1: Draft data sheet for review
2001-02
Rev.1.0: First release
2001-03
Rev.1.1: Add CSR15.bit28 MRXCK, Add CSR18.bit26 PMEP, Add CSR18.bit27 PMEPEN
2001-09
Rev.1.2: Add 25MHz crystal accuracy, Revise PHY registers
2001-09
Rev.1.3: Revise product logo of Pin assignment diagram
Page17,14/ Rev.1.4:
2001-09
1.MrxD0~D3P.23 CIOSA: 1 means enable; 0 means disable
2.P.14 Add LED info to pin diagram
Page25,40/ Rev.1.5:
2002-07
1.Offset 80h, DID default value; 0981h
2.CSR18[25]/PWRS_clr; 1 means PCI_reset rising will clear CR49[1:0]/PWRS
Page85/
2002-07
Rev.1.6: FIG21, FIG22, FIG23, FIG24 added for MII interface signal timing
Page45/
2002-09
Rev.1.7(B): Unicast registers added, BGA package
Page69/
2003-05
Rev.1.8(B): Modify some error statement about Loop-back Operation of transceiver
2005-09-13 Rev.1.81: when changed to the new Infineon format
2005-11-30 Minor change. Included Green package information
Trademarks
ABM®, ACE®, AOP®, ARCOFI®, ASM®, ASP®, DigiTape®, DuSLIC®, EPIC®, ELIC®, FALC®, GEMINAX®, IDEC®,
INCA®, IOM®, IPAT®-2, ISAC®, ITAC®, IWE®, IWORX®, MUSAC®, MuSLIC®, OCTAT®, OptiPort®, POTSWIRE®,
QUAT®, QuadFALC®, SCOUT®, SICAT®, SICOFI®, SIDEC®, SLICOFI®, SMINT®, SOCRATES®, VINETIC®,
10BaseV®, 10BaseVX® are registered trademarks of Infineon Technologies AG. 10BaseS™, EasyPort™,
VDSLite™ are trademarks of Infineon Technologies AG. Microsoft® is a registered trademark of Microsoft
Corporation, Linux® of Linus Torvalds, Visio® of Visio Corporation, and FrameMaker® of Adobe Systems
Incorporated.
Template: com_a4_tmplt.fm / 2.2.1 / 2004-08-13
AN983B/BX
1
General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2
System Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5
5.1
Pin Assignment Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Pin Type and Buffer Type Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6
Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
7
7.1
7.2
7.2.1
7.2.2
7.3
7.3.1
7.3.2
7.3.3
7.4
7.5
7.5.1
7.5.2
7.5.3
7.6
7.6.1
7.6.2
7.7
7.7.1
7.7.2
7.8
7.8.1
7.8.2
7.9
7.9.1
Functional Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Initialization Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Packet Buffer Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Descriptor Structure Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Point of Descriptor Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmit Scheme and Transmit Early Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmit Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmit Pre-fetch Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmit Early interrupt Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Receive Scheme and Receive Early Interrupt Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MAC Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transceiver Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Flow Control in Full Duplex Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LED Display Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
First Mode – 3 LED Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Second Mode – 4 LED Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reset Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reset Whole Chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reset Transceiver Only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wake on LAN Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Magic Packet Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Wake on LAN Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ACPI Power Management Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
General EEPROM Format Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9
9.1
9.1.1
9.2
9.2.1
9.3
9.3.1
9.4
9.4.1
9.4.2
Registers and Descriptors Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AN983B/BX Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AN983B/BX Configuration Registers Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PCI Control/Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PCI Control/Status Registers Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PHY Registers(Accessed by CSR9 MDI/MMC/MDO/MDC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PHY Transceiver Registers Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Descriptors and Buffer Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Receive Descriptor Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmit Descriptor Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10
10.1
10.2
10.3
10.4
Electrical Specifications and Timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Timing Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
Package Outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Data Sheet
4
19
19
19
19
21
23
23
23
24
24
25
26
27
29
32
32
32
32
32
32
32
32
32
33
33
37
38
39
51
52
85
86
94
95
99
102
102
102
103
103
Rev. 1.81, 2005-12-15
AN983B/BX
Table of Contents
12
12.1
12.2
12.3
Layout Guide (Rev. 1.0B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trace Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VCC and GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Sheet
5
113
113
113
114
Rev. 1.81, 2005-12-15
AN983B/BX
List of Figures
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
Data Sheet
System Diagram of the AN983B/BX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Block Diagram of the AN983B/BX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Pin Assignment (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Initialization Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Ring Structure of Frame Buffer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Chain Structure of Frame Buffer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Transmit Pointers for Descriptor Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Receive Pointers for Descriptor Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Transmit Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Transmit Data Flow of Pre-fetch Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Transmit Normal Interrupt and Early Interrupt Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Receive Data Flow (without early interrupt and with early interrupt) . . . . . . . . . . . . . . . . . . . . . . . 25
Detailed Receive Early Interrupt Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
MAC Control Frame Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
PAUSE Operation Receive State Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
PCI Clock Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
PCI Timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Flash Write Timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Flash Read Timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Serial EEPROM Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Transmit Signal Timing Relationships at the MII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Receive Signal Timing Relations at the MII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
MDIO Sourced by STA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
MDIO Sourced by PHY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Package outline for the AN983B / AN983BL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Ground Via Trace Arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Power Trace Arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Ground Plane Arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
6
Rev. 1.81, 2005-12-15
AN983B/BX
List of Tables
Table 1
Table 2
Table 3
Table 4
Table 5
Table 6
Table 7
Table 8
Table 9
Table 10
Table 11
Table 12
Table 13
Table 14
Table 15
Table 16
Table 17
Table 18
Table 19
Table 20
Table 21
Table 22
Table 23
Table 24
Table 25
Table 26
Table 27
Table 28
Table 29
Table 30
Table 31
Table 32
Table 33
Data Sheet
Abbreviations for Pin Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Abbreviations for Buffer Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Pin Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Power State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Connection Type Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Registers Address Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Registers Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Registers Access ConditionsRegisters Access Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Registers Access Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Registers Clock Domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Registers Address Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Registers Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Registers Access Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Registers Address Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Registers Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Registers Access Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Registers Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Registers Access Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Receive Descriptor Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Transmit Descriptor Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Min-Max Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
General DC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
PCI Interface DC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Flash/EEPROM Interface DC Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
PCI Signaling AC Specifications for 3.3 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
PCI Clock Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
PCI Timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Flash Interface Timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
EEPROM Interface Timings (AC/AD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Dimensions for 128 -pin PQFP Package (AN983B/X) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Dimensions for 128 -pin LQFP Package (AN983BLX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Layout Guide Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
7
Rev. 1.81, 2005-12-15
AN983B/BX
General Description
1
General Description
The AN983B/BX is a high performance PCI Fast Ethernet controller with a integrated physical layer interface for
10BASE-T and 100BASE-TX applications. The AN983BX is the environmentally friendly “green” package version.
The AN983B/BX was designed with advanced CMOS technology to provide a glueless 32-bit bus master interface
for PCI, boot ROM interface, and CSMA/CD protocol for Fast Ethernet, as well as the physical media interface for
100BASE-TX of IEEE802.3u and 10BASE-T of IEEE802.3. The auto-negotiation function is also supported for
speed and duplex detections.
The AN983B/BX can be programmed as MAC-only controller. In this mode, it provides the standard MII interface
to link to an external PHY. With this mode, it can be connected to the HomePNA PHY to support the HomePNA
networking solution or Homeplug PHY (Power-line solution) to support Homeplug networking solution.
The AN983B/BX provides both half-duplex and full-duplex operations, as well as supports for full-duplex flow
control.
It provides long FIFO buffers for transmission and reception, and an early interrupt mechanism to enhance
performance.
The AN983B/BX also supports ACPI and PCI compliant power management functions and Magic Packet wakeup event.
System Block Diagram
PCI Interface
EEPROM
Boot ROM
AN983B
25MHz
Crystal
Figure 1
System Diagram of the AN983B/BX
3
Features
Transformer
2
RJ-45
LEDs
Industry standard
•
IEEE802.3u 100BASE-TX and IEEE802.3 10BASE-T compliant
Data Sheet
8
Rev. 1.81, 2005-12-15
AN983B/BX
Features
•
•
•
•
•
Supports for IEEE802.3x flow control
IEEE802.3u Auto-Negotiation support for 10BASE-T and 100BASE-TX
PCI Specification 2.2 compliant
ACPI and PCI power management Ver.1.1 compliant
Supports PC99 wake on LAN
FIFO
•
•
•
•
Provides two independent long FIFOs with 2k bytes each for transmission and receiving
Pre-fetch up to two transmit packets to minimize inter frame gap (IFG) to 0.96 µs
Retransmit collided packet without reload from host memory within 64 bytes
Automatically retransmit FIFO under-run packet with maximum drain threshold until 3 times retry failure and
that will not influence the registers and transmit threshold of next packet
PCI I/F
•
•
•
•
•
•
•
Provides 32-bit PCI bus master data transfer
Supports PCI clock with frequency from 0 Hz to 33 MHz
Supports network operation with PCI system clock from 20 MHz to 33 MHz
Provides performance meter, PCI bus master latency timer, for tuning the threshold to enhance the
performance
Provides burst transmit packet interrupt and transmit/receive early interrupt to reduce host CPU utilization
Supports memory-read, memory-read-line, memory-read-multiple, memory-write, memory-write-andinvalidate command while being bus master
Supports big or little endian byte ordering
EEPROM/Boot ROM I/F
•
•
•
•
•
Provides write-able Flash ROM and EPROM as boot ROM with size up to 128 KB
Provides PCI to access boot ROM by byte, word, or double word
Re-write Flash boot ROM through I/O port by programming register
Provides serial interface for read/write 93C46/66 EEPROM
Automatically load device ID, vendor ID, subsystem ID, subsystem vendor ID, Maximum-Latency, and
Minimum-Grand from the 64 byte contents of 93C46/66 after PCI reset de-asserted in PCI environment.
MAC/Physical
•
•
•
•
•
•
•
•
•
Integrates the whole Physical layer functions of 100BASE-TX and 10BASE-T
Provides Full -duplex operation on both 100 Mbit/s and 10 Mbit/s modes
Provides Auto-negotiation (NWAY) function of full/half duplex operation for both 10 and 100 Mbit/s
Provides transmit wave-shaper, receives filters, and adaptive equalizer
Provides MLT-3 transceiver with DC restoration for Base-line wander compensation
Provides MAC and Transceiver (TXCVR) loop-back modes for diagnostic
Built in Stream Cipher Scrambler/ De-scrambler and 4B/5B encoder/decoder
Supports external transmit transformer with turn ratio 1:1
Supports external receive transformer with turn ratio 1:1
LED Display
•
•
3 LED displays scheme provided:
– 100 Mbit/s (on) or Speed 10 (off)
– Link (keeps on when link ok) or Activity (will be blinking with 10 Hz when receiving or transmitting but not
collision)
– FD (keeps on when in Full duplex mode) or Collision (will be blinking with 20 Hz when colliding)
4 LED displays scheme provided:
– 100 Mbit/s and Link (keep on when link and 100 Mbit/s)
– 10 Mbit/s and Link (keep on when link and 10 Mbit/s)
– Activity (will be blinking with 10 Hz when receiving or transmitting but not collision)
– FD (keeps on when in Full duplex mode) or Collision (will be blinking with 20 Hz when colliding)
Data Sheet
9
Rev. 1.81, 2005-12-15
AN983B/BX
Block Diagram
Miscellaneous
•
•
Provides 128-pin QFP/LQFP packages for PCI/mini-PCI interfaces
3.3 V power supply with 5 V/3.3 V I/O tolerance
4
Figure 2
Data Sheet
Block Diagram
CR/CSR/XR
Registers
DMA
Control
PCI I/F
Control
Transit
FIFO
Transmit
MAC
Boot ROM
I/F
FIFO
Control
Loop-back
Control
EEPROM
I/F
Receive
FIFO
Receive
MAC
Power Management
Control
LEDs
Display
100BASE-TX
10BASE-T
Physical
Medium
I/F
Clock
Generator
Block Diagram of the AN983B/BX
10
Rev. 1.81, 2005-12-15
AN983B/BX
Pin Assignment Diagram
bra 12
bra 11/Mdc
bra 10/Mtxen
BrCS#
EECS
BrD7/ECK
BrD6/EDI
BrD5/EDO
BrD4/Mrxdv
BrD3/MrxD3
BrD2/MrxD2
BrD1/MrxD1
BrD0/MrxD0
BrWE#/Rxclk
BrOE#/Txclk
bra 9/MtxD3
bra 8/MtxD2
Vdd-3
bra 7/MtxD1
bra 6/MtxD0
bra 5/Mtxerr
Vss-3
bra 4
bra 16/LED-FD/Co
LED-100Lnk
LED-10Lnk
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
Pin Assignment Diagram
128
5
bra 13
bra 14
bra 15
VAAR
TST3
RXIN
RXIP
GNDR
TST0
TST1
TST2
NC
NC
GNDREEF
RIBB
VAAREF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
XTLN
XTLP
17
18
86
85
AD5
AD6
GNDT
TXOP
TXON
VAAT
Vdd-IR
INTA#
RST#
Vss-IR
pci_clk
Vdd-pci
gnt#
req#
pme#
Vss-pci
AD31
AD30
AD29
AD28
Vdd-pci
AD27
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
AD7
CBEB0
Vss-pci
AD8
Vss-IR
AD9
AD10
Vdd-pci
AD11
AD12
Vdd-IR
AD13
AD14
Vss-pci
AD15
CBEB1
PAR
Vdd-pci
SERR#
PERR#
Figure 3
Data Sheet
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
AD26
AD25
AD24
Vss-pci
CBEB3
IDSEL
Vss-IR
AD23
AD22
Vdd-pci
AD21
AD20
AD19
Vss-pci
AD18
AD17
Vdd-IR
AD16
CBEB2
Vdd-pci
FRAME#
IRDY#
TRDY#
Vss-pci
DSEL#
STOP#
AN983B/AN983BL
LED-Act
bra 3/Mdio
bra 2/Mcrs
bra 1/Mcol
bra 0/Mrxerr
PMEP
Vcc_detect
Vaux
AD0
AD1
clk-run
Vss-pci
AD2
AD3
AD4
Vdd-pci
Pin Assignment (top view)
11
Rev. 1.81, 2005-12-15
AN983B/BX
Pin Assignment Diagram
5.1
Pin Type and Buffer Type Abbreviations
Standardized abbreviations:
Table 1
Abbreviations for Pin Type
Abbreviations
Description
I
Standard input-only pin. Digital levels.
O
Output. Digital levels.
I/O
I/O is a bidirectional input/output signal.
AI
Input. Analog levels.
AO
Output. Analog levels.
AI/O
Input or Output. Analog levels.
PWR
Power
GND
Ground
MCL
Must be connected to Low (JEDEC Standard)
MCH
Must be connected to High (JEDEC Standard)
NU
Not Usable (JEDEC Standard)
NC
Not Connected (JEDEC Standard)
Table 2
Abbreviations for Buffer Type
Abbreviations
Description
Z
High impedance
PU1
Pull up, 10 kΩ
PD1
Pull down, 10 kΩ
PD2
Pull down, 20 kΩ
TS
Tristate capability: The corresponding pin has 3 operational states: Low, high and highimpedance.
OD
Open Drain. The corresponding pin has 2 operational states, active low and tristate, and
allows multiple devices to share as a wire-OR. An external pull-up is required to sustain the
inactive state until another agent drives it, and must be provided by the central resource.
OC
Open Collector
PP
Push-Pull. The corresponding pin has 2 operational states: Active-low and active-high
(identical to output with no type attribute).
OD/PP
Open-Drain or Push-Pull. The corresponding pin can be configured either as an output with
the OD attribute or as an output with the PP attribute.
ST
Schmitt-Trigger characteristics
TTL
TTL characteristics
Data Sheet
12
Rev. 1.81, 2005-12-15
AN983B/BX
Pin Description
6
Pin Description
Table 3
Pin Definitions and Functions
Pin or Ball
No.
Name
Pin
Type
Buffer
Type
Function
24
INTA#
O/D
PCI Interrupt Request
AN983B/BX asserts this signal when one of the interrupt
events occurs.
25
RST#
I
PCI Signal to Initialize the AN983B/BX
The active reset signal should be sustained at least 100µs
to guarantee that the AN983B/BX has completed the
initializing activity. During the reset period, all the output
pins of AN983B/BX will be set to tristate and all the O/D pins
are floated.
27
PCI-CLK
I
This PCI Clock Inputs to AN983B/BX for PCI Relative
Circuits as the Synchronized Timing Base with PCI Bus
The Bus signals are recognized on rising edge of PCI-CLK.
In order to let network operating properly, the frequency
range of PCI-CLK is limited between 20 MHz and 33 MHz
when network operating.
29
GNT#
I
PCI Bus Granted
This signal indicates that the PCI bus request of
AN983B/BX has been accepted.
30
REQ#
O
PCI Bus Request
Bus master device want to get bus access right
31
PME#
I/O
Power Management Event
The Power Management Event signal is an open drain,
active low signal. When WOL-bit 18 of CSR 18 be set into
“1”, means that the AN983B/BX is set into Wake On LAN
mode. In this mode, when the AN983B/BX receives a
Magic Packet frame from network then the AN983B/BX will
active this signal too.In the Wake On LAN mode, when
LWS-bit (bit 17) of CSR18 is set into “1” means the LANWAKE signal is HP-style signal, otherwise it is IBM-style
signal.
PCI Interface
Data Sheet
13
Rev. 1.81, 2005-12-15
AN983B/BX
Pin Description
Table 3
Pin Definitions and Functions (cont’d)
Pin or Ball
No.
Name
Pin
Type
33, 34
AD-31, 30
I/O
Multiplexed Address Data Pin of PCI Bus
35, 36
AD-29, 28
38, 39
AD-27, 26
40, 41
AD-25, 24
46, 47
AD-23, 22
49, 50
AD-21, 20
51, 53
AD-19, 18
54, 56
AD-17, 16
70, 72
AD-15, 14
73, 75
AD-13, 12
76, 78
AD-11, 10
79, 81
AD-9, 8
84, 85
AD-7, 6
86, 88
AD-5, 4
89, 90
AD-3, 2
93, 94
AD-1, 0
43
C-BEB3
I/O
Bus Command and Byte Enable
57
C-BEB2
69
C-BEB1
83
C-BEB0
44
IDSEL
I
Initialization Device Select
This signal is asserted when host issues the configuration
cycles to the AN983B/BX.
59
FRAME#
I/O
Begin and Duration of Bus Access
Driven by master device
60
IRDY#
I/O
Master Device is Ready to Data Transaction
61
TRDY#
I/O
Slave Device is Ready to Data Transaction
63
DEVSEL#
I/O
Device Select
Device select, target is driving to indicate the address is
decoded
64
STOP#
I/O
Stop the Current Transaction
Target device request the master device to stop the current
transaction
65
PERR#
I/O
Data Parity Error
Data parity error is detected, driven by the agent receiving
data
66
SERR#
O/D
Address Parity Error
68
PAR
I/O
Parity
Parity, even parity (AD [31:0] + C/BE [3:0]), master drives
par for address and write data phase, target drives par for
read data phase
Data Sheet
Buffer
Type
Function
14
Rev. 1.81, 2005-12-15
AN983B/BX
Pin Description
Table 3
Pin Definitions and Functions (cont’d)
Pin or Ball
No.
Name
Pin
Type
Buffer
Type
Function
92
Clk-run
I/O
OD
Clock Run for PCI System
In the normal operation situation, Host should assert this
signal to indicate AN983B/BX about the normal situation.
On the other hand, when Host will deassert this signal when
the clock is going down to a non-operating frequency.
When AN983B/BX recognizes the deasserted status of clkrun, then it will assert clk-run to request host to maintain the
normal clock operation. When clk-run function is disabled
then the AN983B/BX will set clk-run in tristate.
BOOTROM/EEPROM Interface
98
BrA0
I/O
ROM Data Bus
Provides up to 128KB EPROM or Flash-ROM application
space.
99
BrA1
100
BrA2
101
BrA3
106
BrA4
108
BrA5
109
BrA6
110
BrA7
112
BrA8
113
BrA9
126
BrA10
127
BrA11
128
BrA12
1
BrA13
2
BrA14
3
BrA15
105
BrA16
116
BrD0
IO
BootROM Data Bus Bit (0~7)
117
BrD1
118
BrD2
BrD5/EDO
IO/O
Input/Output data for AN983B/BX
EDO: Data Output of serial EEPROM
EDI: Data Input of serial EEPROM
ECK: Clock input of serial EEPROM
The AN983B/BX output clock signal to EEPROM.
119
BrD3
120
BrD4
121
123
BrD6/EDI
BrD7/ECK
IO/I
IO/I
124
EECS
O
Chip Select of Serial EEPROM
125
BrCS#
O
BootROM Chip Select
114
BrOE#
O
BootROM Read Enable for Flash ROM Application
115
BrWE#
O
BootROM Write Enable for Flash ROM Application
MII Interface (Program AN983B/BX as MAC-Only Mode,Set FCH [2:0] =100B)
127
Data Sheet
Mdc
O
MII Management Data Clock
15
Rev. 1.81, 2005-12-15
AN983B/BX
Pin Description
Table 3
Pin Definitions and Functions (cont’d)
Pin or Ball
No.
Name
Pin
Type
Buffer
Type
Function
128
Mtxen
O
MII Transmit Enable
109
MtxD0
O
MII Transmit Data
110
MtxD1
112
MtxD2
113
MtxD3
108
Mtxerr
O
MII Transmit Error
101
Mdio
I/O
MII Management Data I/O
120
Mrxdv
I
MII Receive Data Valid
100
Mcrs
I
MII Carrier Sense
116
MrxD0
I
MII Receive Data
117
MrxD1
118
MrxD2
119
MrxD3
99
Mcol
I
MII Collision
98
Mrxerr
I
MII Receive Error
115
Rxclk
I
MII Receive Clock
114
Txclk
I
MII Transmit Clock
I
Crystal Inputs
To be connected to a 25 MHz crystal with 50 ppm accuracy.
I
Differentials Receive Inputs
The differentials receive inputs of 100BASE-TX or
10BASE-T, these pins directly input from Magnetic.
O
Differential Transmit Outputs
The differential Transmit outputs of 100BASE-TX or
10BASE-T, these pins directly output to Magnetic.
Physical Interface
18
XTLP
17
XTLN
6
RXIN
7
RXIP
20
TXOP
21
TXON
15
RIBB
I
Reference Bias Resistor
To be tied to an external 10.0K (1%) resistor which should
be connected to the analog ground at the other end.
9
TST0
I
Test Pin
10
TST1
11
TST2
5
TST3
12, 13
NC
O
LED Display and Miscellaneous
Data Sheet
16
Rev. 1.81, 2005-12-15
AN983B/BX
Pin Description
Table 3
Pin Definitions and Functions (cont’d)
Pin or Ball
No.
Name
Pin
Type
102
Led-Act
O
4 LED Mode: LED Display for Activity Status
This pin will be driven on with 10 Hz blinking frequency
when either effective receiving or transmitting is detected.
(Led-lnk/act)
O
(3 LED Mode): LED Display for Link and Activity Status
This pin will be driven on continually when a good Link test
is detected. This pin will be driven on with 10 Hz blinking
frequency when either effective receiving or transmitting is
detected.
Led-10Lnk
O
4 LED Mode: LED Display for 10 Mbit/s Speed
This pin will be driven on continually when the 10 Mbit/s
network operating speed is detected.
(Led-fd/col)
O
(3 LED Mode): LED Display for Full Duplex or Collision
Status
This pin will be driven on continually when a full duplex
configuration is detected. This pin will be driven on with
20 Hz blinking frequency when a collision status is detected
in the half duplex configuration.
Led-100Lnk
O
4 LED Mode: LED Display for 100 Mbit/s Speed
This pin will be driven on continually when the 100 Mbit/s
network operating speed is detected.
(Led-speed)
O
(3 LED Mode): LED Display for 100 Mbit/s or 10 Mbit/s
speed
This pin will be driven on continually when the 100M b/s
network operating speed is detected.
105
Led-Fd/Col
O
4 LED Mode: LED Display for Full Duplex or Collision
Status
This pin will be driven on continually when a full duplex
configuration is detected. This pin will be driven on with
20 Hz blinking frequency when a collision status is detected
in the half duplex configuration.
(3 LED Mode): none
95
Vaux
I
103
104
Buffer
Type
Function
When this pin is asserted, it indicates an auxiliary power
source is supported. ACPI purpose, for detecting the
auxiliary power source. This pin should be or-wired
connected to:
1) 3.3 V when 3.3 Vaux support, or
2) 5 V when 5 Vaux support from 3-way switch.
96
Vcc-detect
I
When this pin is asserted, it indicates PCI power source is
supported. ACPI purpose, for detecting the main power is
remained or not. This pin should be connected to PCI bus
power source +5 V.
Data Sheet
17
Rev. 1.81, 2005-12-15
AN983B/BX
Pin Description
Table 3
Pin Definitions and Functions (cont’d)
Pin or Ball
No.
Name
Pin
Type
97
PMEP
O
Buffer
Type
Function
This signal is used as the WOL pin. It provides a
programmable positive or negative pulse with
approximately 50 ms width.
Digital Power Pins
26, 32, 42,
45, 52, 62,
71, 80, 82,
91, 107
Vss-pci, Vss-IR,
Vss-3
23, 28, 37,
48, 55, 58,
67, 74, 77,
87, 111
Vdd-pci, Vdd-IR,
Vdd-3
Connect to 3.3 V
Analog Power Pins
4, 16, 22
VAAR, VAAREF,
VAAT, 3.3 V
8, 14, 19
GNDR,
GNDREF,
GNDT
Data Sheet
18
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
7
Functional Descriptions
7.1
Initialization Flow
The flow of initialize AN983B/BX is shown as below.
Serach NIC
Get base IO address
Get IRQ value
Reset MAC(CSR0)
Reset PHY(XR0)
Need setting
media type?
Yes
(Force Media)
Program the media type to PHY R0
Yes
Set Multicast address
table (CSR27, 28)
No
Read EEPROM from CSR9
Set Physical address (CSR25, 26)
Need setting
Multicast?
No
Prepare Transmit descriptor and buffer
Install NIC ISR function
Open NIC interrupt
Enable Tx&Rx function
End
Figure 4
Initialization Flow
7.2
Network Packet Buffer Management
7.2.1
Descriptor Structure Types
For networking operations the AN983B/BX transmits the data packet from transmit buffers in host memory to
AN983B/BX’s transmit FIFO and receives the data packet from AN983B/BX’s receiving FIFO to receive buffers in
host memory. The descriptors that the AN983B/BX supports to build in host memory are used as the pointers of
these transmit and receive buffers.
There are two structure types for the descriptor, Ring and Chain, supported by the AN983B/BX and are shown
as below. The type selection is controlled by the bit24 of RDES1 and the bit24 of TDES1.
The transmitting and receiving buffers are physically built in host memory. Any buffer can contain either a whole
packet or just parts of a packet. But it can’t contain more than one packet.
Data Sheet
19
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
•
Ring structure
There are two buffers per descriptor in the ring structure. Support receives early interrupt.
Descriptor
CSR3 or CSR4
own
Length 2 Length 1
Descriptor Pointer
Buffer1 pointer
Data Buffer
Data
Length 1
Data
Length 2
Buffer2 pointer
.
.
.
.
.
.
End of Ring
Figure 5
•
Ring Structure of Frame Buffer
Chain structure
There is only one buffer per descriptor in chain structure.
Descriptor
CSR3 or CSR4
Descriptor Pointer
own
---
Length 1
Buffer1 pointer
Data Buffer
Data
Length 1
Next point
own
---
Length 2
Buffer1 pointer
Data Buffer
Data
Length 2
Next point
own
---
Length 3
Buffer1 pointer
Data Buffer
Data
Length 3
Next point
.
.
.
Figure 6
Data Sheet
.
.
.
Chain Structure of Frame Buffer
20
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
7.2.2
The Point of Descriptor Management
OWN bit = 1, ready for network side access
OWN bit = 0, ready for host side access
•
Transmit Descriptor Pointers
Descriptor
0
Length 2 Length 1
next packet to be transmitted
own bit=2,
packet1 and packet 2 are
ready to transmit
Buffer1 pointer
Data Buffer
Data
Length 1
Data
Length 2
Buffer2 pointer
1
Packet 1
1
Packet 1
1
Packet 2
empty descriptor
pointer
end of ring
Figure 7
•
0
0
Transmit Pointers for Descriptor Management
Receive Descriptor Pointers
Data Sheet
21
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
Descriptor
0
Data Buffer
Packet 2
own bit=1,
next descriptor ready for
incoming packet
1
1
1
filled descriptor pointer
0
Packet 1
end of ring
0
Packet 2
Figure 8
Data Sheet
Receive Pointers for Descriptor Management
22
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
7.3
Transmit Scheme and Transmit Early Interrupt
7.3.1
Transmit Flow
The flow of packet transmit is shown as below.
Initial
Program the descriptor, and place data
into the host memory
Change own bit to 1
Write tx demand poll
AN983B read descriptor
available descriptor(own=1)
own=0
End
read data and put into tx fifo
no deferring and greater than tx
threshold DO TRANSMIT read the rest
data
Yes
collision ?
back -off
No
write descriptor
generate interrupt
Figure 9
Transmit Flow
7.3.2
Transmit Pre-fetch Data Flow
•
•
•
Transmit FIFO size = 2K-byte
Two packets in the FIFO at the same time
Meet the transmit min. back-to-back
Data Sheet
23
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
place the 1st packet data into host memory
transmit threshold
issue transmit demand
IFG
FIFO-to-host memory operation (1st packet)
Transmit enable
1st packet
2nd packet
check the next
packet
place the 2nd packet data into host memory
check point
1st packet is
transmitted, check
the 3rd packet
FIFO-to-host memory operation (2nd packet)
place the 3rd packet data into host memory
check point
FIFO-to-host memory operation (3rd packet)
time
handled by driver
Figure 10
Transmit Data Flow of Pre-fetch Data
7.3.3
Transmit Early interrupt Scheme
handled by AN983B
Host to TX-FIFO Memory
Operation
Transmit data from FIFO to Media
Normal Interrupt after Transmit
Completed
Driver return buffer to upper layer
Early Interrupt after Host to TXFIFO Operation Completed
Driver return buffer to upper layer
time
The saved time when transmit
early interrupt is implemented
handled by driver
handled by AN983B
Figure 11
Transmit Normal Interrupt and Early Interrupt Comparison
7.4
Receive Scheme and Receive Early Interrupt Scheme
The following figure shows the difference of timing without early interrupt and with early interrupt.
Data Sheet
24
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
incoming packet
receive FIFO operation
FIFO-to-host memory operation
interrupt
driver read header
higher layer process
driver read the rest data
finish time
receive early interrupt
driver read header(early)
higher layer process(early)
driver read the rest data
finish time
time
handled by driver
Figure 12
handled by AN983B
Receive Data Flow (without early interrupt and with early interrupt)
The size of 1st descriptor is
programed as the header
size in advance
the 2nd descriptor
the 1st
descriptor
is full
FIFO-to-host memory operation
end of packet issue
the second interrupt
receive early interrupt
driver read header(early)
higher layer process(early)
driver read the rest data
finish time
time
Figure 13
Detailed Receive Early Interrupt Flow
7.5
Network Operation
Data Sheet
25
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
7.5.1
MAC Operation
In the MAC (Media Access Control) portion of AN983B/BX, it incorporates the essential protocol requirements for
operating as an IEEE802.3 and Ethernet compliant node.
Table 4
Format
Field
Description
Preamble
A 7-byte field of (10101010b)
Start Frame Delimiter
A 1-byte field of (10101011b)
Destination Address
A 6-byte field
Source Address
A 6-byte field
Length/Type
A 2-byte field indicated the frame is in IEEE802.3
format or Ethernet format.IEEE802.3 format: 0000H ~
05DCH for Length field Ethernet format: 05DD ~ FFFFH
for Type field
Data
461) ~ 1500 bytes of data information
CRC
A 32-bit cyclic redundant code for error detection
1) If padding is disabled (TDES1 bit23), the data field may be shorter than 46 bytes.
Transmit Data Encapsulation
The differences between the encapsulation and a MAC frame while operating in the 100BASE-TX mode are listed
as follow:
1. The first byte of the preamble is replaced by the JK code according to the IEE802.3u, clause 24.
2. After the CRC field of the MAC frame, the AN983B/BX inserts the TR code according to the IEE802.3u, clause
24.
Receive Data Decapsulation
When operating in 100BASE-TX mode the AN983B/BX detects a JK code for a preamble as well as a TR code
for the packet end. If a JK code is not detected, the AN983B/BX will abort this frame receiving and wait for a new
JK code detection. If a TR code is not detected, the AN983B/BX will report a CRC error.
Deferring
The Inter-Frame Gap (IFG) time is divided into two parts:
1. IFG1 time (64-bit time): If a carrier is detected on the medium during this time, the AN983B/BX will reset the
IFG1 time counter and restart to monitor the channel for an idle again.
2. IFG2 time (32-bit time): After counting the IFG2 time the AN983B/BX will access the channel even though a
carrier has been sensed on the network.
Collision Handling
The scheduling of re-transmissions is determined by a controlled randomization process called “truncated binary
exponential back-off”. At the end of enforcing a collision (jamming), the AN983B/BX delays before attempting to
re-transmit the packet. The delay is an integer multiple of slot time. The number of slot times to delay before the
nth re-transmission attempt is chosen as a uniform distributed integer in the range:
0 ≤ r < 2k, where k = min. (n, 10)
Data Sheet
26
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
7.5.2
Transceiver Operation
In the transceiver portion of the AN983B/BX, it integrates the IEEE802.3u compliant functions of PCS (physical
coding sub-layer), PMA (physical medium attachment) sub-layer, PMD (physical medium dependent) sub-layer
for 100BASE-TX, the IEEE802.3 compliant functions of Manchester encoding/decoding, and transceiver for
10BASE-T. All the functions and operation schemes are described in the following sections.
100BASE-TX Transmit Operation
Regarding to the 100BASE-TX transmission, the transceiver provides the transmission functions of PCS, PMA,
and PMD for encoding of MII data nibbles to five-bit code-groups (4B/5B), scrambling, serialization of scrambled
code-groups, converting the serial NRZ code into NRZI code, converting the NRZI code into MLT3 code, and then
driving the MLT3 code into the category 5 Unshielded Twisted Pair cable through an isolation transformer with the
turns ratio of 1:1.
Data Code-Groups Encoder
In normal MII mode application, the transceiver receives nibble type 4B data via the TxD0~3 inputs of the MII.
These inputs are sampled by the transceiver on the rising edge of Tx-clk and passed to the 4B/5B encoder to
generate the 5B code-group used by 100BASE-TX.
Idle Code-Groups
In order to establish and maintain the clock synchronization, the transceiver needs to keep transmitting signals to
medium. The transceiver will generate Idle code-groups for transmission when there is no real data MAC that
wants to send.
Start-of-Stream Delimiter-SSD (/J/K/)
In a transmission stream, the first 16 nibbles are MAC preamble. In order to let partner delineate the boundary of
a data transmission sequence and to authenticate carrier events, the transceiver will replace the first 2 nibbles of
the MAC preamble with /J/K/ code-groups.
End-of-Stream Delimiter-ESD (/T/R/)
In order to indicate the termination of the normal data transmissions, the transceiver will insert 2 nibbles of /T/R/
code-group after the last nibble of FCS.
Scrambling
All the encoded data (including the idle, SSD, and ESD code-groups) is passed to data scrambler to reduce the
EMI and spread the power spectrum using a 10-bit scrambler seed loaded at the beginning.
Data Conversion of Parallel to Serial, NRZ to NRZI, NRZI to MLT3
After scrambled, the transmission data with 5B type in 25 MHz it will be converted to serial bit stream in 125 MHz
by the parallel to serial function. After serialized, the transmission serial bit stream will be further converted from
NRZ to NRZI format. After NRZI converted, the NRZI bit stream is passed through MLT3 encoder to generate the
TP-PMD specified MLT3 code. With this MLT3 code, it lowers the frequency and reduces the energy of the
transmission signal in the UTP cable and also makes the system easily to meet the FCC specification of EMI.
Wave-Shaper and Media Signal Driver
In order to reduce the energy of the harmonic frequency of transmission signals, the transceiver provides the
wave-shaper prior the line driver to smooth but keep symmetric the rising/falling edge of transmission signals. The
wave-shaped signals including the 100BASE-TX and 10BASE-T both are passed to the same media signal driver.
This design can simplify the external magnetic connection with single one.
Data Sheet
27
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
100BASE-TX Receiving Operation
Regarding the 100BASE-TX receiving operation, the transceiver provides the receiving functions of PMD, PMA,
and PCS for receiving incoming data signals through category 5 UTP cable and an isolation transformer with turns
ratio of 1: 1. It includes the adaptive equalizer, baseline wander, data conversions of MLT3 to NRZI, NRZI to NRZ,
and serial to parallel, the PLL for clock and data recovery, the de-scrambler, and the decoder of 5B/4B.
Adaptive Equalizer and Baseline Wander
The high-speed signals over the unshielded (or shielded) twisted Pair cable will induce the amplitude attenuation
and phase shifting. Furthermore, these effects are dependent on the signal frequency, cable type, cable length
and the connectors of the cabling. So a reliable adaptive equalizer and baseline wander to compensate all the
amplitude attenuation and phase shifting are necessary. In the transceiver, it provides the robust circuits to
perform these functions.
MLT3 to NRZI Decoder and PLL for Data Recovery
After receiving the proper MLT3 signals, the transceiver converts the MLT3 to NRZI code for further processing.
After adaptive equalizer, baseline wander, and MLT3 to NRZI decoder, the compensated signals with NRZI type
in 125 MHz are passed to the Phase Lock Loop circuits to extract out the original data and the synchronous clock.
Data Conversions of NRZI to NRZ and Serial to Parallel
After data recovered, the signals will be passed to the NRZI to NRZ converter to generate the 125 MHz serial bit
stream. This serial bit stream will be packed to parallel 5B type for further processing.
De-scrambling and Decoding of 5B/4B
The parallel 5B type data is passed to de-scrambler and 5B/4B decoder to return their original MII nibble type data.
Carrier Sensing
Carrier Sense (CRS) signal is asserted when the transceiver detects any 2 non-contiguous zeros within any 10bit
boundary of the receiving bit stream. CRS is de-asserted when ESD code-group or Idle code-group is detected.
In half duplex mode, CRS is asserted during packet transmission or reception. But in full duplex mode, CRS is
asserted only during packet reception.
10BASE-T Transmission Operation
It includes the parallel to serial converter, Manchester Encoder, Link test function, Jabber function, the transmit
wave-shaper, and line driver described in the section of “Wave-Shaper and Media Signal Driver” of “100BASE-T
Transmission Operation”. It also provides Collision detection and SQE test for half duplex application.
10BASE-T Receive Operation
It includes the carrier sense function, receiving filter, PLL for clock and data recovering, Manchester decoder, and
serial to parallel converter.
Loop-back Operation of Transceiver
The transceiver provides internal loop-back (also called transceiver loop-back) operation for both the 100BASETX and 10BASE-T operations. Setting bit 14 of PHY register 0 to 1 can enable the loop-back operation. In this
loop-back operation, PHY will not transmit packets (but PHY will still send MLT3 for Idle).
In the 100BASE-TX internal loop-back operation, the data comes from the transmit output of NRZ to NRZI
converter then loop-back to the receiving path into the input of NRZI to NRZ converter.
In the 10BASE-T loop-back operation, the data is through transmitting path and loop-back from the output of the
Manchester encoder into the input of Phase Lock Loop circuit of receiving path.
Data Sheet
28
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
Full Duplex and Half Duplex Operation of Transceiver
The transceiver can operate for either full duplex or half duplex network application. In full duplex, both
transmission and reception can be operated simultaneously. Under full duplex mode, collision (COL) signal is
ignored and carrier sense (CRS) signal is asserted only when the transceiver is receiving.
In half duplex mode, either transmission or reception can be operated at one time. Under half duplex mode,
collision signal is asserted when transmitted and received signals collided and carrier sense asserted during
transmission and reception.
Auto-Negotiation Operation
The Auto-Negotiation function is designed to provide the means to exchange information between the transceiver
and the network partner to automatically configure both to take maximum advantage of their abilities, and both are
setup accordingly. The Auto-Negotiation function can be controlled through bit 12 of PHY register 0.
The Auto-Negotiation exchanges information with the network partner using the Fast Link Pulses (FLPs) - a burst
of link pulses. There are 16 bits of signaling information contained in the burst pulses to advertise all remote
partners’ capabilities, which are determined by PHY, register 4. According to this information they find out their
highest common capability by following the priority sequence as below:
1.
2.
3.
4.
100BASE-TX full duplex
100BASE-TX half duplex
10BASE-T full duplex
10BASE-T half duplex
During power-up or reset, if Auto-Negotiation is found enabled, FLPs will be transmitted and the Auto-Negotiation
function will process. Otherwise, the Auto-Negotiation will not occur until the bit 12 of PHY register 0 is set to 1.
When the Auto-Negotiation is disabled, the Network Speed and Duplex Mode are selected by programming PHY
register 0.
Power Down Operation
To reduce the power consumption the transceiver is designed with power down feature, which can save the power
consumption significantly. Since the power supply of the 100BASE-TX and 10BASE-T circuits are separated, the
transceiver can turn off the circuit of either the 100BASE-TX or 10BASE-T when the other one of them is operating.
7.5.3
Flow Control in Full Duplex Application
The PAUSE function operation is used to inhibit transmission of data frames for a specified period of time. The
AN983B/BX supports full duplex protocol of IEEE802.3x. To support PAUSE function, the AN983B/BX implements
the MAC Control Sub-layer functions to decode the MAC Control frames received from MAC control clients and
execute the relative requests accordingly. When the Full Duplex mode and PAUSE function are selected after
Auto-Negotiation completed, the AN983B/BX enables the PAUSE function for flow control of full duplex
application. In this section we will describe how the AN983B/BX implements the PAUSE function.
Data Sheet
29
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
MAC Control Frame and PAUSE Frame
6 Octets Destination Address
6 Octets Source Address
2 Octets Length/Type=88-08h
2 Octets MAC Control OPcode
(minFrameSize-160) / 8 MAC Control Parameter
Octets Reserved(pads with
zeroes)
Figure 14
MAC Control Frame Format
The MAC Control frame is distinguished from other MAC frames only by their Length/Type field identifier. The MAC
Control Opcode defined in MAC Control Frame format for PAUSE function is 0001h. Besides, the PAUSE time is
specified in the MAC Control Parameters field with 2 Octets, unsigned integer, in the units of Slot-Times. The
range of possible PAUSE time is 0 to 65535 Slot-Times.
So, a valid PAUSE frame issued by a MAC control client (could be a switch or a bridge) will contain:
1. The destination address is set equal to the globally assigned 48 bit mulitcast address 01-80-C2-00-00-01, or
equal to the unicast address which the MAC control client wishes to inhibit its transmission of data frames.
2. Filled the MAC Control Opcode field with 0001H.
3. 2 Octets of PAUSE time specified in the MAC Control parameter field to indicate the length of time for which
the destination is wished to inhibit data frame transmission.
Receive Operation for PAUSE Function
Upon reception of a valid MAC Control frame, the AN983B/BX will start a timer for the length of time specified by
the MAC Control Parameters field. When the timer value reaches zero then the AN983B/BX ends PAUSE state.
However, a PAUSE frame should not affect the transmission of a frame that has been submitted to the MAC
(started Transmit out of the MAC and can’t be interrupted). On the other hand, the AN983B/BX shall not begin to
transmit a frame more than one Slot-Times after received a valid PAUSE frame with a non-zero PAUSE time. If
the AN983B/BX receives a PAUSE frame with a zero PAUSE time value, the AN983B/BX ends the PAUSE state
immediately.
Data Sheet
30
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
ˢ̃˶̂˷˸ʳːʳˣ˔˨˦˘ʳ˙̈́˶̇˼̂́
˪˴˼̇ʳ˹̂̅ʳ˧̅˴́̆̀˼̆̆˼̂́ʳ˖̂̀̃˿˸̇˸˷
̇̅˴́̆̀˼̆̆˼̂́˲˼́˲̃̅̂˺̅˸̆̆ʳːʳ˹˴˿̆˸ʽ
˗˔ːʻ˃˄ˀˋ˃ˀ˖˅ˀ˃˃ˀ˃˃ˀ˃˄ʳʾʳˣ˻̌̆ˀ˴˷˷̅˸̆̆ʼ
˗˔ʳːʳ ʻ˃˄ˀˋ˃ˀ˖˅ˀ˃˃ˀ˃˃ˀ˃˄ʳʾʳˣ˻̌̆ˀ˴˷˷̅˸̆̆ʼ
ˣ˔˨˦˘ʳ˙˨ˡ˖˧˜ˢˡ
́˲̆˿̂̇̆˲̅̋ː˷˴̇˴ˮ˄ˊˍˆ˅˰
˦̇˴̅̇ʳ̃˴̈̆˸˲̇˼̀˸̅ʻ́˲̆˿̂̇̆˲̅̋ʽ̆˿̂̇˲̇˼̀˸ʼ
˨˖˧
˘ˡ˗ʳˣ˔˨˦˘
Figure 15
Data Sheet
PAUSE Operation Receive State Diagram
31
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
7.6
LED Display Operation
The AN983B/BX provides 2 kinds of LED display mode; the detailed descriptions about the operation are
described in the PIN Description section.
7.6.1
First Mode – 3 LED Displays
for
•
•
•
100 Mbit/s(on) or 10 Mbit/s(off)
Link (Keeps on when link ok) or Activity (Blink with 10 Hz when receiving or transmitting but not collision)
FD (Keeps on when in Full duplex mode) or Collision (Blink with 20 Hz when colliding)
7.6.2
Second Mode – 4 LED Displays
for
•
•
•
•
100 Link (On when 100M link ok)
10 Link (On when 10M link ok)
Activity (Blink with 10 Hz when receiving or transmitting)
FD (Keeps on when in Full duplex mode) or Collision (Blink with 20 Hz when colliding)
7.7
Reset Operation
7.7.1
Reset Whole Chip
There are two ways to reset the AN983B/BX. First, hardware reset, the AN983B/BX can be reset via RST pin. For
ensuring proper reset operation, at least 100s active Reset input signal is required. Second, software reset, when
bit 0 of CSR0 register is set to 1, the AN983B/BX will reset entire circuits and registers to default value then clear
the bit 0 of CSR0 to 0.
7.7.2
Reset Transceiver Only
When bit 15 of PHY register 0 is set to 1, the transceiver will reset entire circuits and register contents to default
value then clear the bit 15 of PHY register 0 to 0.
7.8
Wake on LAN Function
The AN983B/BX can assert a signal to wake up the system when it received a Magic Packet from the network.
The Wake on LAN operation is described as follow.
7.8.1
•
•
•
•
The Magic Packet Format
Valid destination address that can pass the address filter of the AN983B/BX
The payload of frame must include at least 6 contiguous ‘FF’ followed immediately by 16 repetitions of IEEE
address.
The frame can contain multiple ‘six FF + sixteen IEEE address’ pattern.
CRC OK
7.8.2
The Wake on LAN Operation
The Wake on LAN enable function is controlled by bit 18 of CSR18; it is loaded from EEPROM after reset or
programmed by driver to enable Wake on LAN function. If the bit 18 of CSR18 is set and the AN983B/BX receive
Data Sheet
32
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
a Magic Packet, it will assert the PME# signal (drive to low) to indicate receiving a wake up frame as well as to set
the PME status bit (the bit 15 of CSR20).
7.9
ACPI Power Management Function
The AN983B/BX has a built-in capability for Power Management (PM), which controlled by the host system
The AN983B/BX will provide:
•
•
•
•
•
Compatibility with Device Class Power Management Reference Specification, Rev1.09
Compatibility with ACPI specification, Rev 1.0
Compatibility with PCI Bus Power Management Interface Specification, Rev 1.1
Compatibility with AMD Magic Packet™ Technology.
Compatibility with PCI CLKRUN scheme.
7.9.1
Power States
DO (Fully On)
In this state the AN983B/BX operates as full functionality and consumes its normal power. While in the D0 state,
if the PCI clock is lower than 16 MHz, the AN983B/BX may not receive or transmit frames properly.
D1
In this state the AN983B/BX doesn’t response to any accesses, except configuration space and full function
context in place. The only network operation the AN983B/BX can initiate is a wake-up event.
D2
In this state the AN983B/BX only responds to access configuration space and full function context in place. The
AN983B/BX can’t transmit or receive even the wake-up frame.
D3cold (Power Removed)
In this state all function context is lost. When power is restored, the function will return to D0.
D3hot (Software Visible D3)
When the AN983B/BX is brought back to D0 from D3hot the software must perform a full initialization.
The AN983B/BX in the D3hot state responds to configuration cycles as long as power and clock are supplied. This
requires the device to perform an internal reset and return to a power-up reset condition without the RST# pin
asserted.
Table 5
Power State
Device
State
PCI-Bus
State
Function Context
Clock
Power
Supported
Actions to
Function
Supported
Actions from
Function
D0
B0
Full function context in
place
Full speed
Full power
Any PCI
transaction
Any PCI
transaction or
interrupt
D1
B0, B1
Configuration
maintained. No Tx and
Rx except wake-up
events
Stopped to
Full speed
–
PCI
configuration
access
Only wake-up
events
Data Sheet
33
Rev. 1.81, 2005-12-15
AN983B/BX
Functional Descriptions
Table 5
Power State (cont’d)
Device
State
PCI-Bus
State
Function Context
Clock
Power
Supported
Actions to
Function
D2
B0, B1,
B2
Configuration
maintained. No Tx and
Rx
Stopped to
Full speed
–
PCI
–
configuration
access (B0, B1)
D3hot
B0, B1,
B2
Configuration lost, full
initialization required
upon return to D0
Stopped to
Full speed
–
PCI
–
configuration
access (B0, B1)
D3cold
B3
All configurations lost.
Power-on defaults in
place on return to D0
No clock
No power
Power-on reset
Data Sheet
34
Supported
Actions from
Function
–
Rev. 1.81, 2005-12-15
AN983B/BX
General EEPROM Format Description
8
General EEPROM Format Description
Table 6
Connection Type Definition
Offset
Length
Description
0
2
AN983B/BX Signature: 0x85, 0x09, AN985 Signature: 0x85, 0x19
2
1
Format major version: 0x02
3
1
Format minor version: 0x00
4
4
Reserved
8
6
IEEE network address: ID1, ID2, ID3, ID4, ID5, ID6
E
1
Reserved, should be zero.
F
1
Reserved, should be zero.
10
1
Phytype Reserved, should be zero.
11
1
Reserved, should be zero.
12
2
Default Connection Type, see Table 9.1
14
1
BootRom ENABLE = 1, DISABLE = 0
15
1
BootRom Default selection:
0: Using INT 18h
1: Using INT 19h
2: Using Pnp/BEV (BBS)
0x10: Boot From RPL
16
0xA
Reserved, should be zero.
20
2
PCI Device ID: 0X0985 (AN983B/BX), 0x1985(AN985)
22
2
PCI Vendor ID: 0x1317
24
2
PCI Subsystem ID
26
2
PCI Subsystem Vendor ID
28
1
MIN_GNT value. 0xFF
29
1
MAX_LAT value. 0xFF
2A
4
CIS Pointer, it will be loaded into CR10. 0x0202
2E
2
CSR18 (CR) bit 31-16 recall data. Please reference AN983B/BX Spec.
30
0x22
Reserved, should be zero.
52
2
Cardbus CIS length
54
0x2A
Reserved, should be zero.
7E
2
CheckSum, the least significant two bytes of FCS for data stored in offset 0.7D
of EEPROM
140
C0
Cardbus CIS
0xFFFF
Software Driver Default
0x0100
Auto-Negotiation
0x0200
Power-on Auto-detection
0x0400
Auto Sense
0x0000
10BaseT
0x0001
BNC
Data Sheet
35
Rev. 1.81, 2005-12-15
AN983B/BX
General EEPROM Format Description
0x0002
AUI
0x0003
100BaseTx
0x0004
100BaseT4
0x0005
100BaseFx
0x0010
10BaseT Full Duplex
0x0013
100BaseTx Full Duplex
0x0015
100BaseFx Full Duplex
Data Sheet
36
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors Description
9
Registers and Descriptors Description
There are three kinds of registers designed for AN983B/BX. They are AN983B/BX configuration registers, PCI
control/status registers, and Transceiver control/status registers.
The AN983B/BX configuration registers are used to initialize and configure the AN983B/BX for identifying and
querying the AN983B/BX.
The PCI control/status registers are used to communicate between the host and AN983B/BX. Host can initialize,
control, and read the status of the AN983B/BX through the mapped I/O or memory address space.
Regarding the registers of transceiver portion of AN983B/BX, it includes 7 basic registers which are defined
according to the clause 22 “Reconciliation Sub-layer and Media Independent Interface” and clause 28 “Physical
Layer link signaling for 10 Mbit/s and 100 Mbit/s Auto-Negotiation on twisted pair” of IEEE802.3u standard. The
AN983B/BX also provides receive and transmit descriptors for packet buffering and management. These
descriptors are described in the following section.
Data Sheet
37
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
9.1
AN983B/BX Configuration Registers
Table 7
Registers Address Space
Module
Base Address
End Address
Note
xxxxx
1200 0000H
xxxx 0110H
Xxxxx
Table 8
Registers Overview
Register Short Name
Register Long Name
Offset Address
Page Number
LID_CR0
Loaded Identification Number
00H
40
CSD_CR1
Configuration Command and Status
04H
40
CC_CR2
Class Code and Revision Number
08H
42
LT_CR3
Latency Timer
0CH
42
IOBA_CR4
I/O Base Address
10H
43
MBA_CR5
Memory Base Address
14H
44
CIS_CR10
Card Information Structure
28H
44
SID_CR11
Subsystem ID and Vendor ID
2CH
44
BRBA_CR12
Boot ROM Base Address
30H
45
CP_CR13
Capabilities Pointer
34H
45
CI_CR15
Configuration Interrupt
3CH
46
DS_CR16
Driver Space for Special Purpose
40H
47
SIG_CR32
Signature
80H
47
PMR0_CR48
Power Management Register 0
C0H
48
PMR1_CR49
Power Management Register 1
C4H
49
The register is addressed wordwise.
Table 9
Registers Access ConditionsRegisters Access Conditions
Access Condition Short Name
Dependency
= B.
Standard abbreviations:
Table 10
Registers Access Types
Mode
Symbol Description Hardware (HW)
Description Software (SW)
read/write
rw
Register is used as input for the HW
Register is read and writable by SW
read
r
Register is written by HW (register
Value written by software is ignored by
between input and output -> one cycle hardware; that is, software may write any
delay)
value to this field without affecting hardware
behavior (= Target for development.)
write
w
read/write
hardware
affected
rwh
Register is writable by SW
Register can be modified by HW
Register can be modified by HW, but the
priority SW versus HW has to be specified
rwv
Data Sheet
38
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
Table 10
Registers Access Types (cont’d)
Mode
Symbol Description Hardware (HW)
Read only
ro
Register is set by HW (register between SW can only read this register
input and output -> one cycle delay)
Read virtual
rv
Physically, there is no new register, the SW can only read this register
input of the signal is connected directly
to the address multiplexer.
Latch high,
self clearing
lhsc
Latch high signal at high level, clear on SW can read the register
read
Latch low,
self clearing
llsc
Latch high signal at low-level, clear on SW can read the register
read
Latch high,
mask clearing
lhmk
Latch high signal at high level, register SW can read the register, with write mask
cleared with written mask
the register can be cleared (1 clears)
Latch low,
mask clearing
llmk
Latch high signal at low-level, register
cleared on read
SW can read the register, with write mask
the register can be cleared (1 clears)
Interrupt high,
self clearing
ihsc
Differentiate the input signal (low>high) register cleared on read
SW can read the register
Interrupt low,
self clearing
ilsc
Differentiate the input signal (high>low) register cleared on read
SW can read the register
Interrupt high,
mask clearing
ihmk
Differentiate the input signal (highSW can read the register, with write mask
>low) register cleared with written mask the register can be cleared
Interrupt low,
mask clearing
ilmk
Differentiate the input signal (low>high) register cleared with written
mask
SW can read the register, with write mask
the register can be cleared
Interrupt enable ien
register
Enables the interrupt source for
interrupt generation
SW can read and write this register
latch_on_reset
lor
rw register, value is latched after first
clock cycle after reset
Register is read and writable by SW
Read/write
self clearing
rwsc
Register is used as input for the hw, the Writing to the register generates a strobe
signal for the HW (1 pdi clock cycle)
register will be cleared due to a HW
Register is read and writable by SW.
mechanism.
Table 11
Description Software (SW)
Registers Clock Domains
Clock Short Name
9.1.1
Description
AN983B/BX Configuration Registers Descriptions
Offset
b31------------------------------------------------b16 b15------------------------------------------------------------b0
00h
Device ID*
Vendor ID*
04h
Status
Command
08h
Base Class Code Subclass
-----------
0ch
------
Latency timer Cache line size
Data Sheet
------
39
Revision# Step#
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
Offset
b31------------------------------------------------b16 b15------------------------------------------------------------b0
10h
Base I/O address
14h
Base memory address
18h~24h Reserved
28h
ROM-im*
Address space offset*
Add-indi*
2ch
Subsystem ID*
30h
Boot ROM base address
Subsystem vendor ID*
34h
Reserved
38h
Reserved
3ch
Max_Lat*
40h
Reserved
80h
Signature of AN983B/BX
c0h
PMC
Next_Item_Pt Cap_ID
r
c4h
Reserved
PMCSR
Min_Gnt*
Interrupt pin
Interrupt line
Driver Space
Reserved
Note: Automatically recalled from EEPROM when PCI reset is deserted.
1. CIS(28h) is a read-only register.
2. DS(40h), bit 15-8, is read/write able register.
3. SIG(80h) is hard wired register, read only.
Loaded Identification Number of Device and Vendor
LID_CR0
Loaded Identification Number
Offset
00H
Reset Value
From EEPROMH
/','
/9,'
UR
UR
Field
Bits
Type
Description
LDID
31:16
ro
Loaded Device ID
The device ID number loaded from serial EEPROM.
LVID
15:0
ro
Loaded Vendor ID
The vendor ID number loaded from serial EEPROM.
Reset Value loaded from EEPROM
Configuration Command and Status
Data Sheet
40
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
CSD_CR1
Configuration Command and Status
Offset
04H
Reset Value
0290 0000H
63 6( 60 67 5H
6' 6)
( 6 $ $ V 6'67 35 %% 5HV 1&
UZ UZ UZ UZ UR
UR
UZ UR
UR
UR
5HV
&6 5H &3
( V (
5HV
&0&0 &,
2 6$ 2
UR
UZ UR UZ
UR
UZ UZ UZ
Field
Bits
Type
Description
SPE
31
rw
Status of Parity Error
1B
, means that AN983B/BX detected a parity error. This bit will be set
in this condition even if the parity error response (bit 6 of CR1) is
disabled.
SES
30
rw
Status of System Error
1B
, means that AN983B/BX asserted the system error pin
SMA
29
rw
Status of Master Abort
1B
, means that AN983B/BX received a master abort and terminated
a master transaction
STA
28
rw
Status of Target Abort
1B
, means that AN983B/BX received a target abort and terminated a
master transaction
Res
27
ro
Reserved
SDST
26:25
ro
Status of Device Select Timing
The timing of the assertion of device select.
01B , means a medium assertion of DEVSEL#
SDPR
24
rw
Status of Data Parity Report
1: when three conditions are met:
AN983B/BX asserted parity error - PERR# or it detected parity error
asserted by other device. AN983B/BX is operating as a bus master.
AN983B/BX’s parity error response bit (bit 6 of CR1) is enabled.
SFBB
23
ro
Status of Fast Back-to-Back
Always 1, since AN983B/BX has the ability to accept fast back-to-back
transactions.
Res
22:21
ro
Reserved
NC
20
ro
New Capabilities
This bit indicates that whether the AN983B/BX provides a list of extended
capabilities, such as PCI power management.
0B
, the AN983B/BX doesn’t provide New Capabilities
1B
, the AN983B/BX provides the PCI management function
Res
19:9
ro
Reserved
CSE
8
rw
Command of System Error Response
1B
, enable system error response. AN983B/BX will assert SERR#
when it find a parity error on the address phase.
Res
7
ro
Reserved
Data Sheet
41
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
Field
Bits
Type
Description
CPE
6
rw
Command of Parity Error Response
0B
, disable parity error response. AN983B/BX will ignore any
detected parity error and keep on its operating. Default value is 0.
1B
, enable parity error response. AN983B/BX will assert system error
(bit 13 of CSR5) when a parity error is detected.
Res
5:3
ro
Reserved
CMO
2
rw
Command of Master Operation Ability
0B
, disable the bus master ability
1B
, enable the PCI bus master ability. Default value is 1 for normal
operation.
CMSA
1
rw
Command of Memory Space Access
0B
, disable the memory space access ability
1B
, enable the memory space access ability
CIOSA
0
rw
Command of I/O Space Access
0B
, disable the I/O space access ability
1B
, enable the I/O space access ability
rw: Read and Write able. ro: Read able only
Class Code and Revision Number
CC_CR2
Class Code and Revision Number
Offset
08H
Reset Value
0200 0011H
%&&
6&
5HV
51
61
UR
UR
UR
UR
UR
Field
Bits
Type
Description
BCC
31:24
ro
Base Class Code
It means AN983B/BX is network controller.
SC
23:16
ro
Subclass Code
It means AN983B/BX is a Fast Ethernet Controller.
Res
15:8
ro
Reserved
RN
7:4
ro
Revision Number
Identifies the revision number of AN983B/BX.
SN
3:0
ro
Step Number
Identifies the AN983B/BX steps within the current revision.
ro: Read only
Latency Timer
Data Sheet
42
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
LT_CR3
Latency Timer
Offset
0CH
Reset Value
0000 0000H
5HV
/7
&/6
UR
UZ
UZ
Field
Bits
Type
Description
Res
31:16
ro
Reserved
LT
15:8
rw
Latency Timer
This value specifies the latency timer of the AN983B/BX in units of PCI
bus clock. Once the AN983B/BX asserts FRAME#, the latency timer
starts to count. If the latency timer expires and the AN983B/BX still
asserted FRAME#, then the AN983B/BX will terminate the data
transaction as soon as its GNT# is removed.
CLS
7:0
rw
Cache Line Size
This value specifies the system cache line size in units of 32-bit double
words (DW). The AN983B/BX supports 8, 16, and 32 DW of cache line
size. This value is used by the AN983B/BX driver to program the cache
alignment bits (bit 14 and 15 of CSR0). The cache alignment bits are used
for cache oriented PCI commands; say memory-read-line, memory-readmultiple, and memory-write-and-invalidate.
I/O Base Address
IOBA_CR4
I/O Base Address
Offset
10H
Reset Value
0000 0001H
,2%$
5HV
,2
6,
UZ
UR
UR
Field
Bits
Type
Description
IOBA
31:8
rw
I/O Base Address
This value indicates the base address of PCI control and status register
(CSR0~28).
Res
7:1
ro
Reserved
IOSI
0
ro
I/O Space Indicator
1B
, means that the configuration registers map into the I/O space
Data Sheet
43
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
Memory Base Address
MBA_CR5
Memory Base Address
Offset
14H
Reset Value
0000 0000H
0%$
5HV
,2
6,
UZ
UR
UR
Field
Bits
Type
Description
MBA
31:10
rw
Memory Base Address
This value indicates the base address of PCI control and status register
(CSR0~28).
Res
9:1
ro
Reserved
IOSI
0
ro
Memory Space Indicator
1B
, means that the configuration registers map into the I/O space
Card Information Structure
For Card bus.
Note: Automatically recalled from EEPROM when PCI reset is deserted.
CIS_CR10
Card Information Structure
Offset
28H
Reset Value
0000 0000H
520
$62
$,
UR
UR
UR
Field
Bits
Type
Description
ROM
31:30
ro
ROM
ROM-image
ASO
29:4
ro
Address Space Offset
AI
3:0
ro
Address Space Indicator
Subsystem ID and Vendor ID
Note: Automatically recalled from EEPROM when PCI reset is deserted.
SID_CR11
Subsystem ID and Vendor ID
Data Sheet
Offset
2CH
44
Reset Value
1216 1113H
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
6,'
69,'
UR
UR
Field
Bits
Type
Description
SID
31:16
ro
Subsystem ID
This value is loaded from EEPROM after power on or hardware reset.
SVID
15:0
ro
Subsystem Vendor ID
This value is loaded from EEPROM after power on or hardware reset.
Boot ROM Base Address
256 Bytes ROM size.
BRBA_CR12
Boot ROM Base Address
Offset
30H
Reset Value
XXXX 0000H
%5%$
5HV
%5
(
UZ
UR
UZ
Field
Bits
Type
Description
BRBA
31:17
rw
Boot ROM Base Address
This value indicates the address mapping of boot ROM field. Besides, it
also defines the boot ROM size. The value of bit 17~10 is set to 0 for
AN983B/BX supports up to 256 KB of boot ROM.
Res
16:1
ro
Reserved
BRE
0
rw
Boot ROM Enable
The AN983B/BX really enables its boot ROM access only if both the
memory space access bit (bit 1 of CR1) and this bit are set to 1.
1B
, enable Boot ROM (Combines with bit 1 of CR1)
This register should be initialized before accessing the boot ROM space (write 32’hffffffff return 32’h
fffe0001)
Capabilities Pointer
CP_CR13
Capabilities Pointer
Data Sheet
Offset
34H
45
Reset Value
0000 00C0H
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
5HV
&3
UR
UR
Field
Bits
Type
Description
Res
31:8
ro
Reserved
CP
7:0
ro
Capabilities Pointer
Configuration Interrupt
CI_CR15
Configuration Interrupt
Offset
3CH
Reset Value
XXXX 01XXH
0/
0*
,3
,/
UR
UR
UR
UZ
Field
Bits
Type
Description
ML
31:24
ro
Max. Lat Register
This value indicates “how often” the AN983B/BX needs to access to the
PCI bus in the units of 250 ns. This value is loaded from serial EEPROM
after power on or hardware reset.
Note: Automatically recalled from EEPROM when PCI reset is deserted.
MG
23:16
ro
Min. Gnt Register
This value indicates how long the AN983B/BX needs to retain the PCI bus
ownership whenever it initiates a transaction, in the units of 250 ns. This
value is loaded from serial EEPROM after power on or hardware reset.
Note: Automatically recalled from EEPROM when PCI reset is deserted.
IP
15:8
ro
Interrupt Pin
This value indicates which of the four interrupt request pins that
AN983B/BX is connected.Always 01h: means the AN983B/BX connects
to INTA#
IL
7:0
rw
Interrupt Line
This value indicates which of the system interrupt request lines the INTA#
of AN983B/BX is routed to. The BIOS will fill this field when it initializes
and configures the system. The AN983B/BX driver can use this value to
determine priority and vector information.
Data Sheet
46
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
Driver Space for Special Purpose
DS_CR16
Driver Space for Special Purpose
Offset
40H
Reset Value
0000 XX00H
5HV
'6
5HV
UR
UZ
UR
Field
Bits
Type
Description
Res
31:16
ro
Reserved
DS
15:8
rw
Driver Space for special purpose
Since this area won’t be cleared in the software reset, the AN983B/BX
driver can use this rw area for special purpose.
Res
7:0
ro
Reserved
Signature of AN983B/BX
Hard wired register, read only
SIG_CR32
Signature
Offset
80H
Reset Value
0981 1317H
','
9,'
UR
UR
Field
Bits
Type
Description
DID
31:16
ro
Device ID
The device ID number of AN983B/BX.
VID
15:0
ro
Vendor ID
The vendor ID number of ADM Technology Corp.
Data Sheet
47
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
Power Management Register 0
PMR0_CR48
Power Management Register 0
Offset
C0H
Reset Value
FE82 0001H
30(6
' '
6 6
$8;&
'6 5H 30
, V (&
9(5
1,3
&$3,'
UR
UR UR
UR
UR UR UR
UR
UR
UR
Field
Bits
Type
Description
PMES
31:27
ro
PME Support
The AN983B/BX will assert PME# signal while in the D0, D1, D2, D3
power state. The AN983B/BX supports Wake-up from the above states.
D2S
26
ro
D2 Support
The AN983B/BX supports D2 Power Management State.
D1S
25
ro
D1 Support
The AN983B/BX supports D1 Power Management State.
AUXC
24:22
ro
Aux Current
These three bits report the maximum 3.3 Vaux current requirements for
AN983B/BX. If bit 31 of PMR0 is ‘1’, the default value is 0101b, means
AN983B/BX need 100 mA to support remote wake-up in D3 cold power
state.
DSI
21
ro
Device Specific Initialization
The Device Specific Initialization bit indicates whether special
initialization of this function is required before the generic class device
driver is able to use it.
0B
, indicates that the function does not require a device specific
initialization sequence following transition to the D0 un-initialized
state
Res
20
ro
Reserved
PMEC
19
ro
PME Clock
When “1” indicates that the AN983B/BX relies on the presence of the PCI
clock for PME# operation. While “0” indicates the no PCI clock is required
for the AN983B/BX to generate PME#.
VER
18:16
ro
Version
The value of 010b indicates that the AN983B/BX complies with Revision
1.1 of the PCI Power Management Interface Specification.
NIP
15:8
ro
Next Item Pointer
This value is always 0h, indicates that there are no additional items in the
Capabilities List.
CAPID
7:0
ro
Capability Identifier
This value is always 01h, indicates the link list item as being PCI Power
Management Registers.
Data Sheet
48
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
Power Management Register 1
PMR1_CR49
Power Management Register 1
Offset
C4H
Reset Value
0000 0000H
30 '6&$
(6 /
5HV
UR
UZ
'6(/
30
(
5HV
3:56
UZ
UZ
UR
UZ
UR
Field
Bits
Type
Description
Res
31:16
ro
Reserved
PMES
15
rw*
PME Status
This bit is set when the AN983B/BX would normally assert the PME#
signal for wake-up event, this bit is independent of the state of the PMEEn bit. Writing a “1” to this bit will clear it and cause the AN983B/BX to
stop asserting a PME# (if enabled). Writing a “0” has no effect.
Note: rw*: Read and Write Clear
DSCAL
14:13
ro
Data Scale
Indicates the scaling factor to be used when interpreting the value of the
Data register. This field is required for any function that implements the
Data register. Otherwise, it’s optional.The AN983B/BX doesn’t support
Data register and Data_Scale.
DSEL
12:9
rw
Data Select
This four-bit field is used to select which data is to be reported through the
Data register and Data_Scale field. This field is required for any function
that implements the Data register. The AN983B/BX doesn’t support
Data_Select.
PME_En
8
rw
PME En
“1” enables the AN983B/BX to assert PME#. When “0” disables the
PME# assertion. Magic packet default enable: When Csr18 <18> and
csr18 <19> are set to 1, than the magic packet wake up event will be
default enabled (csr13 <9> be set) it doesn’t matter the PME_En is set or
not.
Res
7:2
ro
Reserved
PWRS
1:0
rw
Power State
This two-bit field is used both to determine the current power state of the
AN983B/BX and to set the AN983B/BX into a new power state. The
definition of this field is given below.
Note: This field is auto cleared to D0 when power resumed.
00B
01B
10B
11B
Data Sheet
D0,
D1,
D2,
D3hot,
49
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionAN983B/BX Configuration Registers
rw*: Read and Write clear
Data Sheet
50
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
9.2
PCI Control/Status Registers
Table 12
Registers Address Space
Module
Table 13
Base Address
End Address
0000 0000H
0000 00FCH
Note
Registers Overview
Register Short Name
Register Long Name
Offset Address
Page Number
PAR_CSR0
PCI Access Register
00H
53
TDR_CSR1
Transmit Demand Register
08H
54
RDR_CSR2
Receive Demand Register
10H
56
RDB_CSR3
Receive Descriptor Base Address
18H
56
TDB_CSR4
Transmit Descriptor Base Address
20H
57
SR_CSR5
Status Register
28H
57
NAR_CSR6
Network Access Register
30H
61
IER_CSR7
Interrupt Enable Register
38H
62
LPC_CSR8
Lost Packet Counter
40H
64
SPR_CSR9
Serial Port Register
48H
64
TMR_CSR11
General-Purpose Timer
58H
65
WCSR_CSR13
Wake-up Control/Status Register
68H
65
WTMR_CSR15
Watchdog Timer
78H
68
ACSR5_CSR16
Assistant CSR5 (Status Register 2)
80H
69
ACSR7_CSR17
Assistant CSR7 (Interrupt Enable Register 2)
84H
72
CR_CSR18
Command Register
88H
73
PCIC_CSR19
PCI Bus Performance Counter
8CH
76
PMCSR_CSR20
Power Management Command and Status
90H
76
WTDP_CSR21
Current Working Transmit Descriptor Pointer
94H
78
WRDP_CSR22
Current Working Receive Descriptor Pointer
98H
78
TXBR_CSR23
Transmit Burst Count/Time-out
9CH
79
FROM_CSR24
Flash ROM (also the boot ROM) Port
A0H
79
PAR0_CSR25
Physical Address Register 0
A4H
80
PAR1_CSR26
Physical Address Register 1
A8H
80
MAR0_CSR27
Multicast Address Register 0
ACH
80
MAR1_CSR28
Multicast Address Register 1
B0H
82
UAR0_CSR_29
Unicast Address Register 0
B4H
83
UAR1_CSR_30
Unicast Address Register 1
B8H
83
OMR
Operation Mode Register
FCH
83
The register is addressed wordwise.
Standard abbreviations:
Data Sheet
51
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Table 14
Registers Access Types
Mode
Symbol Description Hardware (HW)
Description Software (SW)
read/write
rw
Register is used as input for the HW
Register is read and writable by SW
read
r
Register is written by HW (register
Value written by software is ignored by
between input and output -> one cycle hardware; that is, software may write any
delay)
value to this field without affecting hardware
behavior (= Target for development.)
write
w
read/write
hardware
affected
rwh
Register is writable by SW
Register can be modified by HW
Register can be modified by HW, but the
priority SW versus HW has to be specified
rwv
Read only
ro
Register is set by HW (register between SW can only read this register
input and output -> one cycle delay)
Read virtual
rv
Physically, there is no new register, the SW can only read this register
input of the signal is connected directly
to the address multiplexer.
Latch high,
self clearing
lhsc
Latch high signal at high level, clear on SW can read the register
read
Latch low,
self clearing
llsc
Latch high signal at low-level, clear on SW can read the register
read
Latch high,
mask clearing
lhmk
Latch high signal at high level, register SW can read the register, with write mask
cleared with written mask
the register can be cleared (1 clears)
Latch low,
mask clearing
llmk
Latch high signal at low-level, register
cleared on read
SW can read the register, with write mask
the register can be cleared (1 clears)
Interrupt high,
self clearing
ihsc
Differentiate the input signal (low>high) register cleared on read
SW can read the register
Interrupt low,
self clearing
ilsc
Differentiate the input signal (high>low) register cleared on read
SW can read the register
Interrupt high,
mask clearing
ihmk
Differentiate the input signal (highSW can read the register, with write mask
>low) register cleared with written mask the register can be cleared
Interrupt low,
mask clearing
ilmk
Differentiate the input signal (low>high) register cleared with written
mask
SW can read the register, with write mask
the register can be cleared
Interrupt enable ien
register
Enables the interrupt source for
interrupt generation
SW can read and write this register
latch_on_reset
lor
rw register, value is latched after first
clock cycle after reset
Register is read and writable by SW
Read/write
self clearing
rwsc
Register is used as input for the hw, the Writing to the register generates a strobe
signal for the HW (1 pdi clock cycle)
register will be cleared due to a HW
Register is read and writable by SW.
mechanism.
9.2.1
Data Sheet
PCI Control/Status Registers Description
52
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
PCI Access Register
PAR_CSR0
PCI Access Register
Offset
00H
Reset Value
0000 1000H
5HV
UR
0:05 5H 05
,( /( V 0( 5HV
7$3
5H
V &$/
3%/
%/
(
'6/
%$6:
5 5
UZ UZ UR UZ
UZ
UR
UZ
UZ
UZ
UZ UZ
UR
UZ
Field
Bits
Type
Description
Res
31:25
ro
Reserved
MWIE
24
rw*
Memory Write and Invalidate Enable
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
0B
1B
MRLE
23
rw*
, disable AN983B/BX to generate memory write invalidate
command and use memory write commands instead
, enable AN983B/BX to generate memory write invalidate
command. AN983B/BX will generate this command while writing
full cache lines
Memory Read Line Enable
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
1B
, enable AN983B/BX to generate memory read line command while
read access instruction reach the cache line boundary. If the read
access instruction doesn’t reach the cache line boundary then
AN983B/BX uses the memory read command instead.
Res
22
ro
Reserved
MRME
21
rw*
Memory Read Multiple Enable
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
1B
, enable AN983B/BX to generate memory read multiple commands
while reading full cache line. If the memory is not cache aligned the
AN983B/BX uses memory read command instead.
Res
20:19
ro
Reserved
TAP
18:17
rw*
Transmit Auto-polling in Transmit Suspended State
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
00B
01B
10B
11B
Res
Data Sheet
16
ro
, disable auto-polling (default)
, polling own-bit every 200 μ s
, polling own-bit every 800 μ s
, polling own-bit every 1600 μ s
Reserved
53
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
CAL
15:14
rw*
Cache Alignment, Address Boundary for Data Burst, Set after Reset
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
00B
01B
10B
11B
PBL
13:8
rw*
, reserved (default)
, 8 DW boundary alignment
, 16 DW boundary alignment
, 32 DW boundary alignment
Programmable Burst Length
This value defines the maximum number of DW to be transferred in one
DMA transaction. Value: 0 (unlimited), 1, 2, 4, 8, 16 (default), 32
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
BLE
7
rw*
Big or Little Endian Selection
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
0B
1B
DSL
6:2
rw*
, little endian (e.g. INTEL)
, big endian (only for data buffer)
Descriptor Skip Length
Defines the gap between two descriptions in the units of DW.
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
BAR
1
rw*
Bus Arbitration
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
0B
1B
SWR
0
rw*
, receive higher priority
, transmit higher priority
Software Reset
Note: rw*: Before writing the transmitting and receiving operations should
be stopped.
1B
, reset all internal hardware except configuration registers. This
signal will be cleared by AN983B/BX itself after it completed the
reset process.
Transmit Demand Register
TDR_CSR1
Transmit Demand Register
Offset
08H
Reset Value
FFFF FFFFH
73'0
UZ
Data Sheet
54
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
TPDM
31:0
rw*
Transmit Poll Demand
When written any value in suspended state, trigger read-tx-descriptor
process and check the own-bit, if own-bit = 1, then start transmit process.
Note: rw*: Before writing the transmitting process should be in the
suspended state.
Data Sheet
55
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Receive Demand Register
RDR_CSR2
Receive Demand Register
Offset
10H
Reset Value
FFFF FFFFH
53'0
UZ
Field
Bits
Type
Description
RPDM
31:0
rw*
Receive Poll Demand
When written any value in suspended state, trigger the read-rx-descriptor
process and check own-bit, if own- bit = 1, then start move data to buffer
from FIFO.
Note: rw*: Before writing the receiving process should be in the
suspended state.
Receive Descriptor Base Address
RDB_CSR3
Receive Descriptor Base Address
Offset
18H
Reset Value
xxxx xxxxH
6$5
5%1'
UZ
UR
Field
Bits
Type
Description
SAR
31:2
rw*
Start Address of Receive Descriptor
Note: rw*: Before writing the receiving process should be stopped.
RBND
Data Sheet
1:0
ro
Must be 00, DW Boundary
56
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Transmit Descriptor Base Address
TDB_CSR4
Transmit Descriptor Base Address
Offset
20H
Reset Value
xxxx xxxxH
6$7
7%1'
UZ
UR
Field
Bits
Type
Description
SAT
31:2
rw*
Start Address of Transmit Descriptor
Note: rw*: Before writing the transmitting process should be stopped.
TBND
1:0
ro
Must be 00B, DW Boundary
rw = before writing the transmit process should be stopped
Status Register
SR_CSR5
Status Register
Offset
28H
Reset Value
0000 0000H
5HV
%(7
76
56
1, $, 5H )% 5H *3 5H 5:53 5' 5& 78 5H 7- 7' 73 7&
66 66 V ( V 77 V 7 6 8 , ) V 7 8 6 ,
UR
UR
UR
UR
UROKUROK UR UROK UR UROK UR UROKUROKUROKUROKUROK UR UROKUROKUROKUROK
Field
Bits
Type
Description
Res
31:26
ro
Reserved
BET
25:23
ro
Bus Error Type
This field is valid only when bit 13 of CSR5 (fatal bus error) is set. There
is no interrupt generated by this field.
000B , parity error
001B , master abort
010B , target abort
011B , reserved
1xxB , reserved
Data Sheet
57
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
TS
22:20
ro
Transmit State
Report the current transmission state only, no interrupt will be generated.
000B , stop
001B , read descriptor
010B , transmitting
011B , FIFO fill read the data from memory and put into FIFO
100B , reserved
101B , reserved
110B , suspended, unavailable transmit descriptor or FIFO overflow
111B , write descriptor
RS
19:17
ro
Receive State
Report current receive state only, no interrupt will be generated.
000B , stop
001B , read descriptor
010B , check this packet and pre-fetch next descriptor
011B , wait for receiving data
100B , suspended
101B , write descriptor
110B , flush the current FIFO
111B , FIFO drain. move data from receiving FIFO into memory
NISS
16
ro/lh
Normal Interrupt Status Summary
It’s set if any of below bits of CSR5 asserted. (Combines with bit 16 of
ACSR5)
bit0, transmit completed interrupt
bit2, transmit descriptor unavailable
bit6, receive descriptor interrupt
AISS
15
ro/lh
Note: lh: High Latching and cleared by writing 1
Abnormal Interrupt Status Summary
It’s set if any of below bits of CSR5 asserted. (Combines with bit 15 of
ACSR5)
bit1, transmit process stopped
bit3, transmit jabber timer time-out
bit5, transmit under-flow
bit7, receive descriptor unavailable
bit8, receive processor stopped
bit9, receive watchdog time-out
bit11, general purpose timer time-out
bit13, fatal bus error
Note: lh: High Latching and cleared by writing 1
Res
14
ro
Reserved
FBE
13
ro/lh
Fatal Bus Error
Note: lh: High Latching and cleared by writing 1
1B
Res
Data Sheet
12
ro
, while any of parity error master abort, or target abort is occurred
(see bits 25~23 of CSR5) AN983B/BX will disable all bus access.
The way to recover parity error is by setting software reset.
Reserved
58
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
GPTT
11
ro/lh
General Purpose Timer Time-out
Base on CSR11 timer register.
Note: lh: High Latching and cleared by writing 1
Res
10
ro
Reserved
RWT
9
ro/lh
Receive Watchdog Time-out
Based on CSR15 watchdog timer register.
Note: lh: High Latching and cleared by writing 1
RPS
8
ro/lh
Receive Process Stopped
Receive state = stop
Note: lh: High Latching and cleared by writing 1
RDU
7
ro/lh
Receive Descriptor Unavailable
Note: lh: High Latching and cleared by writing 1
1B
RCI
6
ro/lh
, while the next receive descriptor can’t be applied by AN983B/BX.
The receive process is suspended in this situation. To restart the
receive process the ownership bit of next receive descriptor should
be set to AN983B/BX and a receive poll demand command should
be issued (or a new recognized frame is received, if the receive poll
demand is not issued).
Receive Completed Interrupt
Note: lh: High Latching and cleared by writing 1
1B
TUF
5
ro/lh
, while a frame reception is completed
Transmit Under-Flow
Note: lh: High Latching and cleared by writing 1
1B
, while the transmit FIFO had an under-flow condition happened
during transmitting. The transmit process will enter the suspended
state and report the under-flow error on bit1 of TDES0
Res
4
ro
Reserved
TJT
3
ro/lh
Transmit Jabber Timer Time-out
Note: lh: High Latching and cleared by writing 1
1B
TDU
2
ro/lh
, while the transmit jabber timer expired. The transmit processor
will enter the stop state and the transmit jabber time-out flag of bit
14 of TDES0 will be asserted
Transmit Descriptor Unavailable
Note: lh: High Latching and cleared by writing 1
1B
TPS
1
ro/lh
, while the next transmit descriptor can’t be applied by AN983B/BX.
The transmission process is suspended in this situation. To restart
the transmission process the ownership bit of next transmit
descriptor should be set to AN983B/BX and if the transmit
automatic polling is not enabled then a transmit poll demand
command should be issued.
Transmit Process Stopped
Note: lh: High Latching and cleared by writing 1
1B
Data Sheet
, while transmit state = stop
59
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
TCI
0
ro/lh
Transmit Completed Interrupt
Note: lh: High Latching and cleared by writing 1
1B
Data Sheet
, means a frame transmission is completed while bit 31 of TDES1
is asserted in the first transmit descriptor of the frame
60
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Network Access Register
NAR_CSR6
Network Access Register
Offset
30H
Reset Value
0008 0040H
5HV
5H 64
6) V (
5HV
75
67 )& 20
UR
UZ UR UZ
UR
UZ
UZ UZ
UZ
Field
Bits
Type
Description
Res
31:22
ro
Reserved
SF
21
rw*
Store and Forward for Transmit
6% 5H
5H
5H
5HV 0035 & V 3% V 65 V
UR UZ UZ UZ URUZ
UR UZ UR
Note: w* = only write when the transmit processor stoppes.
0B
1B
, disable
, enable ignore the transmit threshold setting
Res
20
ro
Reserved
SQE
19
rw*
SQE Disable
Note: w* = only write when the transmit processor stoppes.
0B
1B
, enable SQE function for 10BASE-T operation. The AN983B/BX
provides SQE test function for 10BASE-T half duplex operation
, disable SQE function
Res
18:16
ro
Reserved
TR
15:14
rw*
Transmit Threshold Control
Note: w* = only write when the transmit processor stoppes.
00B
01B
10B
00B
, 128-byte (100 Mbit/s) 72-byte (10 Mbit/s)
, 256-byte (100 Mbit/s) 96-byte (10 Mbit/s)
, 512-byte (100 Mbit/s) 128-byte (10 Mbit/s)
, 1024-byte (100 Mbit/s) 160 -byte (10 Mbit/s)
ST
13
rw
Stop Transmit
0B
, stop (default)
, start
1B
FC
12
rw**
Force Collision Mode
Note: w** = only write when the transmit and receive processor both stop.
0B
1B
OM
11:10
rw**
, disable
, generate collision when transmit (for test in loop-back mode)
Operating Mode
Note: w** = only write when the transmit and receive processor both stop.
00B
01B
10B
11B
Data Sheet
, normal
, MAC loop-back
, reserved
, reserved
61
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
Res
9:8
ro
Reserved
MM
7
rw***
Multicast Mode
Note: w*** = only write when the receive processor stoppes.
1B
PR
6
rw***
, receive all multicast packets
Promiscuous Mode
Note: w*** = only write when the receive processor stoppes.
0B
1B
SBC
5
rw**
, receive only the right destination address packets
, receive any good packet
Stop Back-off Counter
Note: w** = only write when the transmit and receive processor both stop.
0B
1B
, back-off counter is not effected by carrier
, back-off counter stop when carrier is active and resume when
carrier drop.
Res
4
ro
Reserved
PB
3
rw***
Pass Bad Packet
Note: w*** = only write when the receive processor stoppes.
0B
1B
, filters all bad packets
, receives any packets if pass address filter, including small
packets, CRC error, truncated packets... For receiving all bad
packets, the bit 6 of CSR6 should be set to 1.
Res
2
ro
Reserved
SR
1
rw
Start/Stop Receive
0B
, receive processor will enter stop state after the current reception
frame has completed. This value is effective only when the receive
processor is in the running or suspending state. Notice: In “Stop
Receive” state the PAUSE packet and Remote Wake Up packet
won’t be affected and can be received if the corresponding function
is enabled.
1B
, receive processor will enter running state
Res
0
ro
Reserved
Interrupt Enable Register
IER_CSR7
Interrupt Enable Register
Offset
38H
Reset Value
0000 0000H
Data Sheet
5HV
1, $, 5H )% 5H *3 5H 5:56 58 5& 78 5H 7- 7' 73 7&
( ( V ( V 7 V 7 ,( ,( ,( ,( V 7 8 6 ,(
UR
UZ UZ UR UZ UR UZ UR UZ UZ UZ UZ UZ UR UZ UZ UZ UZ
62
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
Res
31:17
ro
Reserved
NIE
16
rw
Normal Interrupt Enable
1B
, enable all the normal interrupt bits (see bit16 of CSR5)
AIE
15
rw
Abnormal Interrupt Enable
1B
, enable all the abnormal interrupt bits (see bit15 of CSR5)
Res
14
ro
Reserved
FBEIE
13
rw
Fatal Bus Error Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable fatal bus error
interrupt
Res
12
ro
Reserved
GPTIE
11
rw
General Purpose Timer Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable general-purpose
timer expired interrupt
Res
10
ro
Reserved
RWTIE
9
rw
Receive Watchdog Time-out Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable receive watchdog
time-out interrupt
RSIE
8
rw
Receive Stopped Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable receive stopped
interrupt
RUIE
7
rw
Receive Descriptor Unavailable Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable receive descriptor
unavailable interrupt
RCIE
6
rw
Receive Completed Interrupt Enable
1B
, combine this bit and bit 16 of CSR7 to enable receive completed
interrupt
TUIE
5
rw
Transmit Under-flow Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable transmit under-flow
interrupt
Res
4
ro
Reserved
TJTTIE
3
rw
Transmit Jabber Timer Time-out Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable transmit jabber timer
time-out interrupt
TDUIE
2
rw
Transmit Descriptor Unavailable Interrupt Enable
1B
, combine this bit and bit 16 of CSR7 to enable transmit descriptor
unavailable interrupt
TPSIE
1
rw
Transmit Processor Stopped Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable transmit processor
stopped interrupt
TCIE
0
rw
Transmit Completed Interrupt Enable
1B
, combine this bit and bit 16 of CSR7 to enable transmit completed
interrupt.
Data Sheet
63
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Lost Packet Counter
LPC_CSR8
Lost Packet Counter
Offset
40H
Reset Value
0000 0000H
5HV
/3
&2
/3&
UR
UROK
UROK
Field
Bits
Type
Description
Res
31:17
ro
Reserved
LPCO
16
ro/lh
Lost Packet Counter Overflow
Note: LH = High Latching and cleared by writing 1
1B
LPC
15:0
ro/lh
, while lost packet counter overflowed. Cleared after read
Lost Packet Counter
Increment the counter while packet discarded since there was no host
receives descriptors available. Cleared after read.
Note: LH = High Latching and cleared by writing 1
Serial Port Register
SPR_CSR9
Serial Port Register
Offset
48H
Reset Value
0004 000EH
5HV
0'000'0' 5H 65 6: 5H 65
, & 2 & V & & V 6
5HV
6' 6' 6& 6&
2 , /. 6
UR
UZ UZ UZ UZ UR UZ UZ UR UZ
UR
UR UZ UZ UZ
Field
Bits
Type
Description
Res
31:20
ro
Reserved
MDI
19
rw
MII Management Data Input
Specified read data from the external PHY
MMC
18
rw
MII Management Control
0B
, Write operation to the external PHY
1B
, Read operation from the external PHY
MDO
17
rw
MII Management Data Output
Specified Write Data to the external PHY
Data Sheet
64
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
MDC
16
rw
MII Management Clock
1B
, MII Management Clock is a output reference clock to the external
PHY
Res
15
ro
Reserved
SRC
14
rw
Serial EEPROM Read Control
Set together with CSR9 bit11 to enable read operation from EEPROM
SWC
13
rw
Serial EEPROM Write Control
Set together with CSR9 bit11 to enable write operation to EEPROM
Res
12
ro
Reserved
SRS
11
rw
Serial EEPROM Select
Set together with CSR9 bit14 or 13 to enable EEPROM access
Res
10:4
ro
Reserved
SDO
3
ro
Serial EEPROM Data Out
This bit serially shifts data from the EEPROM to the AN983B/BX.
SDI
2
rw
Serial EEPROM Data In
This bit serially shifts data from the AN983B/BX to the EEPROM.
SCLK
1
rw
Serial EEPROM Clock
High/Low this bit to provide the clock signal for EEPROM.
SCS
0
rw
Serial EEPROM Chip Select
1B
, selects the serial EEPROM chip
General-Purpose Timer
TMR_CSR11
General-Purpose Timer
Offset
58H
Reset Value
0000 0000H
5HV
&2
0
*79
UR
UZ
UZ
Field
Bits
Type
Description
Res
31:17
ro
Reserved
COM
16
rw
Continuous Operation Mode
1B
, sets the general-purpose timer in continuous operating mode
GTV
15:0
rw
General-Purpose Timer Value
Sets the counter value. This is a countdown counter with the cycle time
of 204 μ s.
Wake-up Control/Status Register
Data Sheet
65
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
WCSR_CSR13
Wake-up Control/Status Register
Offset
68H
Reset Value
??H
5H &5:3:3:3:3:3
V &7 ( ( ( ( (
5HV
/L /L
Q Q
5HV
:)03 /6
5( 5( &(
5HV
:)03 /6
5 5 &
UR UZ UZ UZ UZ UZ UZ
UR
UZ UZ
UR
UZ UZ UZ
UR
UZF
UZF
UZF
Field
Bits
Type
Description
Res
31
ro
Reserved
CRCT
30
rw
CRC-16 Type
0B
, Initial contents = 0000h
1B
, Initial contents = FFFFh
WP1E
29
rw
WP2E
28
rw
Wake-up Pattern n Matched Enable
n = 1 to 5
WP3E
27
rw
WP4E
26
rw
WP5E
25
rw
Res
24:18
ro
Reserved
LinkOFF
17
rw
Link Off Detect Enable
The AN983B/BX will set the LSC bit of CSR13 after it has detected that
link status is from ON to OFF.
LinkON
16
rw
Link On Detect Enable
The AN983B/BX will set the LSC bit of CSR13 after it has detected that
link status is from OFF to ON.
Res
15:11
ro
Reserved
WFRE
10
rw
Wake-up Frame Received Enable
The AN983B/BX will include the “Wake-up Frame Received” event into
wake-up events. If this bit is set, AN983B/BX will assert PMES bit of
PMR1 after AN983B/BX has received a matched wake-up frame.
MPRE
9
rw
Magic Packet Received Enable
The AN983B/BX will include the “Magic Packet Received” event into
wake-up events. If this bit is set, AN983B/BX will assert PMES bit of
PMR1 after AN983B/BX has received a Magic packet.
LSCE
8
rw
Link Status Changed Enable
The AN983B/BX will include the “Link Status Changed” event into wakeup events. If this bit is set, AN983B/BX will assert PMES bit of PMR1 after
AN983B/BX has detected a link status changed event.
Res
7:3
ro
Reserved
WFR
2
rw1c
Wake-up Frame Received
Note: rw1c: Read only and Write one cleared.
1B
Data Sheet
, indicates AN983B/BX has received a wake-up frame. It is cleared
by writing 1 or upon power-up reset. It is not affected by a hardware
or software reset
66
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
MPR
1
rw1c
Magic Packet Received
Note: rw1c: Read only and Write one cleared.
1B
LSC
0
rw1c
, indicates AN983B/BX has received a magic packet. It is cleared
by writing 1 or upon power-up reset. It is not affected by a hardware
or software reset
Link Status Changed
Note: rw1c: Read only and Write one cleared.
1B
, indicates AN983B/BX has detected a link status change event. It
is cleared by writing 1 or upon power-up reset. It is not affected by
a hardware or software reset
CSR14, WPDR – Wake-up Pattern Data Register
All six wake-up patterns filtering information are programmed through WPDR register. The filtering information is
as follows:
Offset
31-24
23-16
0000h
Wake-up pattern 1 mask bits 31:0
0004h
Wake-up pattern 1 mask bits 63:32
0008h
Wake-up pattern 1 mask bits 95:64
000ch
Wake-up pattern 1 mask bits 127:96
0010h
CRC16 of pattern 1
0014h
Wake-up pattern 2 mask bits 31:0
0018h
Wake-up pattern 2 mask bits 63:32
001ch
Wake-up pattern 2 mask bits 95:64
0020h
Wake-up pattern 2 mask bits 127:96
0024h
CRC16 of pattern 2
0028h
Wake-up pattern 3 mask bits 31:0
002ch
Wake-up pattern 3 mask bits 63:32
0030h
Wake-up pattern 3 mask bits 95:64
0034h
Wake-up pattern 3 mask bits 127:96
0038h
CRC16 of pattern 3
003ch
Wake-up pattern 4 mask bits 31:0
0040h
Wake-up pattern 4 mask bits 63:32
0044h
Wake-up pattern 4 mask bits 95:64
0048h
Wake-up pattern 4 mask bits 127:96
004ch
CRC16 of pattern 4
0050h
Wake-up pattern 5 mask bits 31:0
0054h
Wake-up pattern 5 mask bits 63:32
0058h
Wake-up pattern 5 mask bits 95:64
005ch
Wake-up pattern 5 mask bits 127:96
0060h
CRC16 of pattern 5
15-8
7-0
Reserved
Wake-up pattern 1 offset
Reserved
Wake-up pattern 2 offset
Reserved
Wake-up pattern 3 offset
Reserved
Wake-up pattern 4 offset
Reserved
Wake-up pattern 5 offset
1. Offset value is from 0-255 (8-bit width).
Data Sheet
67
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
2. To load the whole wake-up frame-filtering information, consecutive 25 long words write operation to CSR14
should be done.
Watchdog Timer
WTMR_CSR15
Watchdog Timer
Offset
78H
Reset Value
0000 0000H
5HV
05
;
5HV
5:5: 5H -&
-%
5 ' V /. 1- '
UR
U
U
UZ UZ UR UZ UZ UZ
Field
Bits
Type
Description
Res
31:29
ro
Reserved
MRXCK
28
r
MII Rx Clock Reverse
0B
, NOT reverse
1B
, reverse (for NS HomePHY 1M only)
Res
27:6
r
Reserved
RWR
5
rw
Receive Watchdog Release
The time of release watchdog timer from last carrier deserted.
0B
, 24 bit-time
1B
, 48 bit-time
RWD
4
rw
Receive Watchdog Disable
0B
, If the receiving packet’s length is longer than 2560 bytes the
watchdog timer will be expired
1B
, disable the receive watchdog
Res
3
ro
Reserved
JCLK
2
rw
Jabber Clock
0B
, cut off transmission after 2.6 ms (100 Mbit/s) or 26 ms (10 Mbit/s)
1B
, cut off transmission after 2560 byte-time
NJ
1
rw
Non-Jabber
0B
, if jabber expired re-enable transmit function after 42 ms
(100 Mbit/s) or 420 ms (10 Mbit/s)
1B
, immediately re-enable the transmit function after jabber expired
JBD
0
rw
Jabber Disable
1B
, disable transmit jabber function
Data Sheet
68
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Assistant CSR5 (Status Register 2)
ACSR5_CSR16
Assistant CSR5 (Status Register 2)
Offset
80H
Reset Value
0000 0000H
7( 5( /& 7' 5H 3)
,6 ,6 6 ,6 V 5
5HV
$1 $$ 5H )% 5H *3 5H 5:53 5' 5& 78 5H 7- 7' 73 7&
, , V ( V 77 V 7 6 8 , ) V 7 8 6 ,
UROKUROKUROKUROK UR UROK
UR
UROKUROK UR UROK UR UROK UR UROKUROKUROKUROKUROK UR UROKUROKUROKUROK
Field
Bits
Type
Description
TEIS
31
ro/lh
Transmit Early Interrupt Status
Transmit early interrupt status is set to 1 when transmited early interrupt
function is enabled (set bit 31 of CSR17 = 1) and the transmitted packet
is moved completely from descriptors to TX-FIFO buffer. This bit is
cleared by writing 1.
Note: LH = High Latching and cleared by writing 1
REIS
30
ro/lh
Receive Early Interrupt Status
Receive early interrupt status is set to 1 when receive early interrupt
function is enabled (set bit 30 of CSR17 = 1) and the received packet is
filled up with its first receive descriptor. This bit is cleared by writing 1.
Note: LH = High Latching and cleared by writing 1
LCS
29
ro/lh
Status of Link Status Change
Note: LH = High Latching and cleared by writing 1
TDIS
28
ro/lh
Transmit Deferred Interrupt Status
Note: LH = High Latching and cleared by writing 1
Res
27
ro
Reserved
PFR
26
ro/lh
PAUSE Frame Received Interrupt Status
Note: LH = High Latching and cleared by writing 1
1B
, indicates a PAUSE frame received when the PAUSE function is
enabled
Res
25:17
ro
Reserved
ANISS
16
ro/lh
Added Normal Interrupt Status Summary
Note: LH = High Latching and cleared by writing 1
1B
AAISS
15
ro/lh
, any of the added normal interrupts happened
Added Abnormal Interrupt Status Summary
Note: LH = High Latching and cleared by writing 1
1B
Res
Data Sheet
14
ro
, any of the added abnormal interrupt happened
Reserved
69
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
FBE
13
ro/lh
Fatal Bus Error
Note: LH = High Latching and cleared by writing 1
1B
, while any of parity error master abort, or target abort is occurred
(see bits 25~23 of CSR5) AN983B/BX will disable all bus access.
The way to recover parity error is by setting software reset.
Res
12
ro
Reserved
GPTT
11
ro/lh
General Purpose Timer Time-out
Base on CSR11 timer register.
Note: LH = High Latching and cleared by writing 1
Res
10
ro
Reserved
RWT
9
ro/lh
Receive Watchdog Time-out
Based on CSR15 watchdog timer register.
Note: LH = High Latching and cleared by writing 1
RPS
8
ro/lh
Receive Process Stopped
Receive state = stop
Note: LH = High Latching and cleared by writing 1
RDU
7
ro/lh
Receive Descriptor Unavailable
Note: LH = High Latching and cleared by writing 1
1B
RCI
6
ro/lh
, while the next receive descriptor can’t be applied by AN983B/BX.
Receive process is suspended in this situation. To restart the
receive process the ownership bit of the next receive descriptor
should be set to AN983B/BX and a receive poll demand command
should be issued (or a new recognized frame is received, if the
receive poll demand is not issued).
Receive Completed Interrupt
Note: LH = High Latching and cleared by writing 1
1B
TUF
5
ro/lh
, while a frame reception is completed
Transmit Under-Flow
Note: LH = High Latching and cleared by writing 1
1B
, while the transmitting FIFO had an under-flow condition. It
happened during transmitting. The transmit process will enter the
suspended state and report the under-flow error on bit1 of TDES0
Res
4
ro
Reserved
TJT
3
ro/lh
Transmit Jabber Timer Time-out
Note: LH = High Latching and cleared by writing 1
1B
Data Sheet
, while the transmit jabber timer expired. The transmit processor
will enter the stop state and the transmit jabber time-out flag of bit
14 of TDES0 will be asserted
70
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
TDU
2
ro/lh
Transmit Descriptor Unavailable
Note: LH = High Latching and cleared by writing 1
1B
TPS
1
ro/lh
, while the next transmit descriptor can’t be applied by AN983B/BX.
The transmission process is suspended in this situation. To restart
the transmission process the ownership bit of next transmit
descriptor should be set to AN983B/BX and if the transmit
automatic polling is not enabled then a transmit poll demand
command should be issued.
Transmit Process Stopped
Note: LH = High Latching and cleared by writing 1
1B
TCI
0
ro/lh
, while transmit state = stop
Transmit Completed Interrupt
Note: LH = High Latching and cleared by writing 1
1B
, means a frame transmission is completed while bit 31 of TDES1
is asserted in the first transmit descriptor of the frame
Bit14 to 0 are the same as the status register of CSR5. You can access those status bits through either CSR5 or
CSR16.
Data Sheet
71
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Assistant CSR7 (Interrupt Enable Register 2)
ACSR7_CSR17
Assistant CSR7 (Interrupt Enable Register 2)
Offset
84H
Reset Value
0000 0000H
7( 5( /& 7' 5H 3)
,( ,( ,( ,( V 5
5HV
$1 $$ 5H )% 5H *3 5H 5:56 58 5& 78 5H 7- 7' 73 7&
, ,( V ( V 7 V 7 ,( ,( ,( ,( V 7 8 6 ,(
UZ UZ UZ UZ UR UZ
UR
UZ UZ UR UZ UR UZ UR UZ UZ UZ UZ UZ UR UZ UZ UZ UZ
Field
Bits
Type
Description
TEIE
31
rw
Transmit Early Interrupt Enable
REIE
30
rw
Receive Early Interrupt Enable
LCIE
29
rw
Link Status Change Interrupt Enable
TDIE
28
rw
Transmit Deferred Interrupt Enable
Res
27
ro
Reserved
PFRIE
26
rw
PAUSE Frame Received Interrupt Enable
Res
25:17
ro
Reserved
ANISE
16
rw
Added Normal Interrupt Summary Enable
1B
, adds the interrupts of bit 30 and 31 of ACSR7 to the normal
interrupt summary (bit 16 of CSR5)
AAIE
15
rw
Added Abnormal Interrupt Summary Enable
1B
, adds the interrupts of bit 26, 28 and 29 of ACSR7 to the abnormal
interrupt summary
Res
14
ro
Reserved
FBEIE
13
rw
Fatal Bus Error Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable fatal bus error
interrupt
Res
12
ro
Reserved
GPTIE
11
rw
General Purpose Timer Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable general-purpose
timer expired interrupt
Res
10
ro
Reserved
RWTIE
9
rw
Receive Watchdog Time-out Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable receive watchdog
time-out interrupt
RSIE
8
rw
Receive Stopped Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable receive stopped
interrupt
RUIE
7
rw
Receive Descriptor Unavailable Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable receive descriptor
unavailable interrupt
Data Sheet
72
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
RCIE
6
rw
Receive Completed Interrupt Enable
1B
, combine this bit and bit 16 of CSR7 to enable receive completed
interrupt
TUIE
5
rw
Transmit Under-flow Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable transmit under-flow
interrupt
Res
4
ro
Reserved
TJTTIE
3
rw
Transmit Jabber Timer Time-out Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable transmit jabber timer
time-out interrupt
TDUIE
2
rw
Transmit Descriptor Unavailable Interrupt Enable
1B
, combine this bit and bit 16 of CSR7 to enable transmit descriptor
unavailable interrupt
TPSIE
1
rw
Transmit Processor Stopped Interrupt Enable
1B
, combine this bit and bit 15 of CSR7 to enable transmit processor
stopped interrupt
TCIE
0
rw
Transmit Completed Interrupt Enable
1B
, combine this bit and bit 16 of CSR7 to enable transmit completed
interrupt.
Bit14 to 0 are the same as the interrupt enable register of CSR7. You can access those interrupt enable
bits through either CSR7 or CSR16
Command Register
Bit 31 to Bit 16
Automatically recall from EEPROM
CR_CSR18
Command Register
Offset
88H
Reset Value
A04C 0004H
'
$7 33 3&
B
&5
$3 /:
&6 $8;&/ 6 ( , 36 / 5)6 ' 30 0 6
UZ
UR
UZ UZ UZ UZ UZ
UZ
5HV
UZ UR UZ UZ
UR
' 5: 3$ 57
6, $7
$ 3 8 ( '57 17 85
UZ UZ UZ UZ
UZ
UZ UZ
Field
Bits
Type
Description
D3CS
31
rw
D3cold Support, Mapped to CR48<31>
AUXCL
30:28
ro
Aux Current
These three bits report the maximum 3.3 Vaux current requirements for
AN983B/BX. If bit 31 of PMR0 is ‘1’, the default value is 0101b, means
AN983B/BX need 100 mA to support remote wake-up in D3cold power
state.
Data Sheet
73
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
ATS
27
rw
Actively Type Select
PMEP, This bit is only active when PMEP enable CSR18 bit 26
0B
, create a positive 50 ms pulse
1B
, create a negative 50 ms pulse
PPE
26
rw
PMEP Pin Enable
0B
, disable (this pin will be input, to compatible with AN983 circuit)
1B
, enable
PCI_R
25
rw
PCI_Reset
PWRS_clr
1B
, rising will automatically reset CR49/ PWRS[1:0] to 00h
PS
24
rw
Pmes_Sticky
0B
, pmez auto de-asserted: While pmez signal is asserted by wake
up event it will be de-asserted by power up automatically
1B
, pmez sticky: While pmez signal is asserted by wake up event it
cannot be auto de-asserted. The software should clear CR49<15>
PMES bit to de-assert the pmez signal.
4_3L
23
rw
4_3LED
If this bit is reset, 3 LED mode is selected, the LEDs definition is:
100/10 speed
Link/Activity
Full Duplex/Collision
If this bit is set, 4 LED mode is selected, the LEDs definition is:
100 Link
10 Link
Activity
Full Duplex/Collision
RFS
22:21
rw
Receive FIFO Size Control
00B , reserved
01B , reserved
10B , 2K
11B , 1K
CRD
20
rw
Clock Run (clk-run pin) Disable
1B
, disables the function of clock run supports to PCI
PM
19
ro
Power Management
Enables the AN983B/BX whether to activate the Power Management
abilities. When this bit is set into “0” the AN983B/BX will set the Cap_Ptr
register to zero, indicating no PCI compliant power management
capabilities.The value of this bit will be mapped to NC-bit 20 of CR1.In
PCI Power Management mode, the Wake-up events include “Wake-up
Frame Received”, “Magic Packet Received” and “Link Status Changed”
depends on the CSR13 settings.
APM
18
rw
APM Mode
This bit is effective when PM (csr18 [19]) = 1.
0B
, Magic Packet wake-up event default disable
1B
, Magic Packet wake-up event default enable
LWS
17
rw
Should be 0
Res
Data Sheet
16:8
ro
Reserved
74
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
D3A
7
rw
D3_APM
D3_cold APM_mode_en for PC99 Certification
It doesn’t matter the status of PEM_EN, the pmez signal can be asserted
by programming this bit.
0B
, de-assert pmez signal
1B
, Assert pmez signal
RWP
6
rw
Reset Wake-up Pattern Data Register Pointer
0B
, Normal
1B
, Reset
PAUSE
5
rw
PAUSE Function Control
To disable or enable the PAUSE function for flow control. The default
value of PAUSE is decided by the result of Auto-Negotiation. Driver can
force to enable or disable it after the Auto-Negotiation is completed.
0B
, PAUSE function is disabled
1B
, PAUSE function is enabled
RTE
4
rw
Receive Threshold Enable
0B
, disable the receive FIFO threshold selection in bit 3~2 of this
register, the receive threshold is set to 64-byte.
1B
, the receive FIFO threshold is enabled
DRT
3:2
rw
Drain Receive Threshold
00B , 32 bytes (8 DW)
01B , 64 bytes (16 DW)
10B , store-and -forward
11B , reserved
SINT
1
rw
Software Interrupt
ATUR
0
rw
Automatically Transmit-underrun Recovery Enable
1B
, enable automatically transmit-underrun recovery
Data Sheet
75
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
PCI Bus Performance Counter
PCIC_CSR19
PCI Bus Performance Counter
Offset
8CH
Reset Value
0000 0000H
&/.&17
5HV
':&17
UR
UR
UR
Field
Bits
Type
Description
CLKCNT
31:16
ro*
Clock Count
The number of PCI clock from read request asserted to access
completed. This PCI clock number is accumulated all the read command
cycles from last CSR19 read to current CSR19 read.
Note: ro*: Read only and cleared by reading
Res
15:8
ro
Reserved
DWCNT
7:0
ro*
Double Word Count
The number of double word accessed by the last bus master. This double
word number is accumulated in all the bus master data transactions from
last CSR19 read to current CSR19 read.
Note: ro*: Read only and cleared by reading
Power Management Command and Status
(The same register value mapping to CR49-PMR1)
PMCSR_CSR20
Power Management Command and Status
Offset
90H
Reset Value
0000 0000H
30 '6&$
(6 /
5HV
UR
UR
UR
'6(/
30
(
5HV
3:56
UR
UR
UR
UR
Field
Bits
Type
Description
Res
31:16
ro
Reserved
PMES
15
ro
PME_Status
This bit is set when the AN983B/BX would normally assert the PME#
signal for wake-up event, this bit is independent of the state of the PMEEn bit. Writing a “1” to this bit will clear it and cause the AN983B/BX to
stop asserting a PME# (if enabled). Writing a “0” has no effect. Since the
AN983B/BX doesn’t supports PME# from D3cold, this bit is defaulted to
“0”.
Data Sheet
76
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Field
Bits
Type
Description
DSCAL
14:13
ro
Data_Scale
Indicates the scaling factor to be used when interpreting the value of the
Data register. This field is required for any function that implements the
Data register. Otherwise, it is optional.The AN983B/BX doesn’t support
Data register and Data_Scale.
DSEL
12:9
ro
Data_Select
This four bit field is used to select which data is to be reported through the
Data register and Data_Scale field. This field is required for any function
that implements the Data register. The AN983B/BX doesn’t support
Data_Select.
PME_En
8
ro
PME_En
“1” enables the AN983B/BX to assert PME#. When “0” disables the
PME# assertion.This bit defaults to “0” if the function does not support
PME# generation from D3cold.
Res
7:2
ro
Reserved
PWRS
1:0
ro
PowerState
This two bit field is used both to determine the current power state of the
AN983B/BX and to set the AN983B/BX into a new power state. The
definition of this field is given below.
00b - D0
01b - D1
10b - D2
11b - D3hot
If software attempts to write an unsupported, optional state to this field,
the write operation must be complete normally on the bus, however the
data is discarded a no state change occurs.
Data Sheet
77
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Current Working Transmit Descriptor Pointer
WTDP_CSR21
Current Working Transmit Descriptor Pointer
Offset
94H
Reset Value
xxxx xxxxH
:7'3
UR
Field
Bits
Type
Description
WTDP
31:0
ro
Working Transmit Descriptor Pointer
The current working transmit descriptor pointer for driver’s doublechecking or other special purpose.
Current Working Receive Descriptor Pointer
WRDP_CSR22
Current Working Receive Descriptor Pointer
Offset
98H
Reset Value
xxxx xxxxH
:5'3
UR
Field
Bits
Type
Description
WRDP
31:0
ro
Working Receive Descriptor Pointer
The current working receive descriptor pointer for driver’s doublechecking or other special purpose.
Data Sheet
78
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Transmit Burst Count/Time-out
TXBR_CSR23
Transmit Burst Count/Time-out
Offset
9CH
Reset Value
0000 0000H
5HV
7%&17
UR
UZ
5HV
772
UZ
Field
Bits
Type
Description
Res
31:21
ro
Reserved
TBCNT
20:16
rw
Transmit Burst Count
After this number of consecutive successful transmit, transmit completed
interrupt will be generated. Continuously do this function if no reset.
TTO
11:0
rw
Transmit Time-Out = (deferred time + back-off time)
When the TDIE (bit28 of ACSR7) is set, the timer is decreased in unit of
2.56 μ s (100M) or 25.6 μ s (10M). If the timer expires before another
packet transmit begin, then the TDIE interrupt will be generated.
Flash ROM (also the boot ROM) Port
FROM_CSR24
Flash ROM (also the boot ROM) Port
Offset
A0H
Reset Value
8000 0000H
%2
1
5HV
5( :(
1 1
$''5
'$7$
UZ
UR
UZ UZ
UZ
UZ
Field
Bits
Type
Description
BON
31
rw
Bra16_on
This bit is only effective when 4 LED mode selected (bit 23 of CSR18 is
set). When 4 LED mode selected, and this bit is set, then pin 105 is
defined as brA16, else it is defined as LED pin – fd/col.
Res
30:28
ro
Reserved
REN
27
rw
Read Enable
Clear if read data is ready in DATA, bit7-0 of FROM.
WEN
26
rw
Write Enable
Cleared if write completed.
ADDR
25:8
rw
Flash ROM Address
DATA
7:0
rw
Read/Write Data of Flash ROM
Data Sheet
79
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Physical Address Register 0
Automatically recall from EEPROM
PAR0_CSR25
Physical Address Register 0
Offset
A4H
Reset Value
xxxx xxxxH
3$%
3$%
3$%
3$%
UZ
UZ
UZ
UZ
Field
Bits
Type
Description
PAB3
31:24
rw
PAB2
23:16
rw
Physical Address Byte n
n = 0 to 3
PAB1
15:8
rw
PAB0
7:0
rw
Physical Address Register 1
Automatically recall from EEPROM
PAR1_CSR26
Physical Address Register 1
Offset
A8H
Reset Value
??H
5HV
5HV
3$%
3$%
UR
UR
UZ
UZ
Field
Bits
Type
Description
Res
31:24
ro
Reserved
Res
23:16
ro
Reserved
PAB5
15:8
rw
Physical Address Byte 5
PAB4
7:0
rw
Physical Address Byte 4
For example, physical address = 00-00-e8-11-22-33
PAR0 = 11 e8 00 00
PAR1 = xx xx 33 22
PAR0 and PAR1 are readable, but can be written only if the receive state is in stopped (CSR5 bit19-17 = 000).
Multicast Address Register 0
Data Sheet
80
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
MAR0_CSR27
Multicast Address Register 0
Offset
ACH
Reset Value
0000 0000H
0$%
0$%
0$%
0$%
UZ
UZ
UZ
UZ
Field
Bits
Type
Description
MAB3
31:24
rw
MAB2
23:16
rw
Multicast Address Byte n
n = 0 to 3
MAB1
15:8
rw
MAB0
7:0
rw
Data Sheet
81
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Multicast Address Register 1
MAR1_CSR28
Multicast Address Register 1
Offset
B0H
Reset Value
0000 0000H
0$%
0$%
0$%
0$%
UZ
UZ
UZ
UZ
Field
Bits
Type
Description
MAB7
31:24
rw
Multicast Address Byte 7 (hash table 63:56)
MAB6
23:16
rw
Multicast Address Byte 6 (hash table 55:48)
MAB5
15:8
rw
Multicast Address Byte 5 (hash table 47:40)
MAB4
7:0
rw
Multicast Address Byte 4 (hash table 39:32)
MAR0 and MAR1 are readable, but can be written only if the receive state is in stopped (CSR5 bit19-17 = 000).
Multicast 64 Algorithm
AN983B/BX uses CRC [5:0] to hit one of the 64 entries in UMAR1 [31:0] and MAR0[31:0] by generated CRC32
from Ethernet DA (destination address).
The most significant bit CRC [5] chooses the upper or lower double word, (MAR1 or MAR0), the lower 5 bit
presents for the corresponding bit inside the double word.
Example 1:
If CRC [5] = 1'b0 --> hit MAR0
CRC [4:0] = 5'b00010 --> hit MAR0 [2]
Example 2:
CRC [5] = 1'b1 --> hit MAR1
CRC [4:0] = 5'b00100 --> hit MAR1 [4]
Data Sheet
82
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
Unicast Address Register 0
UAR0_CSR_29
Unicast Address Register 0
Offset
B4H
Reset Value
0000 0000H
8$%
8$%
8$%
8$%
UZ
UZ
UZ
UZ
Field
Bits
Type
Description
UAB3
31:24
rw
Unicast Address Byte 3 (hash table 31:24)
UAB2
23:16
rw
Unicast Address Byte 2 (hash table 23:16)
UAB1
15:8
rw
Unicast Address Byte 1 (hash table 15:8)
UAB0
7:0
rw
Unicast Address Byte 0 (hash table 7:0)
Unicast Address Register 1
UAR1_CSR_30
Unicast Address Register 1
Offset
B8H
Reset Value
0000 0000H
8$%
8$%
8$%
8$%
UZ
UZ
UZ
UZ
Field
Bits
Type
Description
UAB7
31:24
rw
Unicast Address Byte 7 (hash table 63:56)
UAB6
23:16
rw
Unicast Address Byte 6 (hash table 55:48)
UAB5
15:8
rw
Unicast Address Byte 5 (hash table 47:40)
UAB4
7:0
rw
Unicast Address Byte 4 (hash table 39:32)
Unicast64 Algorithm
The algorithm is the same with multicast64.
Operation Mode Register
OMR
Operation Mode Register
Data Sheet
Offset
FCH
83
Reset Value
0000 0007H
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPCI Control/Status Registers
63
/,
( )' 1. 5HV (/
UR UR UR
UR
UZ
5HV
2S0RG
H
UR
UZ
Field
Bits
Type
Description
SPEED
31
ro
Network Speed Status
0B
, 10M
, 100M
1B
FD
30
ro
Full/Half Duplex Status
0B
, Half duplex
1B
, Full duplex
LINK
29
ro
Network Link Status
0B
, Link off
1B
, Link on
Res
28:27
ro
Reserved
EL
26
rw
EERLOD
Write 1 and this bit will cause AN983B/BX to reload data from EEPROM.
After reload completed, this bit will be cleared automatically.
Res
25:3
ro
Reserved
OpMode
2:0
rw
Operation Mode
These three bits are used to configure AN983B/BX’s operation mode:
111b: Single Chip mode (Normal operation)
At this mode, AN983B/BX is configured as single chip to provide PCI to
Ethernet controller.
100b: MAC-only mode
The AN983B/BX is configured as a MAC only controller, it provides
standard MII interface to link to the external PHY. The MII interface pins
are multiplexed with BootROM interface.
Others: For diagnostic purpose
Data Sheet
84
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
9.3
PHY Registers(Accessed by CSR9 MDI/MMC/MDO/MDC)
Table 15
Registers Address Space
Module
Base Address
End Address
PHY
0000 0000H
0000 0006H
Table 16
Note
Registers Overview
Register Short Name
Register Long Name
Offset Address
Page Number
R0
Register 0(MII Control)
0H
86
R1
Register 1(Status)
1H
88
R2
Register 2
2H
90
R3
Register 3
3H
90
R4
Register 4
4H
91
R5
Register 5
5H
92
R6
Register 6
6H
93
The register is addressed wordwise.
Standard abbreviations:
Table 17
Registers Access Types
Mode
Symbol Description Hardware (HW)
Description Software (SW)
read/write
rw
Register is used as input for the HW
Register is readable and writable by SW
read
r
Register is written by HW (register
Value written by software is ignored by
between input and output -> one cycle hardware; that is, software may write any
delay)
value to this field without affecting hardware
behavior (= Target for development.)
write
w
read/write
hardware
affected
rwh
Register is writable by SW
Register can be modified by HW
Register can be modified by HW, but the
priority SW versus HW has to be specified
rwv
Read only
ro
Register is set by HW (register between SW can only read this register
input and output -> one cycle delay)
Read virtual
rv
Physically, there is no new register, the SW can only read this register
input of the signal is connected directly
to the address multiplexer.
Latch high,
self clearing
lhsc
Latch high signal at high level, clear on SW can read the register
read
Latch low,
self clearing
llsc
Latch high signal at low-level, clear on SW can read the register
read
Latch high,
mask clearing
lhmk
Latch high signal at high level, register SW can read the register, with write mask
cleared with written mask
the register can be cleared (1 clears)
Data Sheet
85
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
Table 17
Registers Access Types (cont’d)
Mode
Symbol Description Hardware (HW)
Description Software (SW)
Latch low,
mask clearing
llmk
Latch high signal at low-level, register
cleared on read
SW can read the register, with write mask
the register can be cleared (1 clears)
Interrupt high,
self clearing
ihsc
Differentiate the input signal (low>high) register cleared on read
SW can read the register
Interrupt low,
self clearing
ilsc
Differentiate the input signal (high>low) register cleared on read
SW can read the register
Interrupt high,
mask clearing
ihmk
Differentiate the input signal (highSW can read the register, with write mask
>low) register cleared with written mask the register can be cleared
Interrupt low,
mask clearing
ilmk
Differentiate the input signal (low>high) register cleared with written
mask
SW can read the register, with write mask
the register can be cleared
Interrupt enable ien
register
Enables the interrupt source for
interrupt generation
SW can read and write this register
latch_on_reset
lor
rw register, value is latched after first
clock cycle after reset
Register is read and writable by SW
Read/write
self clearing
rwsc
Register is used as input for the hw, the Writing to the register generates a strobe
signal for the HW (1 pdi clock cycle)
register will be cleared due to a HW
Register is readable and writable by SW.
mechanism.
9.3.1
PHY Transceiver Registers Descriptions
Register 0
MII Control
R0
Register 0(MII Control)
5(6(
63((
$1(
7 /223 '
UZVF
UZ
UZ
UZ
Offset
0H
3'
,6
5$1
'0
&7
5HV
UZ
UZ
UZVF
UZ
UR
UR
Field
Bits
Type
Description
RESET
15
rwsc
Reset
0B
, normal operation
1B
, PHY Reset
LOOP
14
rw
Loopback
0B
, disable loopback
1B
, enable loopback
Data Sheet
Reset Value
1000H
86
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
Field
Bits
Type
Description
SPEED
13
rw
Speed Selection
0B
, 10 Mbit/s
1B
, 100 Mbit/s
ANE
12
rw
Autonegotiation Enable
0B
, disable autoneg
1B
, enable autoneg
PD
11
rw
Power Down
0B
, normal operation
1B
, Power Down
IS
10
rw
Isolate
0B
, normal operation
1B
, isolate PHY from MII
RAN
9
rwsc
Restart Autonegotiation
1B
, Restart Autoneg
DM
8
rw
Duplex Mode
0B
, half duplex
1B
, full duplex
CT
7
ro
Collision Test
Not implemented
Res
6:0
ro
Reserved
SC: Self Clearing
Reset: Reset this port only. This will cause the following:
1. Restart the autonegotiation process.
2. Reset the registers to their default values. Note that this does not affect registers 20, 22, 30 or 31. These
registers are not reset by this bit to allow test configurations to be written and then not to be affected by
resetting the port.
Note: No reset is performed to analogue sections of the port. There is also no physical reset to any internal clock
synthesizers or the local clock recovery oscillator which will continue to run throughout the reset period.
However since the port is restarted and autoneg re-run the process of locking the frequency of the local
oscillator (slave) to the reference oscillator (master) will be repeated as it is at the start of any link initialization
process.
Loopback: Loop back of transmit data to receive via a path as close to the wire as possible. When set inhibits
actual transmission on the wire.
Speed selection: Forces speed of Phy only when autonegotiation is disabled. The default state of this bit will be
determined by a power-up configuration pin in this case. Otherwise it defaults to 1.
Auto-neg enable Defaults to pin programmed value. When cleared allows forcing of speed and duplex settings.
When set (after being cleared) causes re-start of autoneg process. Pin programming at power-up allows it to come
up disabled and for software to write the desired capability before allowing the first negotiation to commence.
Restart Negotiation: only has effect when autonegotiating. Restarts state machine.
Power down: Has no effect in this device. Test mode power down modes may be implemented in other specific
modules.
Isolate: Puts RMII receive signals into high impedance state and ignores transmit signals.
Duplex mode: When bit12 is cleared (i.e. autoneg disabled), this bit forces full duplex (bit = 1) or half duplex
(bit = 0).
Data Sheet
87
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
Collision test: Always 0 because collision signal is not implemented.
Register 1
Status
R1
Register 1(Status)
Offset
1H
% % %
% %
7
)'
+' )' +' 7)' 7+'
UR
UR
UR
UR
UR
UR
UR
Reset Value
7849H
5HV
UR
0)36 $&
UR
UR
5)
$$
/6
-'
(&
UROK
UR
UROO
UROK
UR
Field
Bits
Type
Description
100BT4
15
ro
100 BASE T4
Not supported
100BFD
14
ro
100 BASE-X Full Duplex
0B
, PHY is not 100BASE-X full duplex capable
1B
, PHY is 100BASE-X full duplex capable
100BHD
13
ro
100BASE-X Half Duplex
0B
, PHY is not 100BASE-X half duplex capable
1B
, PHY is 100BASE-X half duplex capable
10FD
12
ro
10 Mbit/s Full Duplex
0B
, PHY is not 10 Mbit/s/s Full duplex capable
1B
, PHY is 10 Mbit/s/s Full duplex capable
10HD
11
ro
10 Mbit/s Half Duplex
0B
, PHY is not 10 Mbit/s/s Half duplex capable
1B
, PHY is 10 Mbit/s/s Half duplex capable
100BT2FD
10
ro
100BASE-T2 Full Duplex
Not supported
100BT2HD
9
ro
100BASE-T2 Half Duplex
Not supported
Res
8:7
ro
Reserved
MFPS
6
ro
MF Preamble Suppression
0B
, PHY cannot accept management frames with preamble
suppression
1B
, PHY can accept management frames with preamble suppression
AC
5
ro
Autoneg Complete
0B
, autoneg incomplete
1B
, autoneg completed
RF
4
ro, lh
Remote Fault
Note: lh: Latch High
0B
1B
Data Sheet
, no remote fault detected
, remote fault detected
88
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
Field
Bits
Type
Description
AA
3
ro
Autoneg Ability
0B
, PHY cannot auto-negotiate
1B
, PHY can auto-negotiate
LS
2
ro, ll
Link Status
Note: lh: Latch Low
0B
1B
JD
1
ro, lh
, link is down
, link is up
Jabber Detect
Only used in 10Base-T mode. Read as 0 in 100Base-TX mode.
Note: lh: Latch High
1B
EC
0
ro
, jabber condition detected
Extended Capability
0B
, basic register set capabilities only
1B
, extended register set capabilities
Register 2 and 3
Each PHY has an identifier, which is assigned to the device.
The identifier contains a total of 32 bits, which consists of the following: 22 bits of a 24bit organizationally unique
identifier (OUI) for the manufacturer; a 6-bit manufacturer’s model number; a 4-bit manufacturer’s revision number.
For an explanation of how the OUI maps to the register, please refer to IEEE 802-1990 clause 5.1.
Data Sheet
89
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
Register 2
R2
Register 2
Offset
2H
Reset Value
001DH
3+<B,'
UR
Field
Bits
Type
Description
PHY_ID
15:0
ro
PHY_ID[31-16]
OUI (bits 3-18)
Register 3
R3
Register 3
Offset
3H
Reset Value
2411H
3+<B,'
3+<B,'
3+<B,'
UR
UR
UR
Field
Bits
Type
Description
PHY_ID0
15:10
ro
PHY_ID[15-10]
OUI (bits 19-24)
PHY_ID1
9:4
ro
PHY_ID[9-4]
Manufacturer’s Model Number (bits 5-0)
PHY_ID2
3:0
ro
PHY_ID[3-0]
Revision Number (bits 3-0); Register 3, bit 0 is LS bit of PHY Identifier
This uses the OUI of Infineon-ADMtek, device type of 1 and rev 0
Data Sheet
90
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
Register 4
R4
Register 4
Offset
4H
13
5HV
5)
1,
UZ
UR
UZ
UR
3$86
1,
(
UZ
UR
Reset Value
0001H
% % %) %+
)'
+'
'
'
UZ
UZ
UZ
6)
UZ
UR
Field
Bits
Type
Description
NP
15
rw
Next Page
0B
, Device not set to use Next Page
1B
, Device set to use Next Page
Res
14
ro
Reserved
RF
13
rw
Remote Fault
0B
, no fault detected
1B
, Local remote fault sent to link partner
NI1
12:11
ro
Not Implemented
Technology ability bits A7-A6
PAUSE
10
rw
Pause
Technology ability bit A5
NI2
9
ro
Not Implemented
Technology ability bit A4
100BFD
8
rw
100BASE-TX Full Duplex
Technology ability bit A3
0B
, Unit is not capable of Full Duplex
1B
, Unit is capable of Full Duplex
100BHD
7
rw
100BASE-TX Half Duplex
Technology ability bit A2
0B
, Unit is not capable of Half Duplex 100BASE-TX
1B
, Unit is capable of Half Duplex
10BFD
6
rw
10BASE-T Full Duplex
Technology ability bit A1
0B
, Unit is not capable of Full Duplex 10BASE-T
1B
, Unit is capable of Full Duplex 10BASE-T
10BHD
5
rw
10BASE-T Half Duplex
Technology ability bit A0
0B
, Unit is not capable of Half Duplex 10BASE-T
1B
, Unit is capable of Half Duplex 10BASE-T
SF
4:0
ro
Selector Field
Identifies the type of message being sent. Currently only one value is
defined.
Data Sheet
91
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
Register 5
The register is used to view the advertised capabilities of the link partner once autonegotiation is complete. The
contents of this register should not be relied upon unless register 1 bit 5 is set (autoneg complete). After
negotiation this register should contain a copy of the link partner’s register 4. All bits are therefore defined in the
same way as for register 4.
All bits are readable only.
This register is used for Base Page code word only.
Base Page Register Format
R5
Register 5
Offset
5H
Reset Value
0000 0000H
13
$&.
5)
7$
6)
UR
UR
UR
UR
UR
Field
Bits
Type
Description
NP
15
ro
Next Page
0B
, Base Page is requested
1B
, Link Partner is requesting Next Page function
ACK
14
ro
Acknowledge
Link Partner acknowledgement bit
RF
13
ro
Remote Fault
Link Partner is indicating a fault
TA
12:5
ro
Technology Ability
Link Partner technology ability field.
SF
4:0
ro
Selector Field
Link Partner selector field
Data Sheet
92
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9
Register 6
R6
Register 6
Offset
6H
5HV
UR
Field
Bits
Type
Description
Res
15:5
ro
Reserved
PDF
4
ro, lh
Parallel Detection Fault
Reset Value
0004H
3') /313
13
35
/3$$
UROK
UR
UROK
UR
UR
Note: lh: Latch Hight
0B
1B
, No fault detected
, Local Device Parallel Detection Fault
LPNP
3
ro
Link Partner Next Page Able
0B
, Link Partner is not Next Page Able
1B
, Link Partner is Next Page Able
NP
2
ro
Next Page Able
0B
, Local device is not Next Page Able
1B
, Local device is Next Page Able
PR
1
ro, lh
Page Received
Note: lh: Latch Hight
0B
1B
LPAA
0
ro
, A New Page has not been received
, A New Page has been received
Link Partner Autonegotiation Able
0B
, Link Partner is not Autonegotiation able
1B
, Link Partner is Autonegotiation able
LH: Latch High
Data Sheet
93
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionDescriptors and Buffer Management
9.4
Descriptors and Buffer Management
Table 18
Registers Overview
Register Short Name
Register Long Name
Offset Address
Page Number
RDES0
RDES0
00H
95
RDES1
RDES1
04H
98
RDES2
RDES2
08H
98
RDES3
RDES3
0ChH
98
TDES0
TDES0
00H
99
TDES1
TDES1
04H
100
TDES2
TDES2
08H
101
TDES3
TDES3
0ChH
101
The register is addressed wordwise.
Standard abbreviations:
Table 19
Registers Access Types
Mode
Symbol Description Hardware (HW)
Description Software (SW)
read/write
rw
Register is used as input for the HW
Register is readable and writable by SW
read
r
Value written by software is ignored by
Register is written by HW (register
between input and output -> one cycle hardware; that is, software may write any
value to this field without affecting hardware
delay)
behavior (= Target for development.)
write
w
read/write
hardware
affected
rwh
Register is writable by SW
Register can be modified by HW
Register can be modified by HW, but the
priority SW versus HW has to be specified
rwv
Read only
ro
Register is set by HW (register between SW can only read this register
input and output -> one cycle delay)
Read virtual
rv
Physically, there is no new register, the SW can only read this register
input of the signal is connected directly
to the address multiplexer.
Latch high,
self clearing
lhsc
Latch high signal at high level, clear on SW can read the register
read
Latch low,
self clearing
llsc
Latch high signal at low-level, clear on SW can read the register
read
Latch high,
mask clearing
lhmk
Latch high signal at high level, register SW can read the register, with write mask
cleared with written mask
the register can be cleared (1 clears)
Latch low,
mask clearing
llmk
Latch high signal at low-level, register
cleared on read
Data Sheet
94
SW can read the register, with write mask
the register can be cleared (1 clears)
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionDescriptors and Buffer Management
Table 19
Registers Access Types (cont’d)
Mode
Symbol Description Hardware (HW)
Description Software (SW)
Interrupt high,
self clearing
ihsc
Differentiate the input signal (low>high) register cleared on read
SW can read the register
Interrupt low,
self clearing
ilsc
Differentiate the input signal (high>low) register cleared on read
SW can read the register
Interrupt high,
mask clearing
ihmk
Differentiate the input signal (highSW can read the register, with write mask
>low) register cleared with written mask the register can be cleared
Interrupt low,
mask clearing
ilmk
Differentiate the input signal (low>high) register cleared with written
mask
SW can read the register, with write mask
the register can be cleared
Interrupt enable ien
register
Enables the interrupt source for
interrupt generation
SW can read and write this register
latch_on_reset
lor
rw register, value is latched after first
clock cycle after reset
Register is readable and writable by SW
Read/write
self clearing
rwsc
Writing to the register generates a strobe
Register is used as input for the HW,
the register will be cleared due to a HW signal for the HW (1 pdi clock cycle)
Register is readable and writable by SW.
mechanism.
9.4.1
Receive Descriptor Descriptions
The AN983B/BX provides receive and transmit descriptors for packet buffering and management.
Descriptors and receive buffers addresses must be longword alignment
Table 20
Receive Descriptor Table
31 -----------------------------------------------------------------------------------------------------------------------------0
RDES0
RDES1
Own
Status
---
Control
RDES2
Buffer1 address (DW boundary)
RDES3
Buffer2 address (DW boundary)
Buffer2 byte-count
Buffer1 byte-count
RDES0
RDES0
RDES0
Offset
00H
Reset Value
xxxx xxxxH
2:
1
)/
5H
(6 '( '7 5) 0) )6 /6 7/ &6 )7 5: V '% &( 2)
UZ
UZ
UZ UZ
Data Sheet
95
UZ
UZ UZ UZ UZ UZ UZ UZ UZ UR UZ UZ UZ
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionDescriptors and Buffer Management
Field
Bits
Type
Description
OWN
31
rw
Own Bit
0B
, Host does not move the receiving data out yet
1B
, indicates the new receiving data can be put into this descriptor
FL
30:16
rw
Frame Length, Including CRC
This field is valid only in last descriptor
ES
15
rw
Error Summary, OR of the Following Bit
This field is valid only in last descriptor.
0: overflow
1: CRC error
6: late collision
7: frame too long
11: small packet
14: descriptor error
DE
14
rw
Descriptor Error
This bit is valid only in last descriptor
1B
, the current receiving packet is not able to put into the current valid
descriptor. This packet is truncated
DT
13:12
rw
Data Type
These bits are valid only in last descriptor
00B , normal
01B , MAC loop-back
10B , Transceiver loop-back
11B , remote loop-back
RF
11
rw
Runt Frame (packet length < 64 bytes)
This bit is valid only in last descriptor.
MF
10
rw
Multicast Frame
This bit is valid only in last descriptor.
FS
9
rw
First Descriptor
LS
8
rw
Last Descriptor
TL
7
rw
Too Long Packet (packet length > 1518 bytes)
This bit is valid only in last descriptor.
CS
6
rw
Late Collision
Set when collision is active after 64 bytes. This bit is valid only in last
descriptor.
FT
5
rw
Frame Type
This bit is valid only in last descriptor.
0B
, 802.3 type
1B
, Ethernet type
RW
4
rw
Receive Watchdog (refer to CSR15, bit 4)
This bit is valid only in last descriptor.
Res
3
ro
Reserved
DB
2
rw
Dribble Bit
This bit is valid only in last descriptor.
ECPacket length is not integer multiple of 8-bit.
CE
1
rw
CRC Error
This bit is valid only in last descriptor.
Data Sheet
96
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionDescriptors and Buffer Management
Field
Bits
Type
Description
OF
0
rw
Overflow
This bit is valid only in last descriptor.
Data Sheet
97
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionDescriptors and Buffer Management
RDES1
RDES1
RDES1
Offset
04H
Reset Value
xxxx xxxxH
5( 5&
5 + 5HV
5HV
UR
UZ UZ
5%6
5%6
UZ
UZ
UR
Field
Bits
Type
Description
Res
31:26
ro
Reserved
RER
25
rw
Receive End of Ring
Indicates this descriptor is last, return to base address of descriptor.
RCH
24
rw
Second Address Chain
Use for chain structure. Indicates the buffer2 address is the next
descriptor address.Ring mode takes precedence over chained mode
Res
23:22
ro
Reserved
RBS2
21:11
rw
Buffer 2 Size
DW boundary
RBS1
10:0
rw
Buffer 1 Size
DW boundary
RDES2
RDES2
RDES2
Offset
08H
Reset Value
xxxx xxxxH
5%$
UZ
Field
Bits
Type
Description
RBA1
31:0
rw
Receive Buffer Address 1
This buffer address should be double word aligned.
RDES3
Data Sheet
98
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionDescriptors and Buffer Management
RDES3
RDES3
Offset
0ChH
Reset Value
xxxx xxxxH
5%$
UZ
Field
Bits
Type
Description
RBA2
31:0
rw
Receive Buffer Address 2
This buffer address should be double word aligned.
9.4.2
Transmit Descriptor Descriptions
The AN983B/BX provides receive and transmit descriptors for packet buffering and management.
Descriptor addresses must be longword alignment
Table 21
Transmit Descriptor Table
31 - 0
TDES0
Own
Status
TDES1
Control
TDES2
Buffer1 address
TDES3
Buffer2 address
Buffer2 byte-count
Buffer1 byte-count
TDES0
TDES0
TDES0
Offset
00H
Reset Value
xxxx xxxxH
2:
1
5HV
85
5HV
UZ
UR
UZ
UR
(6 72 5HV /2 1& /& (& +)
&&
5H
V 8) '(
UZ UZ
UZ
UR UZ UZ
UR
UZ UZ UZ UZ UZ
Field
Bits
Type
Description
OWN
31
rw
Own Bit
0B
, No transmit data in this descriptor for transmission
1B
, Indicate this descriptor is ready to transmit
Res
30:24
ro
Reserved
UR
23:22
rw
Under-run Count
Res
21:16
ro
Reserved
Data Sheet
99
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionDescriptors and Buffer Management
Field
Bits
Type
Description
ES
15
rw
Error Summary, OR of the Following Bit
1: under-run error
8: excessive collision
9: late collision
10: no carrier
11: loss carrier
14: jabber time-out
TO
14
rw
Transmit Jabber Time-out
Res
13:12
ro
Reserved
LO
11
rw
Loss Carrier
NC
10
rw
No Carrier
LC
9
rw
Late Collision
EC
8
rw
Excessive Collision
HF
7
rw
Heartbeat Fail
CC
6:3
rw
Collision Count
Res
2
ro
Reserved
UF
1
rw
Under-run Error
DE
0
rw
Deferred
TDES1
TDES1
TDES1
Offset
04H
Reset Value
xxxx xxxxH
7( 7& '3 5H
,& /6 )6 5HV $& 5 + ' V
UZ UZ UZ
UR
7%6
7%6
UZ
UZ
UZ UZ UZ UZ UR
Field
Bits
Type
Description
IC
31
rw
Interrupt Completed
LS
30
rw
Last Descriptor
FS
29
rw
First Descriptor
Res
28:27
ro
Reserved
AC
26
rw
Disable add CRC Function
TER
25
rw
End of Ring
TCH
24
rw
2nd Address Chain
Indicates the buffer2 address is the next descriptor address
DPD
23
rw
Disable Padding Function
Res
22
ro
Reserved
TBS2
21:11
rw
Buffer 2 Size
TBS1
10:0
rw
Buffer 1 Size
Data Sheet
100
Rev. 1.81, 2005-12-15
AN983B/BX
Registers and Descriptors DescriptionDescriptors and Buffer Management
TDES2
TDES2
TDES2
Offset
08H
Reset Value
xxxx xxxxH
%$
UZ
Field
Bits
Type
Description
BA1
31:0
rw
Buffer Address 1
Without any limitation on the transmission buffer address.
TDES3
TDES3
TDES3
Offset
0ChH
Reset Value
xxxx xxxxH
%$
UZ
Field
Bits
Type
Description
BA2
31:0
rw
Buffer Address 2
Without any limitation on the transmission buffer address.
Data Sheet
101
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
10
Electrical Specifications and Timings
10.1
Absolute Maximum Ratings
Table 22
Min-Max Ratings
Parameter
Symbol
Values
Unit
Note / Test Condition
V
–
Min.
Typ.
Max.
-0.5
–
3.6
-0.5
–
Output Voltage
VCC
VCC
VCC
-0.5
–
VCC + 0.5 V
VCC + 0.5 V
Storage Temperature
°C
- 65
150
°C
Ambient Temperature
°C
0
70
°C
2000
V
Supply Voltage
Input Voltage
ESD Protection
Attention: Stresses above the max. values listed here may cause permanent damage to the device.
Exposure to absolute maximum rating conditions for extended periods may affect device
reliability. Maximum ratings are absolute ratings; exceeding only one of these values may
cause irreversible damage to the integrated circuit.
10.2
DC Specifications
Table 23
General DC Specifications
Parameter
Symbol
Min.
Typ.
Max.
Supply Voltage
VCC
3.0
–
Power Supply
ICC
–
150
Table 24
Unit
Note / Test Condition
3.6
V
–
–
mA
–
Unit
Note / Test Condition
PCI Interface DC Specifications
Parameter
Symbol
Input LOW Voltage
Vilp
Vihp
Iilp
Volp
Vohp
Cinp
Cclkp
Input HIGH Voltage
Input Leakage Current
Output LOW Voltage
Output HIGH Voltage
Input Pin Capacitance
CLK Pin Capacitance
Data Sheet
Values
Values
Min.
Typ.
Max.
-0.5
–
0.325 VCC V
–
0.475 VCC –
VCC + 0.5 V
–
-10
–
10
µA
0 < Vin < VCC
–
–
0.1 VCC
V
0.9 VCC
–
–
V
Iout = 700 µA
Iout = -150 µA
5
–
17
pF
–
10
–
22
pF
–
102
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
Table 25
Flash/EEPROM Interface DC Specifications
Parameter
Symbol
Input LOW Voltage
Input HIGH Voltage
Input Leakage Current
Output LOW Voltage
Output HIGH Voltage
Input Pin Capacitance
Vilf
Vihf
Iif
Volf
Vohf
Cinf
Values
Note / Test Condition
Min.
Typ.
Max.
0
–
0.3 VCC
V
–
0.7 VCC
–
VCC + 1
V
–
-10
–
10
µA
–
–
–
0.2
V
–
VCC - 0.2
–
–
V
–
5
–
8
pF
–
Unit
Note / Test Condition
10.3
AC Specifications
Table 26
PCI Signaling AC Specifications for 3.3 V
Parameter
Unit
Symbol
Values
Min.
Typ.
Max.
–
4
–
mA
–
Switching Current Low
Ioh (AC)
Iol (AC)
–
6
–
mA
–
Slew Rate
–
0.25
–
1
V/ns
–
Unloaded Output Rise Time
Tr
1
–
4
V/ns
0.2 VCC ~ 0.6 VCC
Unloaded Output Fall Time
Tf
1
–
4
V/ns
0.6 VCC ~ 0.2 VCC
Unit
Note / Test Condition
Min.
Typ.
Max.
Switching Current High
10.4
Timing Specifications
Table 27
PCI Clock Specifications
Parameter
Symbol
Values
Clock Cycle Time
Tcyc
30
–
–
ns
–
Clock High Time
Thigh
12
–
–
ns
–
Clock Low Time
Tlow
12
–
–
ns
–
Clock Slew Rate
–
1
–
4
V/ns
–
Data Sheet
103
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
0.6vcc
Thigh
0.4Vcc
Tlow
0.2Vcc
Tcyc
Figure 16
PCI Clock Waveform
Table 28
PCI Timings
Parameter
Symbol
Values
Min.
Typ.
Unit
Note / Test Condition
Max.
Access time – bused signals
Tval
2
–
11
ns
–
Access time – point to point
Tval (ptp)
2
–
12
ns
–
Float to Active Delay
Ton
2
–
–
ns
–
Active to Float Delay
Toff
–
–
28
ns
–
Input Set up Time to Clock –
bused signals
Tsu
7
–
–
ns
–
Input Set up Time to Clock –
point to point
Tsu (ptp)
10, 12
–
–
ns
–
Input Hold Time from Clock
Th
0
–
–
ns
–
Reset Active Time after Power Trst
Stable
1
–
–
ms
–
Reset Active Time after CLK
Stable
Trst-clk
100
–
–
µs
–
Reset Active to Output Float
delay
Trst-off
–
–
40
ns
–
Data Sheet
104
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
CLK
1.5Vcc
Vth=2.4Vcc
Vtl=0.4Vcc
Tval (max=11ns)
OUTPUT Delay
Tri-state OUTPUT
Ton
Toff
Tsu
INPUT
1.5V
Figure 17
PCI Timings
Table 29
Flash Interface Timings
Parameter
Th
1.5V
Symbol
Values
Min.
Typ.
Max.
Unit
Note / Test Condition
Read cycle time
Trc
90
–
–
ns
–
Chip enable access time
Tce
–
–
90
ns
–
Address access time
Taa
–
–
90
ns
–
Output enable access time
Toe
–
–
45
ns
–
CE low to active output
Tclz
0
–
–
ns
–
OE low to active output
Tolz
0
–
–
ns
–
CE high to active output
Tchz
–
–
45
ns
–
OE high to active output
Tohz
–
–
45
ns
–
Output hold from address
change
Toh
0
–
–
ns
–
Write cycle time
Twc
–
–
10
ms
–
Address setup time
Tas
0
–
–
ns
–
Address hold time
Tah
50
–
–
ns
–
WE and CE setup time
Tcs
0
–
–
ns
–
WE and CE hold time
Tch
0
–
–
ns
–
OE high setup time
Toes
10
–
–
ns
–
Data Sheet
105
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
Table 29
Flash Interface Timings (cont’d)
Parameter
Symbol
Values
Min.
Typ.
Max.
Unit
Note / Test Condition
OE high hold time
Toeh
10
–
–
ns
–
CE pulse width
Tcp
70
–
–
ns
–
WE pulse width
Twp
70
–
–
ns
–
WE high width
Twph
150
–
–
ns
–
Data setup time
Tds
50
–
–
ns
–
Data hold time
Tdh
10
–
–
ns
–
Byte load cycle time
Tblc
0.22
–
200
µs
–
Byte load cycle time out
Tblco
300
–
–
µs
–
ADDRESS
Tas
Tfasc
Tah
Tcs
CS#
Twp
Twph
WE#
Tds
Tdh
DATA
Figure 18
Data Sheet
Flash Write Timings
106
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
ADDRESS
Trc
CS#
Tce
OE#
Toe
Toh
DATA
Figure 19
Flash Read Timings
Table 30
EEPROM Interface Timings (AC/AD)
Parameter
Symbol
Values
Unit
Note / Test Condition
0.4M/
0.1M
Hz
2.7 V < VCC < 5.5 V
–
–
ns
2.7 V < VCC < 5.5 V
1120/
4480
–
–
ns
2.7 V < VCC < 5.5 V
Tedts
160/640
–
–
ns
2.7 V < VCC < 5.5 V
Hold Time of DI after SK
Tedth
2320/
9280
–
–
ns
2.7 V < VCC < 5.5 V
CS Low Time
Tecsl
7400/
29600
–
–
ns
2.7 V < VCC < 5.5 V
Min.
Typ.
Max.
–
–
Delay from CS High to SK High Tecss
160/640
Delay from SK Low to CS Low Tecsh
Setup Time of DI to SK
Serial Clock Frequency
Data Sheet
Tscf
107
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
CS
Tecss
Tecsh
Tecsl
CLK
Tedts
Tedth
DI
Figure 20
Data Sheet
Serial EEPROM Timing
108
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
MII Interface Timing
Vih(min)
Vil(max)
TX_CLK
Vih(min)
Vil(max)
TXD<3:0>,TX_EN, TX_ER
0 ns Min
25 ns MAX
Figure 21
Transmit Signal Timing Relationships at the MII
Vih(min)
Vil(max)
RX_CLK
Vih(min)
Vil(max)
RXD<3:0>,RX_DV,
RX_ER
10 ns MIN
10 ns MIN
Figure 22
Data Sheet
Receive Signal Timing Relations at the MII
109
Rev. 1.81, 2005-12-15
AN983B/BX
Electrical Specifications and Timings
Vih(min)
MDC
Vil(max)
Vih(min)
MDIO
Vil(max)
10 ns MIN
10 ns MIN
Figure 23
MDIO Sourced by STA
Vih(min)
Vil(max)
MDC
Vih(min)
Vil(max)
MDIO
0 ns Min
300 ns MAX
Figure 24
Data Sheet
MDIO Sourced by PHY
110
Rev. 1.81, 2005-12-15
AN983B/BX
Package Outlines
11
Package Outlines
D1
E1
E
b
D
A
c
e1
L1
A1
T
Y
Figure 25
Package outline for the AN983B / AN983BL
Table 31
Dimensions for 128 -pin PQFP Package (AN983B/X)
Symbol
Description
Minimum
Maximum
A
Overall Height
-
3.4mm
A1
Stand Off
0.25mm
-
b
Lead Width
0.17mm
0.27mm
c
Lead Thickness
0.13mm
0.23mm
D
Terminal Dimension 1
23.0mm
23.4mm
D1
Package Body 1
19.9mm
20.1mm
E
Terminal Dimension 2
17.0mm
17.4mm
E1
Package Body 2
13.9mm
14.1mm
e1
Lead Pitch
0.50mm
-
L1
Foot Length
0.65mm
0.95mm
T
Lead Angle
0 degree
7 degree
Y
Coplanarity
-
0.076mm
Data Sheet
111
Rev. 1.81, 2005-12-15
AN983B/BX
Package Outlines
Table 32
Dimensions for 128 -pin LQFP Package (AN983BLX)
Symbol
Description
Minimum
Maximum
A
Overall Height
-
1.6mm
A1
Stand Off
0.05mm
0.15mm
b
Lead Width
0.17mm
0.27mm
c
Lead Thickness
0.13mm
0.23mm
D
Terminal Dimension 1
21.9mm
22.1mm
D1
Package Body 1
19.9mm
20.1mm
E
Terminal Dimension 2
15.9mm
16.1mm
E1
Package Body 2
13.9mm
14.1mm
e1
Lead Pitch
0.50mm
-
L1
Foot Length
0.45mm
0.75mm
T
Lead Angle
0
7
Y
Coplanarity
-
0.076mm
Data Sheet
112
Rev. 1.81, 2005-12-15
AN983B/BX
Layout Guide (Rev. 1.0B)
12
Layout Guide (Rev. 1.0B)
Table 33
Layout Guide Revision History
Revision Date
Revision
Description
October, 2000
1.0b
Add Item 2-d to reduce receive CRC error.
12.1
•
•
•
•
•
•
Keep the distance as short as possible between Centaur-P and transformer, as well as transformer and RJ45.
Make crystal device cross to Centaur-P pin x1 x2, and away from the following item:
– Tx+/- Rx+/- differential pairs
– PCB edge
– Transformer
– Any other high frequency items and associated traces
Tx pull high resister needs to close to chip and Rx receiving termination resister and cap needs to close to
transformer.
De-couple cap should be placed as close to chip as possible. The traces should be short.
Use ample dc-coupling and bulk capacitors to minimize noise.
Use X7R ceramic capacitor for better capacitive characteristics overtemperature.
12.2
•
•
•
•
Placement
Trace Routing
Arrangement Tx and Rx trace
– Tx+/- and Rx+/- trace avoid right angle signal trace, suggest round angle >90°
– Trace width must be wide that should be 2X layout program minimum request or wide than 8 miles.
– Signal trace length between Tx+/- differential pairs should be cross to equal length the total should no long
to 2 cm.same require apply to Rx+/-.
– Make Tx and Rx trace route at the same signal plane and had better not using bias.
– Every differential pairs as cross as possible, but no less then 8 miles and the space should be almost equal.
– Keep the distance between the Tx and Rx differential pairs large, even separate ground planes underneath
Tx and Rx signal pairs.
– Away from clock and power trace.
– If possible, with GND plane around.
– If Tx rout trace must cross, you can swap the trace between chip and transformer, and transformer to RJ45,
too.
– The high frequency signal trace width 10~12mil.
– PCI clk signal trace length must equal 2.5inch and other PCI bus signal trace length should less then 1.5 inch
Digital signal should be away from analog signal and power trace. If it can’t be avoided, better be cross over
by 90 degree with analog/VCC routing at other plane.
VCC trace should short and prefer route in the format of the plane a special for GND.
Connect Pin 8 and pin 14 together first then use signal via to Gnd.
Data Sheet
113
Rev. 1.81, 2005-12-15
AN983B/BX
Layout Guide (Rev. 1.0B)
Bad
Good
Figure 26
Ground Via Trace Arrangement
12.3
VCC and GND
•
VCC power
– Avoid unnecessary VCC trace to IC’s and devices keep these traces as short and wide.
– Power trace width > 40 mils (if power trace route to the other side, it must use several via to connect each
other).
– Power source use bulk capacitors (22~47 µf) to reduce noise.
– Provide sample power and ground planes
Power
Switch
Power
Trace
Power
PLANE
Power
Switch
AN983B
AN983B
VCC FROM PCI
VCC FROM PCI
Not suggested
Figure 27
•
Good
Power Trace Arrangement
GND plane
– It is a good idea to fill in unused areas of the signal planes with solid copper.
– The signal ground region should be one continuous, unbroken plane extending from the transformer through
the rest of the board.
– On right angle is recommend when partition the VCC and GND plane.
– For EMI consideration, please add 0.1 µF caps between system GND and chassis GND.
– Void the power and ground plane directly under the transformer.
– The isolation voltage of the transformer should be rated to be greater than 2 kV.
– The sample board VCC and GND plane at below side.
Data Sheet
114
Rev. 1.81, 2005-12-15
AN983B/BX
Layout Guide (Rev. 1.0B)
RJ45
Chassis
Ground
Figure 28
Data Sheet
VCC PLANE
UNDER
CHIP
Transformer
System
Ground
Ground Plane Arrangement
115
Rev. 1.81, 2005-12-15
www.infineon.com
Published by Infineon Technologies AG
Similar pages