DP83816 National Semiconductor, DP83816 Datasheet

no-image

DP83816

Manufacturer Part Number
DP83816
Description
DP83816 10/100 Mb/s Integrated PCI Ethernet Media Access Controller and Physical Layer (MacPHYTER-II)
Manufacturer
National Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DP83816AVNG
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
DP83816AVNG
Manufacturer:
NS
Quantity:
1 000
Part Number:
DP83816AVNG
Manufacturer:
ST
0
Part Number:
DP83816AVNG
Manufacturer:
NS/国半
Quantity:
20 000
Company:
Part Number:
DP83816AVNG
Quantity:
183
Part Number:
DP83816AVNG-EX
Manufacturer:
ST
0
Part Number:
DP83816AVNG-EX/NOPB
Manufacturer:
National Semiconductor
Quantity:
135
Part Number:
DP83816AVNG-EX/NOPB
Manufacturer:
ADI
Quantity:
68
Part Number:
DP83816AVNG-EX/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
DP83816AVNG/NOPB
Manufacturer:
NS
Quantity:
5 000
Part Number:
DP83816AVNG/NOPB
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
DP83816DVNG
Manufacturer:
EVERLIGHT
Quantity:
4 123
© 2005 National Semiconductor Corporation
MacPHYTER-II is a trademark of National Semiconductor Corporation.
Magic Packet is a trademark of Advanced Micro Devices, Inc.
DP83816 10/100 Mb/s Integrated PCI Ethernet Media Access
Controller and Physical Layer (MacPHYTER-II
General Description
DP83816 is a single-chip 10/100 Mb/s Ethernet Controller
for the PCI bus. It is targeted at low-cost, high volume PC
motherboards, adapter cards, and embedded systems.
The DP83816 fully implements the V2.2 33 MHz PCI bus
interface for host communications with power management
support. Packet descriptors and data are transferred via
bus-mastering, reducing the burden on the host CPU. The
DP83816 can support full duplex 10/100 Mb/s transmission
and reception, with minimum interframe gap.
The DP83816 device is an integration of an enhanced
version of the National Semiconductor PCI MAC/BIU
(Media Access Controller/Bus Interface Unit) and a 3.3V
CMOS physical layer interface.
Features
— IEEE 802.3 Compliant, PCI V2.2 MAC/BIU supports
— Bus master - burst sizes of up to 128 dwords (512 bytes)
— BIU compliant with PC 97 and PC 98 Hardware Design
— Wake on LAN (WOL) support compliant with PC98,
— Clkrun function for PCI Mobile Design Guide
— Virtual LAN (VLAN) and long frame support
System Diagram
traditional data rates of 10 Mb/s Ethernet and 100 Mb/s
Fast Ethernet (via internal phy)
Guides, PC 99 Hardware Design Guide draft, ACPI v1.0,
PCI Power Management Specification v1.1, OnNow
Device
Specification - Network Device Class v1.0a
PC99, SecureOn, and OnNow, including directed
packets, Magic Packet, VLAN packets, ARP packets,
pattern match packets, and Phy status change
Class
Power
Management
PCI Bus
BIOS ROM
(optional) (optional)
DP83816
Reference
EEPROM
— Support for IEEE 802.3x Full duplex flow control
— Extremely flexible Rx packet filtration including: single
— Statistics gathered for support of RFC 1213 (MIB II),
— Internal 2 KB Transmit and 2 KB Receive data FIFOs
— Serial EEPROM port with auto-load of configuration data
— Flash/PROM interface for remote boot support
— Fully integrated IEEE 802.3/802.3u 3.3V CMOS physical
— IEEE 802.3 10BASE-T transceiver with integrated filters
— IEEE 802.3u 100BASE-TX transceiver
— Fully integrated ANSI X3.263 compliant TP-PMD
— IEEE 802.3u Auto-Negotiation - advertised features
— Full Duplex support for 10 and 100 Mb/s data rates
— Single 25 MHz reference clock
— 144-pin LQFP package
— Low power 3.3V CMOS design with typical consumption
— IEEE 802.3u MII for connecting alternative external
— 3.3V signalling with 5V tolerant I/O.
address perfect filter with MSb masking, broadcast, 512
entry multicast/unicast hash table, deep packet pattern
matching for up to 4 unique patterns
RFC 1398 (Ether-like MIB), IEEE 802.3 LME, reducing
CPU overhead for management
from EEPROM at power-on
layer
physical sublayer with adaptive equalization and
Baseline Wander compensation
configurable via EEPROM
of 383 mW operating, 297 mW during WOL and 53 mW
during sleep mode
Physical Layer Devices
Isolation
10/100 Twisted Pair
)
www.national.com
September 2005

Related parts for DP83816

DP83816 Summary of contents

Page 1

... DP83816 is a single-chip 10/100 Mb/s Ethernet Controller for the PCI bus targeted at low-cost, high volume PC motherboards, adapter cards, and embedded systems. The DP83816 fully implements the V2.2 33 MHz PCI bus interface for host communications with power management support. Packet descriptors and data are transferred via bus-mastering, reducing the burden on the host CPU ...

Page 2

Connection Diagram . . . . . . . . . . . . . . . . . . 4 1.1 144 LQFP Package (VNG ...

Page 3

... D3cold State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 6.5 Wake-On-LAN (WOL) Mode . . . . . . . . . . 88 6.5.1 Entering WOL Mode . . . . . . . . . . . . . . . . . . . . . . . 88 6.5.2 Wake Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 6.5.3 Exiting WOL Mode . . . . . . . . . . . . . . . . . . . . . . . . . 89 Figure 3-1 DP83816 Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 Figure 3-2 MAC/BIU Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Figure 3-3 Ethernet Packet Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Figure 3-4 DSP Physical Layer Block Diagram .15 Figure 3-5 LED Loading Example ...

Page 4

... RSTN 62 GNTN 63 REQN 64 VSS 65 AD31 66 AD30 67 AD29 68 PCIVDD 69 AD28 70 AD27 71 AD26 72 For Normal Operating Temperature - Order Number DP83816AVNG Pin1 Identification DP83816 See NS Package Number VNG144A 4 144 MA2/LED100N 143 MA1/LED10N MA0/LEDACTN 142 MD7 141 MD6 140 MD5 139 MD4/EEDO 138 AUXVDD 137 ...

Page 5

... O Request: The DP83816 will assert this signal low to request ownership of the bus from the central arbiter. I Reset: When this signal is asserted all PCI bus outputs of DP83816 will be in TRI- ® STATE and the device will be put into a known state. 5 Description www ...

Page 6

... The function of this pin is determined by the CLKRUN_EN bit 0 of the CLKRUN Control and Status register (CCSR). Default operation of this pin is PMEN. Power Management Event: This signal is asserted low by the DP83816 to indicate that a power management event has occurred. For pin connection please refer to Section 6 ...

Page 7

Pin Description (Continued) Media Independent Interface (MII) LQFP Pin Symbol No(s) COL 28 CRS 29 MDC 5 MDIO 4 RXCLK 6 RXD3/MA9, 12, RXD2/MA8, 11, RXD1/MA7, 10, RXD0/MA6 7 RXDV/MA11 15 RXER/MA10 14 RXOE 13 TXCLK 31 TXD3/MA15, 25, ...

Page 8

... Reception of Manchester encoded 10BASE-T packet data as well as normal Link Pulses and Fast Link Pulses for Auto-Negotiation purposes. 100BASE-TX: Reception of ANSI X3T12 compliant scrambled MLT-3 data. The DP83816 will automatically configure this common input buffer to accept the proper signal type as a result of either forced configuration or Auto-Negotiation. Dir ...

Page 9

... Note: DP83816 supports NMC93C46 for the EEPROM device. Dir I Crystal/Oscillator Input: This pin is the primary clock reference input for the DP83816 and must be connected MHz 0.005% (50ppm) clock source. The DP83816 device supports either an external crystal resonator connected across pins X1 and X2 external CMOS-level oscillator source connected to pin X1 only. ...

Page 10

Pin Description (Continued) External Reference Interface LQFP Pin Symbol No(s) VREF 40 No Connects and Reserved LQFP Pin Symbol No(s) NC 34, 42, 43, 36, 37, 84, 85, 124, 125, 126 RESERVED 41, 50, 127 REGEN 48 Supply Pins ...

Page 11

... KB SRAM TX-2 KB PCI CLK PCI CNTL PCI AD Figure 3-1 DP83816 Functional Block Diagram (Media Access and an 802.3 MAC. The physical layer interface used is a single-port version of the 3.3V DsPhyterII. Internal memory consists of one - 0.5 KB and two - 2 KB SRAM blocks. 3V DSP Physical Layer ...

Page 12

... PME or CLKRUN function. 3.1.1.1 Byte Ordering The DP83816 can be configured to order the bytes of data on the AD[31:0] bus to conform to little endian or big endian ordering through the use of the Configuration Register, bit 0 (CFG:BEM). By default, the device is in little endian ordering ...

Page 13

... FIFO from the MAC unit before a DMA request for system memory access occurs. Once the DP83816 gets the bus, it will continue to transfer the long words from the FIFO until the data in the FIFO is less than one long word, or has reached the end of the packet, or the max DMA burst size is reached (RXCFG:MXDMA) ...

Page 14

... EEPROM The DP83816 supports the attachment of an external EEPROM. The EEPROM interface provides the ability for the DP83816 to read from and write data to an external serial EEPROM device. The DP83816 will auto-load values from the EEPROM to certain fields in PCI configuration space and operational space and perform a checksum to verify that the data is valid ...

Page 15

Functional Description POWER ON CONFIGURATION PINS TX_DATA TX_DATA TRANSMIT CHANNELS & STATE MACHINES 100 MB/S 10 MB/S 4B/5B ENCODER NRZ TO MANCHESTER SCRAMBLER ENCODER PARALLEL TO SERIAL LINK PULSE GENERATOR NRZ TO NRZI ENCODER TRANSMIT BINARY TO FILTER MLT-3 ...

Page 16

... ANAR and bit 12 in the BMCR register are determined at power-up. The BMCR provides software with a mechanism to control the operation of the DP83816. Bits 1 & the PHYSTS register are only valid if Auto-Negotiation is disabled or after Auto-Negotiation is complete. The Auto-Negotiation protocol compares the contents of the ANLPAR and ANAR ...

Page 17

... Negotiation after the break_link_timer has expired by issuing FLP (Fast Link Pulse) bursts. 3.4.5 Enabling Auto-Negotiation via Software It is important to note that if the DP83816 has been initialized upon power- non-auto-negotiating device (forced technology), and it is then required that Auto- Negotiation or re-Auto-Negotiation be initiated via software, ...

Page 18

... Configuration register must show full duplex support: — CFG:ANEG_SEL 3.7 Phy Loopback The DP83816 includes a Phy Loopback Test mode for easy board diagnostics. The Loopback mode is selected through bit 14 (Loopback) of the Basic Mode Control Register (BMCR). Writing 1 to this bit enables transmit data to be routed to the receive path early in the physical layer cell ...

Page 19

Functional Description FROM CGM BP_4B5B BP_SCR Figure 3-6 100BASE-TX Transmit Block Diagram 3.9.1 Code-group Encoding and Injection The code-group encoder converts 4-bit (4B) nibble data generated by the MAC into 5-bit (5B) code-groups for transmission. This conversion is required ...

Page 20

... After the transmit data stream has been serialized and scrambled, the data must be NRZI encoded in order to comply with the TP-PMD standard for 100BASE-TX transmission over Category-5 un-shielded twisted pair cable. There is no ability to bypass this block within the DP83816 binary_in Table 3-1 4B5B Code-Group Encoding/Decoding ...

Page 21

... TP-PMD transition times (3 ns < Tr < 5 ns). The 100BASE-TX transmit TP-PMD function within the DP83816 is capable of sourcing only MLT-3 encoded data. Binary output from the TD± outputs is not possible in 100 Mb/s mode. 3.10 100BASE-TX Receiver The 100BASE-TX receiver consists of several functional ...

Page 22

Functional Description RXCLK LINK INTEGRITY MONITOR RX_DATA VALID SSD DETECT BP_SCR CLOCK CLOCK RECOVERY MODULE (Continued) RXD(3:0)/RXER BP_RX MUX MUX BP_4B5B 4B/5B DECODER SERIAL TO PARALLEL CODE GROUP ALIGNMENT MUX DESCRAMBLER NRZI TO NRZ DECODER MLT-3 TO BINARY DECODER ...

Page 23

... Conversely, the selection of short or intermediate cable lengths requiring less compensation will cause serious under-compensation for longer length cables. Therefore, the compensation or equalization must be adaptive to ensure proper conditioning of the received signal independent of the cable length. The DP83816 utilizes an extremely robust equalization scheme referred to herein as Equalization’ ...

Page 24

... Figure 3-12 MLT-3 Signal Measured at AII after 50 Figure 3-13 MLT-3 Signal Measured at AII after 100 3.10.5 MLT-3 to NRZI Decoder The DP83816 decodes the MLT-3 information from the Digital Adaptive Equalizer block to binary NRZI data. 24 2ns/div meters of CAT V cable ...

Page 25

... A Bad Start of Stream Delimiter (Bad SSD) is any transition from consecutive idle code-groups to non-idle code-groups which is not prefixed by the code-group pair J/K. If this condition is detected, the DP83816 will assert RXER and present RXD[3:0] = 1110 to the MAC for the cycles that correspond to received 5B code-groups until at least two IDLE code groups are detected ...

Page 26

... CSMA/CD protocol. — Full Duplex mode - capable of simultaneously transmitting and receiving without reporting a collision. The DP83816's 10 Mb/s ENDEC is designed to encode and decode simultaneously. 3.11.2 Smart Squelch The smart squelch is responsible for determining when valid data is present on the differential receive inputs (RD± ...

Page 27

... Link Integrity Monitor, but will not be able to detect that its transmission is not propagating to the other station. If three or more FEFI IDLE patterns are detected by the DP83816, then bit 4 of the Basic Mode Status register is set to one until read by management, additionally bit 7 of the PHY Status register is also set. ...

Page 28

... MDC bit (bit 6). Control of data direction is done by the MDDIR bit (bit 5). Data is either recorded or written by the MDIO bit (bit 4). Setting the MDDIR bit allows the DP83816 to drive the MDIO pin. Setting the MDDIR bit allows the MDIO bit to reflect the value of the MDIO pin. See Section 4.2.3 ...

Page 29

Functional Description MDC Z MDIO (STA PHY Address Opcode Idle Start (Write) (PHYAD = 0Ch) Figure 3-16 Typical MDC/MDIO Write Operation The receive interface ...

Page 30

... Register Set 4.1 Configuration Registers The DP83816 implements a PCI version 2.2 configuration register space. This allows a PCI BIOS to "soft" configure the DP83816. Software Reset has no effect on configuration registers. Hardware Reset returns all configuration registers to their hardware reset state. For all unused registers, writes are ignored, and reads return 0. ...

Page 31

... Unused (reads return 0) 9 FBBEN Fast Back-to-Back Enable Set the PCI BIOS to enable the DP83816 to do Fast Back-to-Back transfers (FBB transfers as a master is not implemented in the current revision). 8 SERREN SERRN Enable When SERREN and PERRSP are set, DP83816 will generate SERRN during target cycles when an address parity error is detected from the system ...

Page 32

... PERRSP Parity Error Response When set, DP83816 will assert PERRN on the detection of a data parity error when acting as the target, and will sample PERRN when acting as the initiator. Also, setting PERRSP allows SERREN to enable the assertion of SERRN. When reset, all address and data parity errors are ignored and neither SERRN nor PERRN are asserted ...

Page 33

... IOBASE Base I/O Address This is set by software to the base I/O address for the Operational Register Map. 7-2 IOSIZE Size indication Read back as 0. This allows the PCI bridge to determine that the DP83816 requires 256 bytes of I/O space. 1 Unused (reads return 0). 0 IOIND I/O Space Indicator Set DP83816 to indicate that DP83816 is capable of being mapped into I/O space ...

Page 34

... Prefetchable Set DP83816. Read Only. 2-1 MEMLOC Location Selection Set DP83816. This indicates that the base register is 32-bits wide and can be placed anywhere in the 32-bit memory space. Read Only. 0 MEMIND Memory Space Indicator Set DP83816 to indicate that DP83816 is capable of being mapped into memory space. Read Only ...

Page 35

... ROMEN ROM Enable This is used by the PCI BIOS to enable accesses to boot ROM. This allows the DP83816 to share the address decode logic between the boot ROM and itself. The BIOS will copy the contents of the boot ROM to system RAM before executing it. Set to 1 enables the address decode for boot ROM disabling access to operational target registers ...

Page 36

... Bit Name 31-27 PMES PME Support This 5 bit field indicates the power states in which DP83816 may assert PMEN indicates PMEN is enabled for that state indicates PMEN is inhibited in that state. XXXX1 - PMEN can be asserted from state D0 XXX1X - PMEN can be asserted from state D1 ...

Page 37

... This value can be loaded from the EEPROM. 7-2 Unused (reads return 0) 1-0 PSTATE Power State This 2 bit field is used to determine the current power state of DP83816, and to set a new power state Description 3.3Vaux Max. Current Required 320 mA 0 (self powered) ...

Page 38

... Register Set (Continued) 4.2 Operational Registers The DP83816 provides the following set of operational registers mapped into PCI memory space or I/O space. Writes to reserved register locations are ignored. Reads to reserved register locations return undefined values. Offset Tag MAC/BIU Registers 00h 04h ...

Page 39

... TXR and a RXR. This bit will read back a 1 during the reset operation, and be cleared the hardware when the reset operation is complete. EEPROM configuration information is not loaded here. 7 SWI Software Interrupt Setting this bit forces the DP83816 to generate a hardware interrupt. This interrupt is mask-able via the IMR. 6 unused 5 ...

Page 40

Register Set (Continued) 4.2.2 Configuration and Media Status Register This register allows configuration of a variety of device and phy options, and provides phy status information. Tag: CFG Offset: 0004h Bit Bit Name 31 LNKSTS Link Status Link status ...

Page 41

... PESEL Parity Error Detection Action This bit controls the assertion of SERR when a data parity error is detected while the DP83816 is acting as the bus master. When set, parity errors will not result in the assertion of SERR. When reset, parity errors will result in the assertion of SERR, indicating a system error. This bit should be set to a one by software if the driver can handle recovery from and reporting of data parity errors ...

Page 42

... Controls the value of the MDC pin. When set, the MDC pin is 1; when clear the MDC pin is 0. R/W 5 MDDIR MII Management Direction Controls the direction of the MDIO pin. When set, DP83816 drives the MDIO pin. When clear MDIO bit reflects the current state of the MDIO pin. R/W 4 MDIO MII Management Data Software access to the MDIO pin (see MDDIR above) ...

Page 43

Register Set (Continued) PMATCH[47:0] can be accessed via the combination of the RFCR (offset 0048h) and RFDR (offset 004Ch) registers. PMATCH holds the Ethernet address info. See Section 3.3.3. The lower 8 bits of the checksum value should be ...

Page 44

... SSERR Signaled System Error The DP83816 signaled a system error on the PCI bus. 21 RMABT Received Master Abort The DP83816 received a master abort generated as a result of target not responding. 20 RTABT Received Target Abort The DP83816 received a target abort on the PCI bus. 19-17 unused ...

Page 45

Register Set (Continued) Bit Bit Name 7 TXDESC Tx Descriptor This event is signaled after a transmit descriptor when the INTR bit in the CMDSTS field has been updated. 6 TXOK Tx Packet OK This event is signaled after ...

Page 46

Register Set (Continued) Bit Bit Name 20 RTABT Received Target Abort When this bit is 0, the corresponding bit in the ISR will not cause an interrupt. 19-17 unused 16 RXSOVR Rx Status FIFO Overrun When this bit is ...

Page 47

Register Set (Continued) 4.2.8 Interrupt Enable Register The Interrupt Enable Register controls the hardware INTR signal. Tag: IER Offset: 0018h Bit Bit Name 31-1 unused 0 IE Interrupt Enable When set to 1, the hardware INTR signal is enabled. ...

Page 48

... MLB MAC Loopback Setting this bit places the DP83816 MAC into a loopback state which routes all transmit traffic to the receiver, and disables the transmit and receive interfaces of the MII this bit allows normal MAC operation. The transmitter and receiver must be disabled before enabling the loopback mode. (Packets received during MLB mode will reflect loopback status in the receive descriptor’ ...

Page 49

Register Set (Continued) Bit Bit Name 27-26 IFG Interframe Gap Time This field allows the user to adjust the interframe gap time below the standard 9.6 960ns @100 Mb/s. The time can be programmed from 9.6 @100 Mb/s. Note ...

Page 50

Register Set (Continued) 4.2.12 Receive Descriptor Pointer Register This register points to the current Receive Descriptor. Tag: RXDP Offset: 0030h Bit Bit Name 31-2 RXDP Receive Descriptor Pointer The current value of the receive descriptor pointer. When the receive ...

Page 51

... Register Set (Continued) 4.2.13 Receive Configuration Register This register is used to set the receive configuration for DP83816. Receive properties such as accepting error packets, runt packets, setting the receive drain threshold etc. are controlled here. Tag: RXCFG Offset: 0034h Bit Bit Name ...

Page 52

Register Set (Continued) Bit Bit Name 5-1 DRTH Rx Drain Threshold Specifies the drain threshold in units of 8 bytes. When the number of bytes in the receive FIFO reaches this value (times 8), or the FIFO contains a ...

Page 53

... If another CLKRUN-enabled device in the system encounters a clock start or continue event, the cycle of assertions and de-assertions of CLKRUNN will cause the DP83816 clock mux to switch the clock to the RX block back and forth between the PCI clock and the X1 clock until the event completes. ...

Page 54

... Wake Command/Status Register The WCSR register is used to configure/control and monitor the DP83816 Wake On LAN logic. The Wake On LAN logic is used to monitor the incoming packet stream while in a low-power state, and provide a wake event to the system if the desired packet type, contents, or Link change are detected. ...

Page 55

... RXDP. The incoming packet can then be transferred into Description host memory for processing. Note that the wake packet is retained for processing - this is a feature of the DP83816. In addition to the above Wake on LAN features, DP83816 also provides Wake on Pattern Matching, Wake on DA match and Wake on Magic Packet ...

Page 56

... Pause Control/Status Register The PCR register is used to control and monitor the DP83816 Pause Frame reception logic. The Pause Frame reception Logic is used to accept 802.3x Pause Frames, extract the pause length value, and initiate a TX MAC pause interval of the specified number of slot times. ...

Page 57

... Register Set (Continued) 4.2.17 Receive Filter/Match Control Register The RFCR register is used to control and configure the DP83816 Receive Filter Control logic. The Receive Filter Control Logic is used to configure destination address filtering of incoming packets. Tag: RFCR Offset: 0048h Bit Bit Name ...

Page 58

Register Set (Continued) Bit Bit Name 9-0 RFADDR Receive Filter Extended Register Address Selects which internal receive filter register is accessible via RFDR: Perfect Match Register (PMATCH) 000h 002h 004h Pattern Count Registers (PCOUNT) 006h 008h SecureOn Password Register ...

Page 59

Register Set (Continued) 4.2.19 Receive Filter Logic The Receive Filter Logic supports a variety of techniques for qualifying incoming packets. The most basic filtering options include Accept All Broadcast, Accept All Multicast and Accept All Unicast packets. These options ...

Page 60

Register Set (Continued) Pattern3Word7F Pattern2Word7F Pattern3Word7E Pattern2Word7E Pattern3Word1 Pattern2Word1 Pattern3Word0 Pattern2Word0 Pattern1Word3F Pattern0Word3F Pattern1Word3E Pattern0Word3E Pattern1Word1 Pattern0Word1 Pattern1Word0 Pattern0Word0 Bit# Figure 4-1 Pattern Buffer Memory - 180h words (word = 18bits) byte1 byte0 byte1 byte0 byte1 byte0 byte1 byte0 ...

Page 61

Register Set (Continued) Example: Pattern match on the following destination addresses: 02-00-03-01-04-02 12-10-13-11-14-12 22-20-23-21-24-22 32-30-33-31-34-32 set $PATBUF01 = 280 set $PATBUF23 = 300 # write counts iow l $RFCR (0006) iow l $RFDR (0406) iow l $RFCR (0008) iow ...

Page 62

Register Set (Continued) Accept on Multicast or Unicast Hash Multicast and Unicast addresses may be further qualified by use of the receive filter hash functions. An internal 512 bit (64 byte) RAM-based hash table is used to perform imperfect ...

Page 63

... Tag: SRR Offset: 0058h Bit Bit Name 31-16 unused (reads return 0) 15-0 Rev Revision Level SRR register value for the DP83816 silicon. DP83816AVNG Size: 32 bits Access: Read Write Description Size: 32 bits Access: Read Write Description Size: 32 bits Access: Read Only Description ...

Page 64

Register Set (Continued) 4.2.23 Management Information Base Control Register The MIBC register is used to control access to the statistics block and the warning bits and to control the collection of management information statistics. Tag: MIBC Offset: 005ch Bit ...

Page 65

... All MIB counters are cleared to 0 when read. Due to cost and space limitations, the counter bit widths provided in the DP83816 MIB are less than the bit widths called for in the above specifications assumed that management agent software will maintain a set of fully compliant statistic values (" ...

Page 66

Register Set (Continued) 4.3 Internal PHY Registers The Internal Phy Registers are only 16 bits wide. Bits [31:16] are not used. In the following register definitions under the ‘Default’ heading, the following definitions hold true: — RW=Read Write access ...

Page 67

Register Set (Continued) Bit Bit Name 7 Collision Test Collision Test: Default Collision test enabled 0 = Normal operation When set, this bit will cause the COL signal to be asserted in response to the assertion ...

Page 68

... Organizationally Unique Identifier (OUI), the vendor's model number and the model revision number. A PHY may return a value of zero in each of the 32 bits of the PHY Identifier if desired. The PHY Identifier is intended to support network management. National Semiconductor's IEEE assigned OUI is 080017h. Tag: PHYIDR1 ...

Page 69

Register Set (Continued) Bit Bit Name 9 T4 100BASE-T4 Support: Default 100BASE-T4 is supported by the local device 0 = 100BASE-T4 not supported 8 TX_FD 100BASE-TX Full Duplex Support: Default: dependent on setting of the ANEG_SEL ...

Page 70

Register Set (Continued) Bit Bit Name 5 10 10BASE-T Support 10BASE-T is supported by the Link Partner 0 = 10BASE-T not supported by the Link Partner 4:0 Selector Protocol Selection Bits: Link Partners’s binary encoded protocol selector. ...

Page 71

Register Set (Continued) Bit Bit Name 12 ACK2 Acknowledge2: Default Will comply with message 0 = Cannot comply with message Acknowledge2 is used by the next page function to indicate that Local Device has the ability ...

Page 72

Register Set (Continued) Bit Bit Name 6 Remote Fault Remote Fault Remote Fault condition detected (cleared on read of BMSR (address 0x84) register or by reset). Fault criteria: notification from Link Partner of Remote Fault via Auto-Negotiation ...

Page 73

Register Set (Continued) 4.3.10 MII Interrupt Control Register This register implements the MII Interrupt PHY Specific Control register. Sources for interrupt generation include: Link State Change, Jabber Event, Remote Fault, Auto-Negotiation Complete or any of the counters becoming half-full. ...

Page 74

Register Set (Continued) 4.3.12 False Carrier Sense Counter Register This counter provides information required to implement the “FalseCarriers” attribute within the MAU managed object class of Clause 30 of the IEEE 802.3u specification. Tag: FCSCR Offset: 00D0h Bit Bit ...

Page 75

Register Set (Continued) Bit Bit Name 8 SD_OPTION Signal Detect Option Enhanced signal detect algorithm 0 = Reduced signal detect algorithm 7:6 Reserved Reserved: Read FORCE_100_OK Force 100 Mb/s Good Link Forces ...

Page 76

Register Set (Continued) 4.3.16 10BASE-T Status/Control Register Tag: TBTSCR Offset: 00E8h Bit Bit Name 15:9 Unused 8 LOOPBACK_10_DIS 10BASE-T Loopback Disable: This bit is OR’ed with bit 14 (Loopback) in the BMCR Mb/s Loopback is enabled ...

Page 77

... Set the data consumer of the descriptor to return ownership to the data producer of the descriptor. For transmit descriptors, the driver is the data producer, and the DP83816 is the data consumer. For receive descriptors, the DP83816 is the data producer, and the driver is the data consumer. ...

Page 78

Buffer Management (Continued Packet OK 26-16 --- 15-12 11-0 SIZE Descriptor Byte Count Set to the size in bytes of the data. Bit Tag Description 26 TXA Transmit Abort 25 TFU Transmit FIFO Underrun 24 CRS Carrier ...

Page 79

... To represent a packet in a single descriptor, the MORE bit in the cmdsts field is set to 0. Table 5-4 Receive Status Bit Definitions Set DP83816 when the receive was aborted, the value of this bit always equals RXO. Exists for backward compatibility. Set DP83816 to indicate that a receive overrun condition occurred ...

Page 80

... MORE bit in all descriptors except the last one in the packet. Ethernet applications (bridges, switches, routers, etc.) can optimize memory utilization by using a single small buffer per receive descriptor, and allowing the DP83816 hardware to use the minimum number of buffers necessary to store an incoming packet. link ...

Page 81

... Packet When the CR:TXE bit is set to 1 (regardless of the current state), and the DP83816 transmitter is idle, then DP83816 will read the contents of the current transmit descriptor into the TxDescCache. The DP83816’s TxDescCache can hold a single fragment pointer/count combination. ...

Page 82

Buffer Management (Continued) State Event txIdle CR:TXE && !CTDD CR:TXE && CTDD txDescRefr XferDone txDescRead XferDone && OWN XferDone && !OWN txFIFOblock FifoAvail (descCnt == 0) && MORE (descCnt == 0) && !MORE txFragRead XferDone txDescWrite XferDone txAdvance link ...

Page 83

... An available DP83816 transmit descriptor is allocated. The fragment information is copied from the NOS specific data structure(s) to the DP83816 transmit descriptor. 3. The driver adds this descriptor to it’s internal list of transmit descriptors awaiting transmission and sets the OWN bit the internal list was empty (this descriptor ...

Page 84

... When the RXE bit is set the CR register (regardless of the current state), and the DP83816 receive state machine is idle, then DP83816 will read the contents of the descriptor referenced by RXDP into the Rx Descriptor Cache. The Rx Descriptor Cache allows the DP83816 to 5.3.1 Receive State Machine ...

Page 85

Buffer Management (Continued) State Event rxIdle CR:RXE && !CRDD CR:RXE && CRDD rxDescRefr XferDone rxDescRead XferDone && !OWN XferDone && OWN rxFIFOblock FifoReady (descCnt == 0) && (rxPktBytes > 0) rxPktBytes == 0 rxFragWrite XferDone rxDescWrite XferDone rxAdvance link!= ...

Page 86

... Receive Data Flow With a bus mastering architecture, some number of buffers and descriptors for received packets must be pre-allocated when the DP83816 is initialized. The number allocated will directly affect the system's tolerance to interrupt latency. The more buffers that you pre-allocate, the longer the ...

Page 87

... PME Enable bit is set to 0 for normal operation. 6.4 Power Management The Power Management Specification presents a low-level hardware interface to PCI devices for the purpose of saving power. The DP83816 supports power states D0, D1, D2, D3hot, and D3cold as defined in the PCI Power Management increasing power reduction in the order they are listed. ...

Page 88

... Wake Command/Status Register (WCSR). (Continued) 6.5.1 Entering WOL Mode The following steps are required to place the DP83816 into WOL mode: 1. Disable the receiver by writing the Receiver Dis- able bit 3 (RXD) in the Command Register (CR - offset 00h in operational registers) ...

Page 89

... If the Power Management state is D3cold, the system will assert PCI reset, stop the PCI clock, and remove power from the PCI bus. 6.6.2 Exiting Sleep Mode The following steps are required to bring the DP83816 out of Sleep Mode the Power Management state is D3cold, the system will assert PCI reset, restore PCI bus power, and restart the PCI clock ...

Page 90

DC and AC Specifications Absolute Maximum Ratings Supply Voltage ( Input Voltage ( Output Voltage (V ) OUT Storage Temperature Range (T ) STG Power Dissipation ( Lead Temp ...

Page 91

DC and AC Specifications 7.2 AC Specifications 7.2.1 PCI Clock Timing PCICLK Number PCICLK Low Time 7.2.1.1 PCICLK High Time 7.2.1.2 PCICLK Cycle Time 7.2.1.3 7.2.2 X1 Clock Timing X1 Number X1 Low Time 7.2.2.1 X1 High Time 7.2.2.2 ...

Page 92

... EE Disabled Note: Minimum reset complete time is a function of the PCI, transmit, and receive clock frequencies. Note: Minimum access after reset is dependent on PCI clock frequency. Accesses to DP83816 during this period will be ignored. Note disabled for non power on reset. 7.2.4 Non Power On Reset ...

Page 93

DC and AC Specifications 7.2.5 POR PCI Inactive VDD T1 EESEL TPRD Number VDD stable to EE access 7.2.5.1 VDD indicates the digital supply (AUX power plane, except PCI bus power.) Guaranteed by design. EE Configuration load duration 7.2.5.2 ...

Page 94

DC and AC Specifications 7.2.6 PCI Bus Cycles The following table parameters apply to ALL the PCI Bus Cycle Timing Diagrams contained in this section. Number Input Setup Time 7.2.6.1 Input Hold Time 7.2.6.2 Output Valid Delay 7.2.6.3 Output ...

Page 95

DC and AC Specifications PCI Configuration Write PCICLK T1 T2 FRAMEN AD[31:0] Addr C/BEN[3:0] Cmd T2 T1 IDSEL T1 IRDYN TRDYN DEVSELN T1 T2 PAR PERRN PCI Bus Master Read PCICLK T3 T3 ...

Page 96

DC and AC Specifications PCI Bus Master Write PCICLK T3 FRAMEN T3 AD[31:0] Addr T3 C/BEN[3:0] Cmd IRDYN TRDYN DEVSELN PAR PERRN PCI Target Read PCICLK T2 T1 FRAMEN T1 T2 AD[31:0] Addr C/BEN[3:0] Cmd BE ...

Page 97

DC and AC Specifications PCI Target Write PCICLK T1 T2 FRAMEN AD[31:0] Addr C/BEN[3:0] Cmd T1 IRDYN TRDYN DEVSELN T1 T2 PAR PERRN PCI Bus Master Burst Read PCICLK T3 FRAMEN T4 T3 ...

Page 98

DC and AC Specifications PCI Bus Master Burst Write PCICLK T3 FRAMEN T3 AD[31:0] Addr T3 C/BEN[3:0] Cmd IRDYN TRDYN DEVSELN PAR PERRN PCI Bus Arbitration PCICLK T5 REQN GNTN (Continued Data Data Data T4 ...

Page 99

DC and AC Specifications 7.2.7 EEPROM Auto-Load EECLK EESEL EEDO EEDI Number EECLK Cycle Time 7.2.7.1 EECLK Delay from EESEL Valid 7.2.7.2 EECLK Low to EESEL Invalid 7.2.7.3 EECLK to EEDO Valid 7.2.7.4 EEDI Setup Time to EECLK 7.2.7.5 ...

Page 100

DC and AC Specifications 7.2.8 Boot PROM/FLASH T13 MCSN T17 MRDN MA[15:0] MD[7:0] MWRN Number Data Setup Time to MRDN Invalid 7.2.8.1 Address Setup Time to MRDN 7.2.8.2 Address Hold Time from MRDN Invalid 7.2.8.3 Address Invalid from MWRN ...

Page 101

DC and AC Specifications 7.2.9 100BASE-TX Transmit TPTD+/− T2 TPTD+/− eye pattern Parameter Description 100 Mb/s TPTD+/− Rise and 7.2.9.1 Fall Times 100 Mb/s Rise/Fall Mismatch 100 Mb/s TPTD+/− 7.2.9.2 Transmit Jitter Note: Normal Mismatch is the difference between ...

Page 102

DC and AC Specifications 7.2.10 10BASE-T Transmit End of Packet TPTD+/- TPTD+/- Parameter Description End of Packet High Time 7.2.10.1 (with ‘0’ ending bit) End of Packet High Time 7.2.10.2 (with ‘1’ ending bit) 7.2.11 10 Mb/s Jabber Timing ...

Page 103

DC and AC Specifications 7.2.12 10BASE-T Normal Link Pulse Parameter Description Pulse Width 7.2.12.1 Pulse Period 7.2.12.2 Note: These specifications represent both transmit and receive timings 7.2.13 Auto-Negotiation Fast Link Pulse (FLP) T1 Fast Link Pulse(s) Parameter Description Clock, ...

Page 104

DC and AC Specifications 7.2.14 Media Independent Interface (MII) MDC MDIO(output) MDIO(input) RXCLK RXD[3:0] RXDV,RXER TXCLK TXD[3:0] TXEN Number MDC to MDIO Valid 7.2.14.1 MDIO to MDC Setup 7.2.14.2 MDIO from MDC Hold 7.2.14.3 RXD to RXCLK Setup 7.2.14.4 ...

Page 105

Notes: 105 www.national.com ...

Page 106

... BANNED SUBSTANCE COMPLIANCE National Semiconductor certifies that the products and packing materials meet the provisions of the Customer Products Stewardship Specification (CSP-9-111C2) and the Banned Substances and Materials of Interest Specification (CSP-9-111S2) and contain no “Banned Substances” as defined in CSP-9-111S2. ...

Related keywords