AN983B INFINEON | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 116
Technical content
Never stop thinking. AN983B/BX PCI/Mini PCI-to-Ethernet LAN; PQFP - 128Pin Data Sheet, Rev. 1.81, Dec. 2005 Communications
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.
Template: com_a4_tmplt.fm / 2.2.1 / 2004-08-13 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 Infineo n Technologies AG. 10BaseS™, EasyPort™, VDSLite™ are trademarks of Infi neon Technologies AG. Microsoft ® is a registered trademark of Microsoft Corporation, Linux ® of Linus Torvalds, Visio ® of Visio Corporation, and FrameMaker ® of Adobe Systems Incorporated. AN983B/BX, PCI/Mini PCI-to-Ethernet LAN; PQFP - 128Pin Revision History: 2005-12-15, Rev. 1.81 Previous Version: Page/Date Subjects (major ch anges since last revision) 2000-10 Rev.0.1: Draft data sheet for review 2001-02 Rev.1.0: First release 2001-09 Rev.1.2: Add 25MHz crystal accuracy, Revise PHY registers 2001-09 Rev.1.3: Revise product lo go of Pin assignment diagram Page17,14/ 2001-09 Rev.1.4: 1.MrxD0~D3P.23 CIOSA: 1 means enable; 0 means disable 2.P.14 Add LED info to pin diagram Page25,40/ 2002-07 Rev.1.5: 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
Data Sheet 4 Rev. 1.81, 2005-12-15 AN983B/BX
Data Sheet 5 Rev. 1.81, 2005-12-15 AN983B/BX Table of Contents
Data Sheet 7 Rev. 1.81, 2005-12-15 AN983B/BX List of Tables
Data Sheet 8 Rev. 1.81, 2005-12-15
1 General Description
The AN983B/BX is a high performance PC I Fast Ethernet controller with a in tegrated 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 an d 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 wake- up event.
2 System Block Diagram
Figure 1 System Diagram of the AN983B/BX
3 Features
- IEEE802.3u 100BASE-TX and IEEE802.3 10BASE-T compliant AN983B Transformer RJ-45 Boot ROMEEPROM LEDs25MHz Crystal PCI Interface
Data Sheet 9 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 ma ximum 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/r eceive early interrupt to reduce host CPU utilization
- Supports memory-read, memory-read-line, memory-read-multiple, memory-write, memory-write-and- invalidate 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 fo r read/write 93C46/66 EEPROM
- Automatically load device ID, vendor ID, subsys tem 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 laye r 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, rece ives 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 tr ansformer 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 Activi ty (will be blinking with 10 Hz when receiving or transmitting but not collision) – FD (keeps on when in Full duplex mode) or Collis ion (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 Collis ion (will be blinking with 20 Hz when colliding)
Data Sheet 10 Rev. 1.81, 2005-12-15 Miscellaneous
- Provides 128-pin QFP/LQFP packa ges for PCI/mini-PCI interfaces
- 3.3 V power supply with 5 V/3.3 V I/O tolerance
4 Block Diagram
Figure 2 Block Diagra m of the AN983B/BX CR/CSR/XR Registers PCI I/F Control Boot ROM I/F EEPROM I/F DMA Control Transit FIFO Receive FIFO FIFO Control Power Management Control LEDs Display Transmit MAC Receive MAC Loop-back Control Clock Generator 100BASE-TX 10BASE-T Physical Medium I/F
Data Sheet 11 Rev. 1.81, 2005-12-15 AN983B/BX Pin Assignment Diagram
5 Pin Assignment Diagram
Figure 3 Pin Assignment (top view) 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/C o LED-100Lnk LED-10Lnk 128 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 bra 13 1 102 LED-Act bra 14 2 101 bra 3/Mdio bra 15 3 100 bra 2/Mcrs VAAR 4 99 bra 1/Mcol TST3 5 98 bra 0/Mrxerr RXIN 6 97 PMEP RXIP 7 96 Vcc_detect GNDR 8 95 Vaux TST0 9 94 AD0 TST1 10 93 AD1 TST2 11 92 clk-run NC 12 91 Vss-pci NC 13 90 AD2 GNDREEF 14 89 AD3 RIBB 15 88 AD4 VAAREF 16 87 Vdd-pci XTLN 17 86 AD5 XTLP 18 85 AD6 GNDT 19 84 AD7 TXOP 20 83 CBEB0 TXON 21 82 Vss-pci VAAT 22 81 AD8 Vdd-IR 23 80 Vss-IR INTA# 24 79 AD9 RST# 25 78 AD10 Vss-IR 26 77 Vdd-pci pci_clk 27 76 AD11 Vdd-pci 28 75 AD12 gnt# 29 74 Vdd-IR req# 30 73 AD13 pme# 31 72 AD14 Vss-pci 32 71 Vss-pci AD31 33 70 AD15 AD30 34 69 CBEB1 AD29 35 68 PAR AD28 36 67 Vdd-pci Vdd-pci 37 66 SERR# AD27 38 65 PERR# 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
Data Sheet 12 Rev. 1.81, 2005-12-15
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 corr esponding pin has 3 operational states: Low, high and high- impedance. OD Open Drain. The corresponding pin has 2 oper ational 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 pi n 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 13 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 PCI Interface
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 LAN- WAKE signal is HP-style signal, otherwise it is IBM-style signal.
Data Sheet 14 Rev. 1.81, 2005-12-15 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
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 Table 3 Pin Definitions and Functions (cont’d) Pin or Ball No. Name Pin Type Buffer Type Function
Data Sheet 15 Rev. 1.81, 2005-12-15 AN983B/BX Pin Description
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 clk- run, 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
105 BrA16
116 BrD0 IO BootROM Data Bus Bit (0~7)
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.
117 BrD1
118 BrD2
119 BrD3
120 BrD4
121 BrD5/EDO IO/O
123 BrD6/EDI
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 Mdc O MII Management Data Clock
Table 3 Pin Definitions and Functions (cont’d) Pin or Ball No. Name Pin Type Buffer Type Function
Data Sheet 16 Rev. 1.81, 2005-12-15
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
18 XTLP I Crystal Inputs
To be connected to a 25 MHz crystal with 50 ppm accuracy.17 XTLN 6R X I NI Differentials Receive Inputs The differentials receive inputs of 100BASE-TX or 10BASE-T, these pins directly input from Magnetic. 7R X I P
20 TXOP O Differential Transmit Outputs
The differential Transmit outputs of 100BASE-TX or 10BASE-T, these pins directly output to Magnetic.
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. 9T S T 0 I Test Pin
10 TST1
11 TST2
12, 13 NC O LED Display and Miscellaneous Table 3 Pin Definitions and Functions (cont’d) Pin or Ball No. Name Pin Type Buffer Type Function
Data Sheet 17 Rev. 1.81, 2005-12-15 AN983B/BX Pin Description
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.
103 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.
104 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
This pin will be driven on continually when a full duplex configuration is detected. This pin will be driven on with in the half duplex configuration. (3 LED Mode): none
95 Vaux I
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. Table 3 Pin Definitions and Functions (cont’d) Pin or Ball No. Name Pin Type Buffer Type Function
Data Sheet 18 Rev. 1.81, 2005-12-15
97 PMEP O
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 Table 3 Pin Definitions and Functions (cont’d) Pin or Ball No. Name Pin Type Buffer Type Function
Data Sheet 19 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. 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. Serach NIC End Get base IO address Get IRQ value Reset MAC(CSR0) Reset PHY(XR0) Need setting media type? Yes No (Force Media) Program the media type to PHY R0 Read EEPROM from CSR9 Set Physical address (CSR25, 26) Need setting Multicast? Yes No Set Multicast address table (CSR27, 28) Prepare Transmit descriptor and buffer Install NIC ISR function Open NIC interrupt Enable Tx&Rx function
Data Sheet 21 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 Figure 7 Transmit Pointers for Descriptor Management
- Receive Descriptor Pointers Buffer2 pointer Buffer1 pointer Length 1Length 2 Descriptor Packet 1 Packet 1 Packet 2 Data Data Data Buffer Length 1 Length 2 next packet to be transmitted own bit=2, packet1 and packet 2 are ready to transmit empty descriptor pointer end of ring
Data Sheet 22 Rev. 1.81, 2005-12-15 Figure 8 Receive Pointers for Descriptor Management Descriptor Data Buffer own bit=1, next descriptor ready for incoming packet filled descriptor pointer end of ring Packet 2 Packet 1 Packet 2
Data Sheet 23 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. 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 Initial End Program the descriptor, and place data into the host memory Change own bit to 1 Write tx demand poll AN983B read descriptor Yes No no deferring and greater than tx threshold DO TRANSMIT read the rest data collision ? write descriptor generate interrupt own=0available descriptor(own=1) read data and put into tx fifo back -off
Data Sheet 24 Rev. 1.81, 2005-12-15 Figure 10 Transmit Data Flow of Pre-fetch Data
7.3.3 Transmit Early interrupt Scheme
Figure 11 Transmit Normal Interrupt and Early Interrupt Comparison
7.4 Receive Scheme and R eceive Early Interrupt Scheme
The following figure shows the difference of timing without early interrupt and with early interrupt. place the 1st packet data into host memory issue transmit demand FIFO-to-host memory operation (1st packet) time Transmit enable place the 2nd packet data into host memory check the next packet check point FIFO-to-host memory operation (2nd packet) transmit threshold place the 3rd packet data into host memory 1st packet is transmitted, check the 3rd packet FIFO-to-host memory operation (3rd packet) IFG check point 1st packet 2nd packet handled by driver handled by AN983B handled by driver 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 TX- FIFO Operation Completed Driver return buffer to upper layer The saved time when transmit early interrupt is implemented time
Data Sheet 25 Rev. 1.81, 2005-12-15 AN983B/BX Functional Descriptions Figure 12 Receive Data Flow (without earl y interrupt and with early interrupt) Figure 13 Detailed Receive Early Interrupt Flow
7.5 Network Operation
handled by driver handled by AN983B incoming packet receive FIFO operation FIFO-to-host memory operation interrupt driver read header higher layer process driver read the rest data time receive early interrupt driver read header(early) higher layer process(early) driver read the rest data finish time finish time FIFO-to-host memory operation tim e receive early interrupt driver read header(early) higher layer process(early) driver read the rest data finish tim e the 1st descriptor is full the 2nd descriptor The size of 1st descriptor is programed as the header size in advance end of packet issue the second interrupt
Data Sheet 26 Rev. 1.81, 2005-12-15
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. 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 th e 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-T X 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 carrie r 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 collisio n (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) 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 46 1) ~ 1500 bytes of data information 1) If padding is disabled (TDES1 bit23), the data field may be shorter than 46 bytes. CRC A 32-bit cyclic redundant code for error detection
Data Sheet 27 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 complia nt 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 complia nt functions of Manchester encod ing/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 1 00BASE-TX transmission, the tran sceiver provides the transmis sion functions of PCS, PMA, and PMD for encoding of MII data nibbles to five-bit co de-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 Id le code-groups for tran smission 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 te rmination of the normal data tr ansmissions, 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 co de-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. Afte r 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 28 Rev. 1.81, 2005-12-15 100BASE-TX Receiving Operation Regarding the 100BASE-TX rece iving 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 depende nt 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 100BASE- TX 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 da ta 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 29 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 simu ltaneously. 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 recepti on can be operated at one time. Under half duplex mode, collision signal is asserted when tr ansmitted 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 informatio n contained in the burst puls es 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. 100BASE-TX full duplex 2. 100BASE-TX half duplex 3. 10BASE-T full duplex 4. 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 Au to-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 transmissi on 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 accord ingly. 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 30 Rev. 1.81, 2005-12-15 MAC Control Frame and PAUSE Frame 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 Paramete rs field with 2 Octets, unsigned intege r, 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 valu e reaches zero then the AN983B/BX ends PAUSE state. However, a PAUSE frame should not affect the transmis sion 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 receiv ed 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. Destination Address Source Address Length/Type=88-08h MAC Control OPcode MAC Control Parameter Reserved(pads with zeroes)
6 Octets
2 Octets
(minFrameSize-160) / 8 Octets
Data Sheet 31 Rev. 1.81, 2005-12-15 AN983B/BX Functional Descriptions Figure 15 PAUSE Operation Receive State Diagram
Data Sheet 32 Rev. 1.81, 2005-12-15
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
- 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
- 100 Link (On when 100M link ok)
- 10 Link (On when 10M link ok)
- Activity (Blink with 10 Hz wh en 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 circ uits 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 sys tem 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 pa ss 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.
- C R C O K
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 EEPR OM 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 33 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 Mana gement Reference Specification, Rev1.09
- Compatibility with ACPI specification, Rev 1.0
- Compatibility with PCI Bus Power Managem ent Interface Specification, Rev 1.1
- Compatibility with AMD M agic Packet™ Technology.
- Compatibility with PCI CLKRUN scheme.
7.9.1 Power States
DO (Fully On) In this state the AN983B/BX operates as full functionalit y 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. 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. In this state the AN983B/BX only responds to access conf iguration space and full functi on 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 –P C I configuration access Only wake-up events
Data Sheet 34 Rev. 1.81, 2005-12-15 D2 B0, B1, Configuration maintained. No Tx and Rx Stopped to Full speed –P C I configuration access (B0, B1) D3hot B0, B1, Configuration lost, full initialization required upon return to D0 Stopped to Full speed –P C I 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 – Table 5 Power State (cont’d) Device State PCI-Bus State Function Context Clock Power Supported Actions to Function Supported Actions from Function
Data Sheet 35 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
44 R e s e r v e d
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
General EEPROM Format Description Data Sheet 36 Rev. 1.81, 2005-12-15 0x0002 AUI 0x0003 100BaseTx 0x0004 100BaseT4 0x0005 100BaseFx 0x0010 10BaseT Full Duplex 0x0013 100BaseTx Full Duplex 0x0015 100BaseFx Full Duplex
Data Sheet 37 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 in itialize 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 desc riptors for packet buffering and management. These descriptors are described in the following section.
Registers and Descriptors DescriptionAN983B/BX Configuration Registers Data Sheet 38 Rev. 1.81, 2005-12-15
9.1 AN983B/BX Configuration Registers
The register is addressed wordwise. Standard abbreviations: Table 7 Registers Address Space Module Base Address End Address Note xxxxx 1200 0000 H xxxx 0110H Xxxxx Table 8 Registers Overview Register Short Name Register Long Name Offset Address Page Number LID_CR0 Loaded Identification Number 00 H 40 CSD_CR1 Configuration Command and Status 04 H 40 CC_CR2 Class Code and Revision Number 08 H 42 LT_CR3 Latency Timer 0C H 42 IOBA_CR4 I/O Base Address 10 H 43 MBA_CR5 Memory Base Address 14 H 44 CIS_CR10 Card Information Structure 28 H 44 SID_CR11 Subsystem ID and Vendor ID 2C H 44 BRBA_CR12 Boot ROM Base Address 30 H 45 CP_CR13 Capabilities Pointer 34 H 45 CI_CR15 Configuration Interrupt 3C H 46 DS_CR16 Driver Space for Special Purpose 40 H 47 SIG_CR32 Signature 80 H 47 PMR0_CR48 Power Management Register 0 C0 H 48 PMR1_CR49 Power Management Register 1 C4 H 49 Table 9 Registers Access Condition sRegisters Access Conditions Access Condition Short Name Dependency = B. 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 between input and output -> one cycle delay) Value written by software is ignored by hardware; that is, software may write any value to this field without affecting hardware behavior (= Target for development.) write w Register is writable by SW read/write hardware affected rwh 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 39 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionAN983B/BX Configuration Registers
9.1.1 AN983B/BX Configurat ion Registers Descriptions
Read only ro Register is set by HW (register between input and output -> one cycle delay) SW can only read this register Read virtual rv Physically, there is no new register, the input of the signal is connected directly to the address multiplexer. SW can only read this register Latch high, self clearing lhsc Latch high signal at high level, clear on read SW can read the register Latch low, self clearing llsc Latch high signal at low-level, clear on read SW can read the register Latch high, mask clearing lhmk Latch high signal at high level, register cleared with written mask SW can read the register, with write 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 (high- >low) register cleared with written mask SW can read the register, with write 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 register ien 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 register will be cleared due to a HW mechanism. Writing to the register generates a strobe signal for the HW (1 pdi clock cycle) Register is read and writable by SW. Table 11 Registers Clock Domains Clock Short Name Description 00h Device ID* Vendor ID* 04h Status Command Table 10 Registers Access Types (cont’d) Mode Symbol Description Hardware (HW) Description Software (SW)
Registers and Descriptors DescriptionAN983B/BX Configuration Registers Data Sheet 40 Rev. 1.81, 2005-12-15 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 Reset Value loaded from EEPROM Configuration Command and Status 10h Base I/O address 14h Base memory address 18h~24h Reserved 28h ROM-im* Address space offset* Add-indi* 2ch Subsystem ID* Subsystem vendor ID* 30h Boot ROM base address 34h Reserved 38h Reserved 3ch Max_Lat* Min_Gnt* Interrupt pin Interrupt line 40h Reserved Driver Space Reserved 80h Signature of AN983B/BX c0h PMC Next_Item_Pt r Cap_ID c4h Reserved PMCSR LID_CR0 Offset Reset Value Loaded Identification Number 00 H From EEPROMH 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. UR /',' UR /9,'
Data Sheet 41 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionAN983B/BX Configuration Registers CSD_CR1 Offset Reset Value Configuration Command and Status 04 H 0290 0000H 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. B , 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 UZ UZ UZ UZ UR V UR 6'67 UZ UR UR 5HV UR UR 5HV UZ UR V UZ UR 5HV UZ UZ UZ
Registers and Descriptors DescriptionAN983B/BX Configuration Registers Data Sheet 42 Rev. 1.81, 2005-12-15 rw: Read and Write able. ro: Read able only Class Code and Revision Number ro: Read only Latency Timer 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 CC_CR2 Offset Reset Value Class Code and Revision Number 08 H 0200 0011H 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. Field Bits Type Description UR %&& UR UR 5HV UR UR
Data Sheet 43 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionAN983B/BX Configuration Registers I/O Base Address LT_CR3 Offset Reset Value Latency Timer 0C H 0000 0000H 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-read- multiple, and memory-write-and-invalidate. IOBA_CR4 Offset Reset Value I/O Base Address 10 H 0000 0001H 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 B , means that the configuration registers map into the I/O space UR 5HV UZ UZ &/6 UZ ,2%$ UR 5HV UR
Registers and Descriptors DescriptionAN983B/BX Configuration Registers Data Sheet 44 Rev. 1.81, 2005-12-15 Memory Base Address Card Information Structure For Card bus. Note: Automatically recalled from EEPROM when PCI reset is deserted. Subsystem ID and Vendor ID Note: Automatically recalled from EEPROM when PCI reset is deserted. MBA_CR5 Offset Reset Value Memory Base Address 14 H 0000 0000H 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 CIS_CR10 Offset Reset Value Card Information Structure 28 H 0000 0000H 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 SID_CR11 Offset Reset Value Subsystem ID and Vendor ID 2C H 1216 1113H UZ 0%$ UR 5HV UR UR 520 UR $62 UR
Data Sheet 45 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionAN983B/BX Configuration Registers Boot ROM Base Address 256 Bytes ROM size. This register should be initialized before accessing the boot ROM space (write 32’hffffffff return 32’h fffe0001) Capabilities Pointer 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. BRBA_CR12 Offset Reset Value Boot ROM Base Address 30 H XXXX 0000H 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. B , enable Boot ROM (Combines with bit 1 of CR1) CP_CR13 Offset Reset Value Capabilities Pointer 34 H 0000 00C0H UR 6,' UR 69,' UZ %5%$ UR 5HV UZ
Registers and Descriptors DescriptionAN983B/BX Configuration Registers Data Sheet 46 Rev. 1.81, 2005-12-15 Configuration Interrupt Field Bits Type Description Res 31:8 ro Reserved CP 7:0 ro Capabilities Pointer CI_CR15 Offset Reset Value Configuration Interrupt 3C H XXXX 01XXH 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. UR 5HV UR UR UR UR UZ
Data Sheet 47 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionAN983B/BX Configuration Registers Driver Space for Special Purpose Signature of AN983B/BX Hard wired register, read only DS_CR16 Offset Reset Value Driver Space for Special Purpose 40 H 0000 XX00H 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 SIG_CR32 Offset Reset Value Signature 80 H 0981 1317H 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. UR 5HV UZ UR 5HV UR ',' UR 9,'
Registers and Descriptors DescriptionAN983B/BX Configuration Registers Data Sheet 48 Rev. 1.81, 2005-12-15 Power Management Register 0 PMR0_CR48 Offset Reset Value Power Management Register 0 C0 H FE82 0001H 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. B , 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. UR 30(6 UR UR UR $8;& UR UR V UR UR 9(5 UR 1,3 UR &$3,'
Data Sheet 49 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionAN983B/BX Configuration Registers Power Management Register 1 PMR1_CR49 Offset Reset Value Power Management Register 1 C4 H 0000 0000H 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 PME- En 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 D0, 01B D1, 10B D2, 11B D3hot, UR 5HV UZ UR '6&$ UZ '6(/ UZ UR 5HV UZ 3:56
Registers and Descriptors DescriptionAN983B/BX Configuration Registers Data Sheet 50 Rev. 1.81, 2005-12-15 rw*: Read and Write clear
Data Sheet 51 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers
9.2 PCI Control/Status Registers
The register is addressed wordwise. Standard abbreviations: Table 12 Registers Address Space Module Base Address End Address Note 0000 0000H 0000 00FCH Table 13 Registers Overview Register Short Name Register Long Name Offset Address Page Number PAR_CSR0 PCI Access Register 00 H 53 TDR_CSR1 Transmit Demand Register 08 H 54 RDR_CSR2 Receive Demand Register 10 H 56 RDB_CSR3 Receive Descriptor Base Address 18 H 56 TDB_CSR4 Transmit Descriptor Base Address 20 H 57 SR_CSR5 Status Register 28 H 57 NAR_CSR6 Network Access Register 30 H 61 IER_CSR7 Interrupt Enable Register 38 H 62 LPC_CSR8 Lost Packet Counter 40 H 64 SPR_CSR9 Serial Port Register 48 H 64 TMR_CSR11 General-Purpose Timer 58 H 65 WCSR_CSR13 Wake-up Control/Status Register 68 H 65 WTMR_CSR15 Watchdog Timer 78 H 68 ACSR5_CSR16 Assistant CSR5 (Status Register 2) 80 H 69 ACSR7_CSR17 Assistant CSR7 (Interrupt Enable Register 2) 84 H 72 CR_CSR18 Command Register 88 H 73 PCIC_CSR19 PCI Bus Performance Counter 8C H 76 PMCSR_CSR20 Power Management Command and Status 90 H 76 WTDP_CSR21 Current Working Transmit Descriptor Pointer 94 H 78 WRDP_CSR22 Current Working Receive Descriptor Pointer 98 H 78 TXBR_CSR23 Transmit Burst Count/Time-out 9C H 79 FROM_CSR24 Flash ROM (also the boot ROM) Port A0 H 79 PAR0_CSR25 Physical Address Register 0 A4 H 80 PAR1_CSR26 Physical Address Register 1 A8 H 80 MAR0_CSR27 Multicast Address Register 0 AC H 80 MAR1_CSR28 Multicast Address Register 1 B0 H 82 UAR0_CSR_29 Unicast Address Register 0 B4 H 83 UAR1_CSR_30 Unicast Address Register 1 B8 H 83 OMR Operation Mode Register FC H 83
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 52 Rev. 1.81, 2005-12-15
9.2.1 PCI Control/Status Registers Description
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 between input and output -> one cycle delay) Value written by software is ignored by hardware; that is, software may write any value to this field without affecting hardware behavior (= Target for development.) write w Register is writable by SW read/write hardware affected rwh 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 input and output -> one cycle delay) SW can only read this register Read virtual rv Physically, there is no new register, the input of the signal is connected directly to the address multiplexer. SW can only read this register Latch high, self clearing lhsc Latch high signal at high level, clear on read SW can read the register Latch low, self clearing llsc Latch high signal at low-level, clear on read SW can read the register Latch high, mask clearing lhmk Latch high signal at high level, register cleared with written mask SW can read the register, with write 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 (high- >low) register cleared with written mask SW can read the register, with write 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 register ien 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 register will be cleared due to a HW mechanism. Writing to the register generates a strobe signal for the HW (1 pdi clock cycle) Register is read and writable by SW.
Data Sheet 53 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers PCI Access Register PAR_CSR0 Offset Reset Value PCI Access Register 00 H 0000 1000H 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 , disable AN983B/BX to generate memory write invalidate command and use memory write commands instead 1B , enable AN983B/BX to generate memory write invalidate command. AN983B/BX will generate this command while writing full cache lines MRLE 23 rw* 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. B , 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 , disable auto-polling (default) 01B , polling own-bit every 200 μ s 10B , polling own-bit every 800 μ s 11B , polling own-bit every 1600 μ s Res 16 ro Reserved UR 5HV UZ UZ UR V UZ UR 5HV UZ 7$3 UR V UZ &$/ UZ 3%/ UZ UZ '6/ UZ UZ
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 54 Rev. 1.81, 2005-12-15 Transmit Demand Register 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 , reserved (default) 01B , 8 DW boundary alignment 10B , 16 DW boundary alignment 11B , 32 DW boundary alignment PBL 13:8 rw* 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 , little endian (e.g. INTEL) 1B , big endian (only for data buffer) DSL 6:2 rw* 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 , receive higher priority 1B , transmit higher priority SWR 0 rw* 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. TDR_CSR1 Offset Reset Value Transmit Demand Register 08 H FFFF FFFFH Field Bits Type Description UZ 73'0
Data Sheet 55 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.
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 56 Rev. 1.81, 2005-12-15 Receive Demand Register Receive Descriptor Base Address RDR_CSR2 Offset Reset Value Receive Demand Register 10 H FFFF FFFFH 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. RDB_CSR3 Offset Reset Value Receive Descriptor Base Address 18 H xxxx xxxxH Field Bits Type Description SAR 31:2 rw* Start Address of Receive Descriptor Note: rw*: Before writing the receiving process should be stopped. RBND 1:0 ro Must be 00, DW Boundary UZ 53'0 UZ 6$5 UR 5%1'
Data Sheet 57 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers Transmit Descriptor Base Address rw = before writing the transmit process should be stopped Status Register TDB_CSR4 Offset Reset Value Transmit Descriptor Base Address 20 H xxxx xxxxH 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 SR_CSR5 Offset Reset Value Status Register 28 H 0000 0000H 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. 000 B , parity error 001B , master abort 010B , target abort 011B , reserved 1xxB , reserved UZ 6$7 UR 7%1' UR 5HV UR %(7 UR UR UROK UROK UR V UROK UR V UROK UR V UROK UROK UROK UROK UROK UR V UROK UROK UROK UROK
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 58 Rev. 1.81, 2005-12-15 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 Note: lh: High Latching and cleared by writing 1 AISS 15 ro/lh 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 B , 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 Field Bits Type Description
Data Sheet 59 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers 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 , 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). RCI 6 ro/lh Receive Completed Interrupt Note: lh: High Latching and cleared by writing 1 B , while a frame reception is completed TUF 5 ro/lh 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 , 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 TDU 2 ro/lh Transmit Descriptor Unavailable Note: lh: High Latching and cleared by writing 1 1B , 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. TPS 1 ro/lh Transmit Process Stopped Note: lh: High Latching and cleared by writing 1 B , while transmit state = stop Field Bits Type Description
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 60 Rev. 1.81, 2005-12-15 TCI 0 ro/lh 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 Field Bits Type Description
Data Sheet 61 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers Network Access Register NAR_CSR6 Offset Reset Value Network Access Register 30 H 0008 0040H Field Bits Type Description Res 31:22 ro Reserved SF 21 rw* Store and Forward for Transmit Note: w* = only write when the transmit processor stoppes. 0B , disable 1B , 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 , enable SQE function for 10BASE-T operation. The AN983B/BX provides SQE test function for 10BASE-T half duplex operation 1B , 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 , 128-byte (100 Mbit/s) 72-byte (10 Mbit/s) 01B , 256-byte (100 Mbit/s) 96-byte (10 Mbit/s) 10B , 512-byte (100 Mbit/s) 128-byte (10 Mbit/s) 00B , 1024-byte (100 Mbit/s) 160 -byte (10 Mbit/s) ST 13 rw Stop Transmit 0B , stop (default) 1B , start FC 12 rw Force Collision Mode Note: w = only write when the transmit and receive processor both stop. 0B , disable 1B , generate collision when transmit (for test in loop-back mode) OM 11:10 rw Operating Mode Note: w = only write when the transmit and receive processor both stop. 00B , normal 01B , MAC loop-back 10B , reserved 11B , reserved UR 5HV UZ UR V UZ UR 5HV UZ UZ UZ UZ UR 5HV UZ UZ UZ UR V UZ UR V UZ UR V
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 62 Rev. 1.81, 2005-12-15 Interrupt Enable Register Res 9:8 ro Reserved MM 7 rw* Multicast Mode Note: w* = only write when the receive processor stoppes. 1B , receive all multicast packets PR 6 rw* Promiscuous Mode Note: w* = only write when the receive processor stoppes. 0B , receive only the right destination address packets 1B , receive any good packet SBC 5 rw Stop Back-off Counter Note: w = only write when the transmit and receive processor both stop. 0B , back-off counter is not effected by carrier 1B , 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 , filters all bad packets 1B , 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. B , receive processor will enter running state Res 0 ro Reserved IER_CSR7 Offset Reset Value Interrupt Enable Register 38 H 0000 0000H Field Bits Type Description UR 5HV UZ UZ UR V UZ UR V UZ UR V UZ UZ UZ UZ UZ UR V UZ UZ UZ UZ
Data Sheet 63 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.
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 64 Rev. 1.81, 2005-12-15 Lost Packet Counter Serial Port Register LPC_CSR8 Offset Reset Value Lost Packet Counter 40 H 0000 0000H 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 , while lost packet counter overflowed. Cleared after read LPC 15:0 ro/lh 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 SPR_CSR9 Offset Reset Value Serial Port Register 48 H 0004 000EH 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 UR 5HV UROK UROK /3& UR 5HV UZ UZ UZ UZ UR V UZ UZ UR V UZ UR 5HV UR UZ UZ UZ
Data Sheet 65 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers General-Purpose Timer Wake-up Control/Status Register 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 TMR_CSR11 Offset Reset Value General-Purpose Timer 58 H 0000 0000H 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. Field Bits Type Description UR 5HV UZ UZ *79
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 66 Rev. 1.81, 2005-12-15 WCSR_CSR13 Offset Reset Value Wake-up Control/Status Register 68 H ??H 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 Wake-up Pattern n Matched Enable n = 1 to 5WP2E 28 rw 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 wake- up 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. B , 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 UR V UZ UZ UZ UZ UZ UZ UR 5HV UZ Q UZ Q UR 5HV UZ UZ UZ UR 5HV UZF UZF UZF
Data Sheet 67 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers 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: 1. Offset value is from 0-255 (8-bit width). MPR 1 rw1c Magic Packet Received Note: rw1c: Read only and Write one cleared. 1B , 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 LSC 0 rw1c 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 Offset 31-24 23-16 15-8 7-0 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 Reserved Wake-up pattern 1 offset 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 Reserved Wake-up pattern 2 offset 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 Reserved Wake-up pattern 3 offset 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 Reser ved Wake-up pa ttern 4 offset 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 Reserved Wake-up pattern 5 offset Field Bits Type Description
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 68 Rev. 1.81, 2005-12-15 2. To load the whole wake-up frame-filt ering information, consecutive 25 long words write operation to CSR14 should be done. Watchdog Timer WTMR_CSR15 Offset Reset Value Watchdog Timer 78 H 0000 0000H 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. B , 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 UR 5HV U U 5HV UZ UZ UR V UZ UZ UZ
Data Sheet 69 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers Assistant CSR5 (Status Register 2) ACSR5_CSR16 Offset Reset Value Assistant CSR5 (Status Register 2) 80 H 0000 0000H 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 , any of the added normal interrupts happened AAISS 15 ro/lh Added Abnormal Interrupt Status Summary Note: LH = High Latching and cleared by writing 1 1B , any of the added abnormal interrupt happened Res 14 ro Reserved UROK UROK UROK UROK UR V UROK UR 5HV UROK UROK UR V UROK UR V UROK UR V UROK UROK UROK UROK UROK UR V UROK UROK UROK UROK
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 70 Rev. 1.81, 2005-12-15 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 , 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). RCI 6 ro/lh Receive Completed Interrupt Note: LH = High Latching and cleared by writing 1 B , while a frame reception is completed TUF 5 ro/lh 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 , 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 Field Bits Type Description
Data Sheet 71 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers Bit14 to 0 are the same as the status register of CSR5. You can access those status bits through either CSR5 or CSR16. TDU 2 ro/lh Transmit Descriptor Unavailable Note: LH = High Latching and cleared by writing 1 1B , 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. TPS 1 ro/lh Transmit Process Stopped Note: LH = High Latching and cleared by writing 1 B , while transmit state = stop TCI 0 ro/lh 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 Field Bits Type Description
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 72 Rev. 1.81, 2005-12-15 Assistant CSR7 (Interrupt Enable Register 2) ACSR7_CSR17 Offset Reset Value Assistant CSR7 (Interrupt Enable Register 2) 84 H 0000 0000H 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 UZ UZ UZ UZ UR V UZ UR 5HV UZ UZ UR V UZ UR V UZ UR V UZ UZ UZ UZ UZ UR V UZ UZ UZ UZ
Data Sheet 73 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers 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 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. CR_CSR18 Offset Reset Value Command Register 88 H A04C 0004H 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. Field Bits Type Description UZ UR $8;&/ UZ UZ UZ UZ UZ B UZ 5)6 UZ UR UZ UZ UR 5HV UZ UZ UZ UZ UZ '57 UZ UZ
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 74 Rev. 1.81, 2005-12-15 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
RFS 22:21 rw Receive FIFO Size Control B , 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. B , Magic Packet wake-up event default disable 1B , Magic Packet wake-up event default enable LWS 17 rw Should be 0 Res 16:8 ro Reserved Field Bits Type Description
Data Sheet 75 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers 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. B , 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 Field Bits Type Description
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 76 Rev. 1.81, 2005-12-15 PCI Bus Performance Counter Power Management Command and Status (The same register value mapping to CR49-PMR1) PCIC_CSR19 Offs et Reset Value PCI Bus Performance Counter 8C H 0000 0000H 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 PMCSR_CSR20 Offset Reset Value Power Management Command and Status 90 H 0000 0000H 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 PME- En 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”. UR &/.&17 UR 5HV UR ':&17 UR 5HV UR UR '6&$ UR '6(/ UR UR 5HV UR 3:56
Data Sheet 77 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers 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. Field Bits Type Description
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 78 Rev. 1.81, 2005-12-15 Current Working Transmit Descriptor Pointer Current Working Receive Descriptor Pointer WTDP_CSR21 Offset Reset Value Current Working Transmit Descriptor Pointer 94 H xxxx xxxxH Field Bits Type Description WTDP 31:0 ro Working Transmit Descriptor Pointer The current working transmit descriptor pointer for driver’s double- checking or other special purpose. WRDP_CSR22 Offset Reset Value Current Working Receive Descriptor Pointer 98 H xxxx xxxxH Field Bits Type Description WRDP 31:0 ro Working Receive Descriptor Pointer The current working receive descriptor pointer for driver’s double- checking or other special purpose. UR :7'3 UR :5'3
Data Sheet 79 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers Transmit Burst Count/Time-out Flash ROM (also the boot ROM) Port TXBR_CSR23 Offset Reset Value Transmit Burst Count/Time-out 9C H 0000 0000H 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. FROM_CSR24 Offset Reset Value Flash ROM (also the boot ROM) Port A0 H 8000 0000H 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 UR 5HV UZ 7%&17 5HV UZ 772 UZ UR 5HV UZ UZ UZ $''5 UZ '$7$
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 80 Rev. 1.81, 2005-12-15 Physical Address Register 0 Automatically recall from EEPROM Physical Address Register 1 Automatically recall from EEPROM 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 PAR0_CSR25 Offset Reset Value Physical Address Register 0 A4 H xxxx xxxxH Field Bits Type Description PAB3 31:24 rw Physical Address Byte n n = 0 to 3PAB2 23:16 rw PAB1 15:8 rw PAB0 7:0 rw PAR1_CSR26 Offset Reset Value Physical Address Register 1 A8 H ??H 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 UZ 3$% UZ 3$% UZ 3$% UZ 3$% UR 5HV UR 5HV UZ 3$% UZ 3$%
Data Sheet 81 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers MAR0_CSR27 Offset Reset Value Multicast Address Register 0 AC H 0000 0000H Field Bits Type Description MAB3 31:24 rw Multicast Address Byte n n = 0 to 3MAB2 23:16 rw MAB1 15:8 rw MAB0 7:0 rw UZ 0$% UZ 0$% UZ 0$% UZ 0$%
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 82 Rev. 1.81, 2005-12-15 Multicast Address Register 1 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 entrie s 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] MAR1_CSR28 Offset Reset Value Multicast Address Register 1 B0 H 0000 0000H 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) UZ 0$% UZ 0$% UZ 0$% UZ 0$%
Data Sheet 83 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPCI Control/Status Registers Unicast Address Register 0 Unicast Address Register 1 Unicast64 Algorithm The algorithm is the same with multicast64. Operation Mode Register UAR0_CSR_29 Offset Reset Value Unicast Address Register 0 B4 H 0000 0000H 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) UAR1_CSR_30 Offset Reset Value Unicast Address Register 1 B8 H 0000 0000H 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) OMR Offset Reset Value Operation Mode Register FC H 0000 0007H UZ 8$% UZ 8$% UZ 8$% UZ 8$% UZ 8$% UZ 8$% UZ 8$% UZ 8$%
Registers and Descriptors DescriptionPCI Control/Status Registers Data Sheet 84 Rev. 1.81, 2005-12-15 Field Bits Type Description SPEED 31 ro Network Speed Status 0B , 10M 1B , 100M 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 UR UR UR UR 5HV UZ UR 5HV UZ 2S0RG H
Data Sheet 85 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)
The register is addressed wordwise. Standard abbreviations: Table 15 Registers Address Space Module Base Address End Address Note PHY 0000 0000 H 0000 0006H Table 16 Registers Overview Register Short Name Register Long Name Offset Address Page Number R0 Register 0(MII Control) 0 H 86 R1 Register 1(Status) 1 H 88 R2 Register 2 2 H 90 R3 Register 3 3 H 90 R4 Register 4 4 H 91 R5 Register 5 5 H 92 R6 Register 6 6 H 93 Table 17 Registers Access Types Mode Symbol Description Hardware (HW) Description Software (SW) read/write rw Register is used as input for t he HW Register is readable and writable by SW read r Register is written by HW (register between input and output -> one cycle delay) Value written by software is ignored by hardware; that is, software may write any value to this field without affecting hardware behavior (= Target for development.) write w Register is writable by SW read/write hardware affected rwh 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 input and output -> one cycle delay) SW can only read this register Read virtual rv Physically, there is no new register, the input of the signal is connected directly to the address multiplexer. SW can only read this register Latch high, self clearing lhsc Latch high signal at high level, clear on read SW can read the register Latch low, self clearing llsc Latch high signal at low-level, clear on read SW can read the register Latch high, mask clearing lhmk Latch high signal at high level, register cleared with written mask SW can read the register, with write mask the register can be cleared (1 clears)
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9 Data Sheet 86 Rev. 1.81, 2005-12-15
9.3.1 PHY Transceiver Re gisters Descriptions
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 (high- >low) register cleared with written mask SW can read the register, with write 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 register ien 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 register will be cleared due to a HW mechanism. Writing to the register generates a strobe signal for the HW (1 pdi clock cycle) Register is readable and writable by SW. R0 Offset Reset Value Register 0(MII Control) 0 H 1000H Field Bits Type Description RESET 15 rwsc Reset 0B , normal operation 1B , PHY Reset LOOP 14 rw Loopback 0B , disable loopback 1B , enable loopback Table 17 Registers Access Types (cont’d) Mode Symbol Description Hardware (HW) Description Software (SW) UZVF 5(6( UZ /223 UZ 63(( UZ $1( UZ UZ UZVF 5$1 UZ UR UR 5HV
Data Sheet 87 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9 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. Wh en 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). 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 Field Bits Type Description
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9 Data Sheet 88 Rev. 1.81, 2005-12-15 Collision test: Always 0 because collision signal is not implemented. Register 1 Status R1 Offset Reset Value Register 1(Status) 1 H 7849H 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 B , 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 , no remote fault detected 1B , remote fault detected UR UR UR UR UR UR 7)' UR 7+' UR 5HV UR 0)36 UR UROK UR UROO UROK UR
Data Sheet 89 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9 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. AA 3 ro Autoneg Ability B , PHY cannot auto-negotiate 1B , PHY can auto-negotiate LS 2 ro, ll Link Status Note: lh: Latch Low 0B , link is down 1B , link is up JD 1 ro, lh Jabber Detect Only used in 10Base-T mode. Read as 0 in 100Base-TX mode. Note: lh: Latch High 1B , jabber condition detected EC 0 ro Extended Capability 0B , basic register set capabilities only 1B , extended register set capabilities Field Bits Type Description
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9 Data Sheet 90 Rev. 1.81, 2005-12-15 Register 2 Register 3 This uses the OUI of Infineon-ADMtek, device type of 1 and rev 0 R2 Offset Reset Value Register 2 2 H 001DH Field Bits Type Description PHY_ID 15:0 ro PHY_ID[31-16] OUI (bits 3-18) R3 Offset Reset Value Register 3 3 H 2411H 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 UR 3+<B,' UR 3+<B,' UR 3+<B,' UR 3+<B,'
Data Sheet 91 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9 Register 4 R4 Offset Reset Value Register 4 4 H 0001H 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 B , 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. UZ UR 5HV UZ UR UZ 3$86 UR UZ UZ UZ UZ UR
Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9 Data Sheet 92 Rev. 1.81, 2005-12-15 Register 5 The register is used to view the adve rtised capabilities of the link partner on ce autonegotiation is complete. The contents of this register should not be relied upon unle ss register 1 bit 5 is set (autoneg complete). After negotiation this register should contai n 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 Offset Reset Value Register 5 5 H 0000 0000H 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 UR UR $&. UR UR UR
Data Sheet 93 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionPHY Registers(Accessed by CSR9 Register 6 LH: Latch High R6 Offset Reset Value Register 6 6 H 0004H Field Bits Type Description Res 15:5 ro Reserved PDF 4 ro, lh Parallel Detection Fault Note: lh: Latch Hight 0B , No fault detected 1B , 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 , A New Page has not been received 1B , A New Page has been received LPAA 0 ro Link Partner Autonegotiation Able 0B , Link Partner is not Autonegotiation able 1B , Link Partner is Autonegotiation able UR 5HV UROK 3') UR /313 UR UROK UR /3$$
Registers and Descriptors DescriptionDescriptors and Buffer Management Data Sheet 94 Rev. 1.81, 2005-12-15
9.4 Descriptors and Buffer Management
The register is addressed wordwise. Standard abbreviations: Table 18 Registers Overview Register Short Name Register Long Name Offset Address Page Number RDES0 RDES0 00 H 95 RDES1 RDES1 04 H 98 RDES2 RDES2 08 H 98 RDES3 RDES3 0Ch H 98 TDES0 TDES0 00 H 99 TDES1 TDES1 04 H 100 TDES2 TDES2 08 H 101 TDES3 TDES3 0Ch H 101 Table 19 Registers Access Types Mode Symbol Description Hardware (HW) Description Software (SW) read/write rw Register is used as input for t he HW Register is readable and writable by SW read r Register is written by HW (register between input and output -> one cycle delay) Value written by software is ignored by hardware; that is, software may write any value to this field without affecting hardware behavior (= Target for development.) write w Register is writable by SW read/write hardware affected rwh 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 input and output -> one cycle delay) SW can only read this register Read virtual rv Physically, there is no new register, the input of the signal is connected directly to the address multiplexer. SW can only read this register Latch high, self clearing lhsc Latch high signal at high level, clear on read SW can read the register Latch low, self clearing llsc Latch high signal at low-level, clear on read SW can read the register Latch high, mask clearing lhmk Latch high signal at high level, register cleared with written mask SW can read the register, with write 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)
Data Sheet 95 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionDescriptors and Buffer Management
9.4.1 Receive Descr iptor Descriptions
The AN983B/BX provides receive and transmit descriptors for packet buffering and management. Descriptors and receive buffers addresses must be longword alignment RDES0 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 (high- >low) register cleared with written mask SW can read the register, with write 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 register ien 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 Register is used as input for the HW, the register will be cleared due to a HW mechanism. Writing to the register generates a strobe signal for the HW (1 pdi clock cycle) Register is readable and writable by SW. Table 20 Receive Descriptor Table RDES0 Own Status RDES1 --- Control Buffer2 byte-count Buffer1 byte-count RDES2 Buffer1 address (DW boundary) RDES3 Buffer2 address (DW boundary) RDES0 Offset Re set Value RDES0 00 H xxxx xxxxH Table 19 Registers Access Types (cont’d) Mode Symbol Description Hardware (HW) Description Software (SW) UZ UZ UZ UZ UZ UZ UZ UZ UZ UZ UZ UZ UZ UR V UZ UZ UZ
Registers and Descriptors DescriptionDescriptors and Buffer Management Data Sheet 96 Rev. 1.81, 2005-12-15 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 B , 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 97 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionDescriptors and Buffer Management OF 0 rw Overflow This bit is valid only in last descriptor. Field Bits Type Description
Registers and Descriptors DescriptionDescriptors and Buffer Management Data Sheet 98 Rev. 1.81, 2005-12-15 RDES1 RDES2 RDES3 RDES1 Offset Re set Value RDES1 04 H xxxx xxxxH 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 Offset Re set Value RDES2 08 H xxxx xxxxH Field Bits Type Description RBA1 31:0 rw Receive Buffer Address 1 This buffer address should be double word aligned. UR 5HV UZ UZ UR 5HV UZ 5%6 UZ 5%6 UZ 5%$
Data Sheet 99 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionDescriptors and Buffer Management
9.4.2 Transmit Descri ptor Descriptions
The AN983B/BX provides receive and transmit descriptors for packet buffering and management. Descriptor addresses must be longword alignment TDES0 RDES3 Offset Re set Value RDES3 0Ch H xxxx xxxxH Field Bits Type Description RBA2 31:0 rw Receive Buffer Address 2 This buffer address should be double word aligned. Table 21 Transmit Descriptor Table 31 - 0 TDES0 Own Status TDES1 Control Buffer2 byte-count Buffer1 byte-count TDES2 Buffer1 address TDES3 Buffer2 address TDES0 Offset Reset Value TDES0 00 H xxxx xxxxH 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 UZ 5%$ UZ UR 5HV UZ UR 5HV UZ UZ UR 5HV UZ UZ UZ UZ UZ UZ UR V UZ UZ
Registers and Descriptors DescriptionDescriptors and Buffer Management Data Sheet 100 Rev. 1.81, 2005-12-15 TDES1 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 Offset Reset Value TDES1 04 H xxxx xxxxH 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 Field Bits Type Description UZ UZ UZ UR 5HV UZ UZ UZ UZ UR V UZ 7%6 UZ 7%6
Data Sheet 101 Rev. 1.81, 2005-12-15 AN983B/BX Registers and Descriptors DescriptionDescriptors and Buffer Management TDES2 TDES3 TDES2 Offset Reset Value TDES2 08 H xxxx xxxxH Field Bits Type Description BA1 31:0 rw Buffer Address 1 Without any limitation on the transmission buffer address. TDES3 Offset Reset Value TDES3 0Ch H xxxx xxxxH Field Bits Type Description BA2 31:0 rw Buffer Address 2 Without any limitation on the transmission buffer address. UZ UZ
Electrical Specifications and Timings Data Sheet 102 Rev. 1.81, 2005-12-15
10.1 Absolute Maximum Ratings
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
Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Supply Voltage VCC -0.5 – 3.6 V – Input Voltage VCC -0.5 – VCC + 0.5 V Output Voltage VCC -0.5 – VCC + 0.5 V Storage Temperature °C - 65 150 °C Ambient Temperature °C 0 70 °C ESD Protection 2000 V Table 23 General DC Specifications Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Supply Voltage VCC 3 . 0– 3 . 6V – Power Supply I CC –1 5 0 –m A – Table 24 PCI Interface DC Specifications Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Input LOW Voltage Vilp -0.5 – 0.325 VCC V– Input HIGH Voltage Vihp 0.475 VCC – VCC + 0.5 V – Input Leakage Current Iilp -10 – 10 µA0 < Vin < VCC Output LOW Voltage Volp ––0 . 1 VCC V Iout = 700 µA Output HIGH Voltage Vohp 0.9 VCC ––V Iout = -150 µA Input Pin Capacitance Cinp 5–1 7 p F – CLK Pin Capacitance Cclkp 10 – 22 pF –
Data Sheet 103 Rev. 1.81, 2005-12-15 AN983B/BX Electrical Specifications and Timings
10.3 AC Specifications
10.4 Timing Specifications
Table 25 Flash/EEPROM Inte rface DC Specifications Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Input LOW Voltage Vilf 0–0 . 3 VCC V– Input HIGH Voltage Vihf 0.7 VCC – VCC + 1 V – Input Leakage Current Iif -10 – 10 µA– Output LOW Voltage Volf ––0 . 2 V – Output HIGH Voltage Vohf VCC - 0 . 2 ––V – Input Pin Capacitance Cinf 5–8p F – Table 26 PCI Signaling AC Specifications for 3.3 V Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Switching Current High Ioh ( A C ) –4–m A – Switching Current Low Iol ( A C ) –6–m A – Slew Rate – 0.25 – 1 V/ns – Unloaded Output Rise Time T r 1–4V / n s 0 . 2 VCC ~ 0.6 VCC Unloaded Output Fall Time T f 1–4V / n s 0 . 6 VCC ~ 0.2 VCC Table 27 PCI Clock Specifications Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Clock Cycle Time T cyc 3 0 ––n s – Clock High Time T high 1 2 ––n s – Clock Low Time T low 1 2 ––n s – C l o c k S l e w R a t e – 1–4V / n s –
Electrical Specifications and Timings Data Sheet 104 Rev. 1.81, 2005-12-15 Figure 16 PCI Clock Waveform Table 28 PCI Timings Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Access time – bused signals T val 2–1 1 n s – Access time – point to point T val (ptp) 2 – 12 ns – Float to Active Delay T on 2––n s – Active to Float Delay T off ––2 8 n s – Input Set up Time to Clock – bused signals Tsu 7––n s – Input Set up Time to Clock – point to point Tsu (ptp) 10, 12 – – ns – Input Hold Time from Clock T h 0––n s – Reset Active Time after Power Stable Trst 1––m s – Reset Active Time after CLK Stable Trst-clk 100 – – µs– Reset Active to Output Float delay Trst-off ––4 0 n s – 0.6vcc T h i g h 0 . 4 V c c T l o w 0 . 2 V c c T c y c
Data Sheet 105 Rev. 1.81, 2005-12-15 AN983B/BX Electrical Specifications and Timings Figure 17 PCI Timings Table 29 Flash Interface Timings Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Read cycle time T rc 9 0 ––n s – Chip enable access time T ce ––9 0 n s – Address access time T aa ––9 0 n s – Output enable access time T oe ––4 5 n s – CE low to active output T clz 0––n s – OE low to active output T olz 0––n s – CE high to active output T chz ––4 5 n s – OE high to active output T ohz ––4 5 n s – Output hold from address change Toh 0––n s – Write cycle time T wc ––1 0 m s – Address setup time T as 0––n s – Address hold time T ah 5 0 ––n s – WE and CE setup time T cs 0––n s – WE and CE hold time T ch 0––n s – OE high setup time T oes 1 0 ––n s – CLK 1.5Vcc Vth=2.4Vcc V t l = 0 . 4 V c c Tval (max=11ns) O U T P U T D e l a y T r i - s t a t e O U T P U T T o n T o f f T s u T h INPUT 1.5V 1.5V
Electrical Specifications and Timings Data Sheet 106 Rev. 1.81, 2005-12-15 Figure 18 Flash Write Timings OE high hold time T oeh 1 0 ––n s – CE pulse width T cp 7 0 ––n s – WE pulse width T wp 7 0 ––n s – WE high width T wph 1 5 0 ––n s – Data setup time T ds 5 0 ––n s – Data hold time T dh 1 0 ––n s – Byte load cycle time T blc 0.22 – 200 µs– Byte load cycle time out T blco 300 – – µs– Table 29 Flash Interface Timings (cont’d) Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. A D D R E S S T a s T a h T f a s c T c s C S # T w p T w p h W E # T d s T d h DATA
Data Sheet 107 Rev. 1.81, 2005-12-15 AN983B/BX Electrical Specifications and Timings Figure 19 Flash Read Timings Table 30 EEPROM Interface Timings (AC/AD) Parameter Symbol Values Unit Note / Test Condition Min. Typ. Max. Serial Clock Frequency T scf ––0 . 4 M / 0.1M Hz 2.7 V < VCC < 5.5 V Delay from CS High to SK High T ecss 160/640 – – ns 2.7 V < VCC < 5.5 V Delay from SK Low to CS Low T ecsh 1120/ 4480 ––n s 2 . 7 V < VCC < 5.5 V Setup Time of DI to SK T edts 160/640 – – ns 2.7 V < VCC < 5.5 V Hold Time of DI after SK T edth 2320/ 9280 ––n s 2 . 7 V < VCC < 5.5 V CS Low Time T ecsl 7400/ 29600 ––n s 2 . 7 V < VCC < 5.5 V A D D R E S S T r c C S # T c e O E # T o e T o h DATA
Electrical Specifications and Timings Data Sheet 108 Rev. 1.81, 2005-12-15 Figure 20 Serial EEPROM Timing C S Tecss Tecsh Tecsl C L K T e d t s T e d t h DI
Data Sheet 111 Rev. 1.81, 2005-12-15 AN983B/BX Package Outlines 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 E Terminal Dimension 2 17.0mm 17.4mm e1 Lead Pitch 0.50mm - L1 Foot Length 0.65mm 0.95mm T Lead Angle 0 degree 7 degree Y Coplanarity - 0.076mm A c D E1E b T Y
Data Sheet 112 Rev. 1.81, 2005-12-15 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 E Terminal Dimension 2 15.9mm 16.1mm e1 Lead Pitch 0.50mm - L1 Foot Length 0.45mm 0.75mm T Lead Angle 0 7 Y Coplanarity - 0.076mm
Data Sheet 113 Rev. 1.81, 2005-12-15 AN983B/BX Layout Guide (Rev. 1.0B) 12 Layout Guide (Rev. 1.0B)
12.1 Placement
- Keep the distance as short as possible between Centau r-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 re ceiving termination resister and cap needs to close to transformer.
- De-couple cap should be placed as close to ch ip as possible. The traces should be short.
- Use ample dc-coupling and bulk capacitors to minimize noise.
- Use X7R ceramic capacitor for better ca pacitive characteristics overtemperature.
12.2 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 powe r 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 fi rst then use signal via to Gnd. Table 33 Layout Guide Revision History Revision Date Revision Description October, 2000 1.0b Add Item 2-d to reduce receive CRC error.
Layout Guide (Rev. 1.0B) Data Sheet 114 Rev. 1.81, 2005-12-15 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 Figure 27 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. Bad Good AN983B AN983B VCC FROM PCI VCC FROM PCI Power Trace Power Switch Power PLANE Power Switch GoodNot suggested
Data Sheet 115 Rev. 1.81, 2005-12-15 AN983B/BX Layout Guide (Rev. 1.0B) Figure 28 Ground Plane Arrangement RJ45 Transformer VCC PLANE UNDER CHIP Chassis Ground System Ground
Published by Infineon Technologies AG www.infineon.com