DP83816 DP83816 10/100 Mb/s Integrated PCI Ethernet Media Access Controller and Physical Layer (MacPhyter-II) Literature Number: SNLS164D
DP83816 10/100 Mb/s Integrated PCI Ethernet Media Access Controller and Physical Layer (MacPHYTER-II™) General Description — Support for IEEE 802.3x Full duplex flow control — Extremely flexible Rx packet filtration including: single DP83816 is a single-chip 10/100 Mb/s Ethernet Controller address perfect filter with MSb masking, broadcast, 512 for the PCI bus.
.12.3 MII Serial Management Access . . . . . . . . . . . . . 28 1.0 Connection Diagram . . . . . . . . . . . . . . . . . . 4 3.12.4 Serial Management Access Protocol . . . . . . . . . 28 1.1 144 LQFP Package (VNG) . . . . . . . . . . . . 4 3.12.5 Nibble-wide MII Data Interface . . . . . . . . . . . . . . 28 2.0 Pin Description . . . . . . . . . . . . . . . . . . . . . . 5 3.12.6 Collision Detection . . . . . . . . . . . . . . . . . . . . . . . 29 3.0 Functional Description . . . . . . . . . . . . . . .
5.2 Sleep Mode . . . . . . . . . . . . . . . . . . . . . . . 89 6.6.1 Entering Sleep Mode . . . . . . . . . . . . . . . . . . . . . . 89 6.6.2 Exiting Sleep Mode . . . . . . . . . . . . . . . . . . . . . . . . 89 Transmit Architecture . . . . . . . . . . . . . . . 81 6.7 Pin Configuration for Power Management 89 7.0 DC and AC Specifications . . . . . . . . . . . . . 90 5.3 Receive Architecture . . . . . . . . . . . . . . . . 84 7.1 DC Specifications . . . . . . . . . . . . . . . . . . . 90 5.3.
DP83816 1.0 Connection Diagram 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 NC VSS NC AUXVDD VSS TXCLK TXEN CRS COL/MA16 AUXVDD VSS TXD3/MA15 TXD2/MA14 TXD1/MA13 TXD0/MA12 AUXVDD VSS C1 X2 X1 VSS RXDV/MA11 RXER/MA10 RXOE RXD3/MA9 RXD2/MA8 RXD1/MA7 AUXVDD VSS RXD0/MA6 RXCLK MDC MDIO MA5 MA4/EECLK MA3/EEDI 1.
DP83816 2.0 Pin Description PCI Bus Interface Symbol LQFP Pin No(s) Dir Description 66, 67, 68, 70, 71, 72, 73, 74, 78, 79, 81, 82, 83, 86, 87, 88, 101, 102, 104, 105, 106, 108, 109, 110, 112, 113, 115, 116, 118, 119, 120, 121 I/O Address and Data: Multiplexed address and data bus. As a bus master, the DP83816 will drive address during the first bus phase. During subsequent phases, the DP83816 will either read or write data expecting the target to increment its address pointer.
DP83816 2.0 Pin Description (Continued) PCI Bus Interface LQFP Pin No(s) Dir Description SERRN 98 I/O System Error: This signal is asserted low by DP83816 during address parity errors and system errors if enabled. STOPN 96 I/O Stop: This signal is asserted low by the target device to request the master device to stop the current transaction.
DP83816 2.0 Pin Description (Continued) Media Independent Interface (MII) LQFP Pin No(s) Dir Description COL 28 I Collision Detect: The COL signal is asserted high asynchronously by the external PMD upon detection of a collision on the medium. It will remain asserted as long as the collision condition persists. CRS 29 I Carrier Sense: This signal is asserted high asynchronously by the external PMD upon detection of a non-idle medium.
DP83816 2.0 Pin Description (Continued) 100BASE-TX/10BASE-T Interface Symbol TPTDP, TPTDM LQFP Pin No(s) Dir Description 54, 53 A-O Transmit Data: Differential common output driver. This differential common output is configurable to either 10BASE-T or 100BASE-TX signaling: 10BASE-T: Transmission of Manchester encoded 10BASE-T packet data as well as Link Pulses (including Fast Link Pulses for Auto-Negotiation purposes). 100BASE-TX: Transmission of ANSI X3T12 compliant MLT-3 data.
DP83816 2.0 Pin Description (Continued) Clock Interface LQFP Pin No(s) Dir Description X1 17 I Crystal/Oscillator Input: This pin is the primary clock reference input for the DP83816 and must be connected to a 25 MHz 0.005% (50ppm) clock source. The DP83816 device supports either an external crystal resonator connected across pins X1 and X2, or an external CMOS-level oscillator source connected to pin X1 only.
DP83816 2.0 Pin Description (Continued) External Reference Interface Symbol VREF LQFP Pin No(s) Dir Description 40 I Bandgap Reference: External current reference resistor for internal Phy bandgap circuitry. The value of this resistor is 10KΩ 1% metal film (100 ppm/oC) which must be connected from the VREF pin to analog ground.
DP83816 consists of a MAC/BIU (Media Access Controller/Bus Interface Unit), a physical layer interface, SRAM, and miscellaneous support logic. The MAC/BIU includes the PCI bus, BIOS ROM and EEPROM interfaces, TPRDP/M 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. RAM BIST Logic SRAM RXFilter .
DP83816 3.0 Functional Description (Continued) 32 15 32 Data FIFO 4 32 Tx Buffer Manager PCI Bus 32 32 32 PCI Bus Interface 32 Data FIFO 4 Rx MAC Rx Buffer Manager 32 32 MIB Rx Filter Pkt Recog Logic 16 SRAM Physical Layer Interface Tx MAC MAC/BIU 93C46 Serial EEPROM Boot ROM/ Flash Figure 3-2 MAC/BIU Functional Block Diagram 3.1 MAC/BIU The MAC/BIU is a derivative design from the DP83810 (Euphrates).
Little Endian (CFG:BEM=0): The byte orientation for receive and transmit data in system memory is as follows: 31 24 23 16 15 8 7 0 Byte 3 Byte 2 Byte 1 Byte 0 MSB C/BE[3] C/BE[2] C/BE[1] LSB C/BE[0] Big Endian (CFG:BEM=1): The byte orientation for receive and transmit data in system memory is as follows: 31 24 23 16 15 8 7 Byte 0 Byte 1 Byte 2 LSB C/BE[3] C/BE[2] C/BE[1] transmit and receive.
DP83816 conforms to 3.3V AC/DC specifications, but has 5V tolerant inputs. PA 60b SFD DA 4b 6B SA LEN Data FCS 6B 2B 46B-1500B 4B 3.3.2 Boot PROM The BIOS ROM interface allows the DP83816 to read from and write data to an external ROM/Flash device. 3.3.3 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.
DP83816 3.
3.4 Physical Layer The DP83816 has a full featured physical layer device with integrated PMD sub-layers to support both 10BASE-T and 100BASE-TX Ethernet protocols. The physical layer is designed for easy implementation of 10/100 Mb/s Ethernet home or office solutions. It interfaces directly to twisted pair media via an external transformer.
The LED100N pin indicates a good link at 100 Mb/s data rate. The standard CMOS driver goes low when this occurs. In 100BASE-T mode, link is established as a result of input receive amplitude compliant with TP-PMD 3.4.4 Auto-Negotiation Restart specifications which will result in internal generation of Once Auto-Negotiation has completed, it may be restarted signal detect.
3.6 Half Duplex vs. Full Duplex The DP83816 supports both half and full duplex operation at both 10 Mb/s and 100 Mb/s speeds. Half-duplex is the standard, traditional mode of operation which relies on the CSMA/CD protocol to handle collisions and network access. In Half-Duplex mode, CRS responds to both transmit and receive activity in order to maintain compliance with IEEE 802.3 specification.
DP83816 3.0 Functional Description (Continued) TXCLK TXD(3:0)/TXER FROM CGM 4B5B CODEGROUP ENABLER MUX BP_4B5B 5B PARALLEL TO SERIAL SCRAMBLER MUX BP_SCR MUX NRZ TO NRZI ENCODER 100BASE-TX LOOPBACK BINARY TO MLT-3/ COMMON DRIVER TD +/- Figure 3-6 100BASE-TX Transmit Block Diagram 3.9.1 Code-group Encoding and Injection 3.9.2 Scrambler The code-group encoder converts 4-bit (4B) nibble data generated by the MAC into 5-bit (5B) code-groups for transmission.
3.9.3 NRZ to NRZI Encoder 3.9.4 Binary to MLT-3 Convertor / Common Driver 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.
DP83816 3.0 Functional Description (Continued) Table 3-1 4B5B Code-Group Encoding/Decoding Name INVALID CODES V V V V V V V V V V PCS 5B Code-group Description/4B Value 00000 00001 00010 00011 00101 00110 01000 01100 10000 11001 The 100BASE-TX MLT-3 signal sourced by the TD± common driver output pins is slew rate controlled. This should be considered when selecting AC coupling magnetics to ensure TP-PMD Standard compliant transition times (3 ns < Tr < 5 ns). 3.10.
RXD(3:0)/RXER RXCLK BP_RX SD MUX MUX BP_4B5B 4B/5B DECODER LINK INTEGRITY MONITOR SERIAL TO PARALLEL RX_DATA VALID CODE GROUP ALIGNMENT SSD DETECT MUX BP_SCR DESCRAMBLER CLOCK CLOCK RECOVERY MODULE NRZI TO NRZ DECODER MLT-3 TO BINARY DECODER DIGITAL ADAPTIVE EQUALIZATION AGC SIGNAL DETECT INPUT BLW COMPENSATION ADC RD +/- Figure 3-8 100 M/bs Receive Block Diagram 22 www.national.com DP83816 3.
DP83816 3.0 Functional Description (Continued) Figure 3-9 100BASE-TX BLW Event Diagram 3.10.3 Digital Adaptive Equalization When transmitting data at high speeds over copper twisted pair cable, frequency dependent attenuation becomes a concern. In high-speed twisted pair signalling, the frequency content of the transmitted signal can vary greatly during normal operation based primarily on the randomness of the scrambled data stream.
DP83816 3.0 Functional Description (Continued) 2ns/div Figure 3-12 MLT-3 Signal Measured at AII after 50 meters of CAT V cable Figure 3-10 EIA/TIA Attenuation vs. Frequency for 0, 50, 100, 130 & 150 meters of CAT V cable 2ns/div 2ns/div Figure 3-11 MLT-3 Signal Measured at AII after 0 meters of CAT V cable Figure 3-13 MLT-3 Signal Measured at AII after 100 meters of CAT V cable 3.10.
3.10.6 Clock Recovery Module The Clock Recovery Module (CRM) accepts 125 Mb/s MLT3 data from the equalizer. The DPLL locks onto the 125 Mb/s data stream and extracts a 125 MHz recovered clock. The extracted and synchronized clock and data are used as required by the synchronous receive operations as generally depicted in Figure 3-8.
3.11 10BASE-T Transceiver Module The squelch circuitry employs a combination of amplitude and timing measurements (as specified in the IEEE 802.3 The 10BASE-T Transceiver Module is IEEE 802.3 10BASE-T standard) to determine the validity of data on compliant. It includes the receiver, transmitter, collision, the twisted pair inputs (refer to Figure 3-14). heartbeat, loopback, jabber, and link integrity functions, as defined in the standard.
3.11.5 Jabber Function The jabber function monitors the DP83816's output and disables the transmitter if it attempts to transmit a packet of longer than legal size. A jabber timer monitors the transmitter and disables the transmission if the transmitter is active for approximately 20-30 ms. Once disabled by the jabber function, the transmitter stays disabled for the entire time that the ENDEC module's internal transmit enable is asserted.
3.12.3 MII Serial Management Access 3.12.4 Serial Management Access Protocol Management access to the PHY(s) is done via Management Data Clock (MDC) and Management Data Input/Output (MDIO). MDC has a maximum clock rate of 25 MHz and no minimum rate. The MDIO line is bi-directional and may be shared by up to 32 devices. The internal PHY counts as one of these 32 devices. The serial control interface clock (MDC) has a maximum clock rate of 25 MHz and no minimum rate.
DP83816 3.0 Functional Description (Continued) MDC MDIO Z Z (STA) Z Idle 0 1 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Start Opcode (Write) PHY Address (PHYAD = 0Ch) Register Address (00h = BMCR) TA Register Data Z Idle Figure 3-16 Typical MDC/MDIO Write Operation The receive interface consists of a nibble wide data bus RXD[3:0], a receive error signal RXER, a receive data valid flag RXDV, and a receive clock RXCLK for synchronous transfer of the data.
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.
4.1.2 Configuration Command and Status Register The CFGCS register has two parts. The upper 16-bits (31-16) are devoted to device status. A status bit is reset whenever the register is written, and the corresponding bit location is a 1. The lower 16-bits (15-0) are devoted to command and are used to configure and control the device.
DP83816 4.0 Register Set (Continued) Bit Bit Name 6 PERRSP Description 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.
4.1.4 Configuration Latency Timer Register This register gives status and controls such miscellaneous functions as BIST, Latency timer and Cache line size. Tag: CFGLAT Offset: 0Ch Bit Bit Name 31 BISTCAP Size: 32 bits Access: Read Write Hard Reset: 00000000h Soft Reset: Unchanged Description BIST Capable Reads will always return 0. 30 BISTEN BIST Enable Reads will return a 0, writes are ignored. 29-16 Reserved Reads will return a 0, writes are ignored.
4.1.6 Configuration Memory Address Register This register specifies the Base Memory address which is required to build an address map during configuration. It also specifies the number of bytes required as well as an indication that it can be mapped into memory space.
DP83816 4.0 Register Set (Continued) 4.1.8 Boot ROM Configuration Register Tag: CFGROM Offset: 30h Bit Bit Name 31-16 ROMBASE 15-11 ROMSIZE Size: 32 bits Access: Read Write Hard Reset: 00000000h Soft Reset: unchanged Description ROM Base Address Set to the base address for the boot ROM. ROM Size Set to 0 indicating a requirement for 64K bytes of Boot ROM space. Read only. 10-1 unused (reads return 0) 0 ROMEN ROM Enable This is used by the PCI BIOS to enable accesses to boot ROM.
4.1.10 Configuration Interrupt Select Register This register stores the interrupt line number as identified by the POST software that is connected to the interrupt controller as well as DP83816 desired settings for maximum latency and minimum grant. Max latency and Min latency can be loaded from the EEPROM.
DP83816 4.0 Register Set (Continued) Bit 24-22 Bit Name Description AUX_CURRENT Aux_Current This 3 bit field reports the 3.3Vaux auxiliary current requirements for the PCI function. If PMEN generation from D3cold is not supported by the function(PMCAP[31]), this field returns a value of "000b" when read. 21 DSI Bit 3.3Vaux 24 23 22 Max.
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.
4.2.1 Command Register This register is used for issuing commands to DP83816. These commands are issued by setting the corresponding bits for the function. A global software reset along with individual reset and enable/disable for transmitter and receiver are provided here.
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 Size: 32 bits Offset: 0004h Bit Bit Name 31 LNKSTS Access: Read Write Hard Reset: 00000000h Soft Reset: 00000000h Description Link Status Link status of the internal phy. Asserted when link is good. RO 30 SPEED100 Speed 100 Mb/s Speed 100 Mb/s indicator for internal phy. Asserted when speed is set or has negotiated to 100 Mb/s.
DP83816 4.0 Register Set (Continued) Bit Bit Name 10 PHY_RST Description Reset internal Phy Asserts reset to internal phy. Can be used to cause phy to reload options from the CFG register. This bit does not self clear when set. R/W 9 PHY_DIS Disable internal Phy When set to a 1, this bit forces the internal phy to its low-power state. R/W 8 EUPHCOMP DP83810 Descriptor Compatibility When set, DP83816 will use DP83810 compatible (but single fragment) descriptor format.
4.2.3 EEPROM Access Register The EEPROM Access Register provides an interface for software access to the NMC9306 style EEPROM The default values given assume that the EEDO line has a pullup resistor to VDD. Tag: MEAR Size: 32 bits Offset: 0008h Bit 6 Access: Read Write Bit Name 31-7 Hard Reset: 00000002h Soft Reset: 00000002h Description unused MDC MII Management Clock Controls the value of the MDC pin. When set, the MDC pin is 1; when clear the MDC pin is 0.
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 55h. For the upper 8 bits, add the top 8 data bits to the lower 8 data bits for each address. Sum the resultant 8 bit values for all addresses and then add 55h. Take the 2’s complement of the final sum.
4.2.6 Interrupt Status Register This register indicates the source of an interrupt when the INTA pin goes active. Enabling the corresponding bits in the Interrupt Mask Register (IMR) allows bits in this register to produce an interrupt. When an interrupt is active, one or more bits in this register are set to a “1”. The Interrupt Status Register reflects all current pending interrupts, regardless of the state of the corresponding mask bit in the IMR. Reading the ISR clears all interrupts.
DP83816 4.0 Register Set (Continued) Bit Bit Name 7 TXDESC Description 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 the last transmit descriptor in a successful transmission attempt has been updated with valid status. 5 RXORN 4 RXIDLE Rx Overrun Set when a receive data FIFO overrun condition occurs.
DP83816 4.0 Register Set (Continued) Bit Bit Name 20 RTABT Description Received Target Abort When this bit is 0, the corresponding bit in the ISR will not cause an interrupt. 19-17 16 unused RXSOVR Rx Status FIFO Overrun When this bit is 0, the corresponding bit in the ISR will not cause an interrupt. 15 HIERR High Bits Error When this bit is 0, the corresponding bit in the ISR will not cause an interrupt.
DP83816 4.0 Register Set (Continued) 4.2.8 Interrupt Enable Register The Interrupt Enable Register controls the hardware INTR signal. Tag: IER Offset: 0018h Bit Hard Reset: 00000000h Access: Read Write Bit Name Soft Reset: 00000000h Description 31-1 0 Size: 32 bits unused IE Interrupt Enable When set to 1, the hardware INTR signal is enabled. When set to 0, the hardware INTR signal will be masked, and no interrupts will be generated. The setting of this bit has no effect on the ISR or IMR.
DP83816 4.0 Register Set (Continued) 4.2.10 Transmit Descriptor Pointer Register This register points to the current Transmit Descriptor. Tag: TXDP Offset: 0020h Bit Bit Name 31-2 TXDP Size: 32 bits Access: Read Write Hard Reset: 00000000h Soft Reset: 00000000h Description Transmit Descriptor Pointer The current value of the transmit descriptor pointer. When the transmit state machine is idle, software must set TXDP to the address of a completed transmit descriptor.
DP83816 4.0 Register Set (Continued) Bit Bit Name 27-26 IFG Description Interframe Gap Time This field allows the user to adjust the interframe gap time below the standard 9.6µs @10 Mb/s and 960ns @100 Mb/s. The time can be programmed from 9.6µs to 8.4µs @10 Mb/s and 960ns to 840ns @100 Mb/s. Note that any value other than zero may violate the IEEE 802.3 standard. The formula for the interframe gap is: 9.6µs - 0.
DP83816 4.0 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 Size: 32 bits Access: Read Write Hard Reset: 00000000h Soft Reset: 00000000h Description Receive Descriptor Pointer The current value of the receive descriptor pointer. When the receive state machine is idle, software must set RXDP to the address of an available receive descriptor.
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 31 AEP Size: 32 bits Access: Read Write Hard Reset: 00000002h Soft Reset: 00000002h Description Accept Errored Packets When set to 1, all packets with CRC, alignment, and/or collision errors will be accepted.
DP83816 4.0 Register Set (Continued) Bit Bit Name 5-1 DRTH Description 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 complete packet, the receive bus master state machine will begin the transfer of data from the FIFO to host memory. Care must be taken when setting DRTH to a value lower than the number of bytes needed to determine if packet should be accepted or rejected.
Situation 1 is a “clock continue” event and can occur if the DP83816 has not completed a pending packet transmit or receive. Situation 2 is a “clock start” event and can occur if the DP83816 has been programmed to a WOL state and it receives a wake packet, or the PCI clock has simply been stopped and the receiver has data ready to DMA.
4.2.15 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.
DP83816 4.0 Register Set (Continued) Bit Bit Name 5 WKPAT0 4 WKARP 3 WKBCP 2 WKMCP 1 WKUCP 0 WKPHY Description Wake on Pattern 0 match Enable wake on match of pattern 0. R/W Wake on ARP Enable wake on ARP packet detection. R/W Wake on Broadcast Enable wake on broadcast packet detection. R/W Wake on Multicast Enable wake on multicast packet detection. R/W Wake on Unicast Enable wake on unicast packet detection. R/W Wake on Phy Interrupt Enable wake on Phy Interrupt.
4.2.16 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. Tag: PCR Offset: 0044h Bit Bit Name 31 PSEN Size: 32 bits Access: Read Write Hard Reset: 00000000h Soft Reset: 00000000h Description Pause Enable Manually enables reception of 802.
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 31 RFEN Size: 32 bits Access: Read Write Hard Reset: 00000000h Soft Reset: 00000000h Description Rx Filter Enable When this bit is set to 1, the Rx Filter is enabled to qualify incoming packets.
DP83816 4.
DP83816 4.0 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 are enabled by setting the corresponding bit in the Receive Filter Control Register, RFCR.
DP83816 Mask Bit Byte0 Mask Bit Byte1 4.0 Register Set (Continued) 3FE Pattern2Word7F byte1 byte0 3FC Pattern3Word7E byte1 byte0 3FA Pattern2Word7E byte1 byte0 3F8 .................... .................... byte0 .................... byte1 ....................
DP83816 4.
Accept on Multicast or Unicast Hash Hash Table memory. The upper 4 bits represent the word address and the lower 5 bits select the bit within the word. If the corresponding bit is set, then the packet is accepted, otherwise the packet is rejected. The hash table memory is accessed through the RFCR and the RFDR. Refer to Figure 4-2 for a memory map. Below is example code for setting/clearing a bit in the hash table.
DP83816 4.0 Register Set (Continued) 4.2.20 Boot ROM Address Register The BRAR is used to setup the address for an access to an external ROM/FLASH device. Tag: BRAR Offset: 0050h Bit Bit Name 31 AUTOINC Size: 32 bits Access: Read Write Hard Reset: FFFFFFFFh Soft Reset: unchanged Description Auto-Increment When set, the contents of ADDR will auto increment with every 32-bit access to the BRDR register. 30-16 15-0 unused ADDR Boot ROM Address 16-bit address used to access the external Boot ROM. 4.
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.
4.2.24 Management Information Base Registers The counters provide a set of statistics compliant with the following management specifications: MIB II, Ether-like MIB, and IEEE MIB. The values provided are accessed through the various registers as shown below. 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.
4.3 Internal PHY Registers The Internal Phy Registers are only 16 bits wide. Bits [31:16] are not used.
Bit 7 6:0 Bit Name Description Collision Test Collision Test: Default: 0 1 = Collision test enabled 0 = Normal operation When set, this bit will cause the COL signal to be asserted in response to the assertion of TXEN within 512-bit times. The COL signal will be de-asserted within 4-bit times in response to the de-assertion of TXEN. Reserved Reserved: Default: 0, RO 4.3.
4.3.3 PHY Identifier Register #1 The PHY Identifier Registers #1 and #2 together form a unique identifier for the PHY section of this device. The Identifier consists of a concatenation of the 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.
DP83816 4.
DP83816 4.0 Register Set (Continued) Bit Bit Name 5 10 10BASE-T Support: 1 = 10BASE-T is supported by the Link Partner 0 = 10BASE-T not supported by the Link Partner Description 4:0 Selector Protocol Selection Bits: Link Partners’s binary encoded protocol selector. 4.3.7 Auto-Negotiate Expansion Register This register contains additional Local Device and Link Partner status information.
Bit Bit Name 12 ACK2 Acknowledge2: Default: 0 1 = 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 to comply with the message received.
Bit Bit Name Description 6 Remote Fault Remote Fault: 1 = 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 0 = No remote fault condition detected 5 Jabber Detect Jabber Detect: This bit only has meaning in 10 Mb/s mode This bit is a duplicate of the Jabber Detect bit in the BMSR register, except that it is not cleared upon a read of the PHYSTS register.
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. Note that the TINT bit operates independently of the INTEN bit. In other words, INTEN does not need to be active to generate the test interrupt.
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 15:8 7:0 Size: 16 bits Hard Reset: 0000h Access: Read Write Bit Name Description Reserved Reserved: Writes ignored, Read as 0 FCSCNT[7:0] False Carrier Event Counter: Default: 0, RW/COR This 8-bit counter increments on every false carrier event.
DP83816 4.0 Register Set (Continued) Bit Bit Name 8 SD_OPTION 7:6 Reserved 5 Description Signal Detect Option: 1 = Enhanced signal detect algorithm 0 = Reduced signal detect algorithm Reserved: Read as 0 FORCE_100_OK Force 100 Mb/s Good Link: 1 = Forces 100 Mb/s Good Link 0 = Normal 100 Mb/s operation 4:3 Reserved 2 NRZI_BYPASS Reserved: Read as 0 1:0 Reserved NRZI Bypass Enable: 1 = NRZI Bypass Enabled 0 = NRZI Bypass Disabled Reserved: Read as 0 4.3.
DP83816 4.0 Register Set (Continued) 4.3.16 10BASE-T Status/Control Register Tag: TBTSCR Offset: 00E8h Bit 15:9 8 Description Unused LOOPBACK_10_DIS 10BASE-T Loopback Disable: This bit is OR’ed with bit 14 (Loopback) in the BMCR.
The buffer management scheme used on the DP83816 allows quick, simple and efficient use of the frame buffer memory. Frames are saved in similar formats for both transmit and receive. The buffer management scheme also uses separate buffers and descriptors for packet information. This allows effective transfers of data from the receive buffer to the transmit buffer by simply transferring the descriptor from the receive queue to the transmit queue. 5.
27 OK 26-16 --- Packet OK The usage of these bits differ in receive and transmit descriptors. See below for details. 15-12 11-0 In the last descriptor in a packet, this bit indicates that the packet was either sent or received successfully. (reserved) SIZE Descriptor Byte Count Set to the size in bytes of the data. Table 5-3 Transmit Status Bit Definitions Bit Tag Description Usage 26 TXA Transmit Abort Transmission of this packet was aborted.
DP83816 5.0 Buffer Management (Continued) Table 5-4 Receive Status Bit Definitions Bit Tag 26 RXA Receive Aborted Description Set to 1 by DP83816 when the receive was aborted, the value of this bit always equals RXO. Exists for backward compatibility. Usage 25 RXO Receive Overrun Set to 1 by DP83816 to indicate that a receive overrun condition occurred. RXA will also be set.
5.1.3 Multiple Descriptor Packets 5.1.4 Descriptor Lists A single packet may also cross descriptor boundaries. This is indicated by setting the 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.
DP83816 5.0 Buffer Management (Continued) 5.2 Transmit Architecture The following figure illustrates the transmit architecture of the DP83816 10/100 Ethernet Controller.
DP83816 5.0 Buffer Management (Continued) Table 5-5 Transmit State Tables State Event Next State txIdle CR:TXE && !CTDD txDescRead Start a burst transfer at address TXDP and a length derived from TXCFG. CR:TXE && CTDD txDescRefr Start a burst transfer to refresh the link field of the current descriptor. txDescRefr XferDone txAdvance txDescRead XferDone && OWN txFIFOblock XferDone && !OWN txIdle FifoAvail txFragRead txFIFOblock Actions Set ISR:TXIDLE.
5.2.2 Transmit Data Flow In the DP83816 transmit architecture, packet transmission involves the following steps: 1. The device driver receives packets from an upper layer. 2. 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. 4.
5.3 Receive Architecture The receive architecture is as "symmetrical" to the transmit architecture as possible. The receive buffer manager prefetches receive descriptors to prepare for incoming packets. When the amount of receive data in the RxDataFIFO is more than the RxDrainThreshold, or the RxDataFIFO contains a complete packet, then the state machine begins filling received buffers in host memory.
DP83816 5.0 Buffer Management (Continued) Table 5-6 Receive State Tables State Event Next State rxIdle CR:RXE && !CRDD rxDescRead Start a burst transfer at address RXDP and a length derived from RXCFG. CR:RXE && CRDD rxDescRefr Start a burst transfer to refresh the link field of the current descriptor. rxDescRefr XferDone rxAdvance rxDescRead XferDone && !OWN rxFIFOblock XferDone && OWN rxIdle FifoReady rxFragWrite Start a burst transfer from the RxDataFIFO to host memory at fragPtr.
DP83816 5.0 Buffer Management (Continued) CR:RXE && CRDD rxDescRefr CR:RXE && !CRDD XferDone rxIdle XferDone && OWN link = NULL link != NULL rxAdvance rxDescRead XferDone && !OWN XferDone rxPktBytes == 0 FifoReady rxDescWrite rxFifoBlock (descCnt == 0) && (rxPktBytes > 0) rxFragWrite XferDone Figure 5-7 Receive State Diagram 3. As data arrives in the RxDataFIFO, the receive buffer management state machine places the data in the receive buffer described by the descriptor.
6.1 Introduction • Magic Packet: “A specific packet of information sent to remotely wake up a sleeping or powered off PC on a network, it is handled in the LAN controller. The Magic Packet must contain a specific data sequence which can be located anywhere within the packet but must be preceded by a synchronization stream. The packet must also meet the basic requirements for the LAN technology chosen (e.g. ethernet frame).
6.4.1 D0 State 6.5.1 Entering WOL Mode The D0 state is the normal operational state of the device. The PME Enable bit should be set to 0 to prevent packet filtering based on the settings in the Wake Control/Status Register (WCSR). It is also advisable to turn off all WOL conditions in WCSR to prevent unnecessary PME interrupts. The following steps are required to place the DP83816 into WOL mode: 1.
6.5.2 Wake Events 6.6 Sleep Mode If the device detects a wake event while in WOL mode, it will assert the PMEN pin low to signal the system that a wake event has occurred. The system should then bring the device out of WOL mode as described below. Sleep Mode is a system-level function that allows a device to be placed in a lower power mode than WOL mode. In sleep mode, the device will not be able to detect wake events or signal the system that it needs service. 6.5.3 Exiting WOL Mode 6.6.
Absolute Maximum Ratings Recommended Operating Conditions Supply Voltage (VDD) DC Input Voltage (VIN) DC Output Voltage (VOUT) -0.5 V to 3.6 V Supply voltage (VDD) -0.5 V to 5.5 V Normal Operating Temperature (TA) 3.3 Volts + 0.3V 0 to 70 °C -0.5 V to VDD + 0.5 V Storage Temperature Range (TSTG) -65 °C to 150 °C Power Dissipation (PD) Note: Absolute maximum ratings are values beyond which operation is not recommended or guaranteed.
DP83816 7.0 DC and AC Specifications (Continued) 7.2 AC Specifications 7.2.1 PCI Clock Timing T3 T1 PCICLK Number T2 Parameter Min Max Units 7.2.1.1 PCICLK Low Time 12 ns 7.2.1.2 PCICLK High Time 12 ns 7.2.1.3 PCICLK Cycle Time 30 ∞ ns 7.2.2 X1 Clock Timing T3 T1 X1 Number T2 Parameter Min Max Units 7.2.2.1 X1 Low Time 16 ns 7.2.2.2 X1 High Time 16 ns 7.2.2.3 X1 Cycle Time 40 91 40 ns www.national.
DP83816 7.0 DC and AC Specifications (Continued) 7.2.3 Power On Reset (PCI Active) Power Stable T1 RSTN T2 1st PCI Cycle PCICLK Reset Complete Number Parameter Min 7.2.3.1 RSTN Active Duration from PCICLK stable 7.2.3.2 Reset Disable to 1st PCI Cycle Max Units 1 ms EE Enabled 1500 us EE Disabled 1 us 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.
DP83816 7.0 DC and AC Specifications (Continued) 7.2.5 POR PCI Inactive VDD T1 EESEL T2 TPRD Number 7.2.5.1 Parameter Min VDD stable to EE access Max Units 60 us 2000 us VDD indicates the digital supply (AUX power plane, except PCI bus power.) Guaranteed by design. 7.2.5.2 EE Configuration load duration 93 www.national.
7.2.6 PCI Bus Cycles The following table parameters apply to ALL the PCI Bus Cycle Timing Diagrams contained in this section. Number Parameter Min Max Units 7.2.6.1 Input Setup Time 7 ns 7.2.6.2 Input Hold Time 0 ns 7.2.6.3 Output Valid Delay 2 7.2.6.4 Output Float Delay (toff time) 7.2.6.5 Output Valid Delay for REQN - point to point 2 7.2.6.
DP83816 7.0 DC and AC Specifications (Continued) PCI Configuration Write PCICLK FRAMEN AD[31:0] T1 T1 T1 C/BEN[3:0] T1 T2 T2 T2 T1 Addr Data T2 T1 Cmd T2 T2 BE IDSEL T2 T1 IRDYN T4 T3 TRDYN T4 T3 DEVSELN T1 T2 T2 PAR T4 T3 PERRN PCI Bus Master Read PCICLK FRAMEN T3 AD[31:0] T3 Addr C/BEN[3:0] T3 Cmd IRDYN T4 T3 T4 T1 T2 Data T4 T1 T3 BE T3 T3 T4 T2 T1 TRDYN T1 T2 DEVSELN T4 T3 T2 T1 PAR T3 PERRN 95 T3 T4 www.national.
DP83816 7.0 DC and AC Specifications (Continued) PCI Bus Master Write PCICLK T3 T3 T3 Data T4 AD[31:0] T3 Addr T3 Cmd T3 T4 C/BEN[3:0] FRAMEN T4 BE T3 T3 IRDYN T2 T1 TRDYN T4 T1 T2 DEVSELN T4 T3 T3 PAR T1 T2 T4 T2 T4 PERRN PCI Target Read PCICLK FRAMEN T1 T2 T1 T2 AD[31:0] C/BEN[3:0] IRDYN Addr T1 T2 T4 T3 T3 Data T1 Cmd T2 BE T2 T1 T3 TRDYN DEVSELN T3 T1 T2 T4 T4 T3 T3 PAR T1 T4 T1 PERRN 96 www.national.
DP83816 7.0 DC and AC Specifications (Continued) PCI Target Write PCICLK FRAMEN AD[31:0] T1 T1 T2 Addr T1 C/BEN[3:0] T2 T2 T1 Data T2 T1 Cmd BE T2 T1 IRDYN T4 T3 TRDYN T4 T3 DEVSELN T1 T2 T2 PAR T4 T3 PERRN PCI Bus Master Burst Read PCICLK FRAMEN T3 AD[31:0] T3 Addr C/BEN[3:0] T3 Cmd IRDYN T4 T3 T4 Data T2 Data T4 T1 Data T3 BE T4 T3 T3 T2 T1 TRDYN T1 T2 DEVSELN T4 T3 T2 T1 PAR T3 PERRN 97 T4 www.national.
DP83816 7.0 DC and AC Specifications (Continued) PCI Bus Master Burst Write PCICLK FRAMEN T3 T3 AD[31:0] T3 Addr T3 Data C/BEN[3:0] T3 Cmd T3 T4 T4 Data Data T4 BE T3 T3 IRDYN T2 T1 TRDYN T4 T1 T2 DEVSELN T3 T4 T3 PAR T2 T1 PERRN PCI Bus Arbitration PCICLK T5 T5 REQN T6 T2 GNTN 98 www.national.
DP83816 7.0 DC and AC Specifications (Continued) 7.2.7 EEPROM Auto-Load T1 EECLK T2 EESEL T3 T4 EEDO T6 T5 EEDI Refer to NM93C46 data sheet Number Parameter Min Max Units 7.2.7.1 EECLK Cycle Time 4 us 7.2.7.2 EECLK Delay from EESEL Valid 1 us 7.2.7.3 EECLK Low to EESEL Invalid 2 us 7.2.7.4 EECLK to EEDO Valid 7.2.7.5 EEDI Setup Time to EECLK 2 us 7.2.7.6 EEDI Hold Time from EECLK 2 us 2 99 us www.national.
DP83816 7.0 DC and AC Specifications (Continued) 7.2.8 Boot PROM/FLASH T14 T13 T15 T16 MCSN T5 T17 MRDN T2 T3 T9 T4 MA[15:0] T1 T6 MD[7:0] T12 T8 T11 T10 T7 MWRN Number Parameter Min Typ 20 Units 7.2.8.1 Data Setup Time to MRDN Invalid ns 7.2.8.2 Address Setup Time to MRDN Valid 30 ns 7.2.8.3 Address Hold Time from MRDN Invalid 0 ns 7.2.8.4 Address Invalid from MWRN Valid 180 ns 7.2.8.5 MRDN Pulse Width 180 ns 7.2.8.6 Data Hold Time from MRDN Invalid 7.2.8.
DP83816 7.0 DC and AC Specifications (Continued) 7.2.9 100BASE-TX Transmit TPTD+/− +1 FALL +1 RISE -1 FALL -1 RISE T2 T1 T1 T1 T1 TPTD+/− eye pattern Parameter 7.2.9.1 7.2.9.2 Description Min Typ Max Units 3 4 6 ns 100 Mb/s Rise/Fall Mismatch 500 ps 100 Mb/s TPTD+/− Transmit Jitter 1.4 ns 100 Mb/s TPTD+/− Rise and Fall Times Notes see Test Conditions section Note: Normal Mismatch is the difference between the maximum and minimum of all rise and fall times.
DP83816 7.0 DC and AC Specifications (Continued) 7.2.10 10BASE-T Transmit End of Packet 0 0 1 1 T1 TPTD+/- T2 TPTD+/- Parameter 7.2.10.1 Description Notes End of Packet High Time Min Typ Max Units 10 Mb/s 300 ns 10 Mb/s 250 ns (with ‘0’ ending bit) 7.2.10.2 End of Packet High Time (with ‘1’ ending bit) 7.2.11 10 Mb/s Jabber Timing TXE(Internal) T3 T2 TPTD+/− COL(Internal) Parameter Description Notes Min Typ Max Units 7.2.11.
DP83816 7.0 DC and AC Specifications (Continued) 7.2.12 10BASE-T Normal Link Pulse T2 T1 Parameter Description Notes Min Typ Max Units 7.2.12.1 Pulse Width 100 ns 7.2.12.2 Pulse Period 16 ms Note: These specifications represent both transmit and receive timings 7.2.13 Auto-Negotiation Fast Link Pulse (FLP) T2 T3 T1 Fast Link Pulse(s) clock pulse data pulse clock pulse T5 T4 FLP Burst FLP Burst Parameter Description Notes Min Typ Max Units 7.2.13.
DP83816 7.0 DC and AC Specifications (Continued) 7.2.14 Media Independent Interface (MII) MDC T1 MDIO(output) T2 T3 MDIO(input) RXCLK T4 T5 T6 T7 RXD[3:0] RXDV,RXER TXCLK T8 TXD[3:0] T9 TXEN Number Min Max Units 7.2.14.1 MDC to MDIO Valid Parameter 0 300 ns 7.2.14.2 MDIO to MDC Setup 10 10 ns 7.2.14.3 MDIO from MDC Hold 10 ns 7.2.14.4 RXD to RXCLK Setup 10 ns 7.2.14.5 RXD from RXCLK Hold 10 ns 7.2.14.6 RXDV, RXER to RXCLK Setup 10 ns 7.2.14.
DP83816 Notes: 105 www.national.
DP83816 10/100 Mb/s Integrated PCI Ethernet Media Access Controller and Physical Layer (MacPHYTER-II™) Physical Dimensions inches (millimeters) unless otherwise noted NS Package Number: VNG144A National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications. For the most current product information visit us at www.national.com.
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.