DP83924BVCE Quad 10 Mb/s Ethernet Physical Layer - 4TPHY™ ■ Programmable MAC Interface supports most standard 7 signal MAC interfaces The DP83924B Quad 10Mbps Ethernet Physical Layer ■ Twisted Pair Transceiver Module (4TPHY) is a 4-Port Twisted Pair PHYsical Layer Trans– On-chip filters for transmit outputs ceiver that includes all the circuitry required to interface four Ethernet Media Access Controllers (MACs) to – Low Power Driver 10BASE-T. This device is ideally suited for switch hub – Heartbeat and Jabber Timers applications where 8 to 32 ports are commonly used. – Link Disable and Smart Receive Squelch The 4TPHY has three dedicated 10Base-T ports. There is – Polarity detection and correction an additional port that is selectable for either 10Base-T or – Jabber Enable/Disable for an Attachment Unit Interface (AUI). In 10Base-T mode, any port can be configured to be Half or Full Duplex. – Isolate mode for diagnostics (Continued) – Low Power Class AB Attachment Unit Interface (AUI) Driver for one port Features – Enhanced Supply Rejection ■ 100 pin package – Enhanced Jitter Performance ■ 10BASE-T and AUI interfaces – Diagnostic Endec Loopback ■ Automatic or manual selection of twisted pair or Attach– Squelch on Collision and Receive Pair ment Unit Interfaces on port 1 ■ Serial LED interface for LINK, POLARITY, ACTIVITY, ■ Direct Interface to NRZ Compatible controllers and ERROR. ■ IEEE 802.3u Auto-Negotiation between 10Mb/s Full ■ JTAG Boundary Scan per IEEE 1149.1 and Half Duplex data traffic and parallel detection ■ MII-like Serial management interface for configuration and monitoring of ENDEC/Transceiver operation. General Description System Diagram MAC Serial NRZ Interface 10BASE-T ISOLATION RXD4,RXC4,COL4,CRS4 TXD4,TXE4 TPI RXD3,RXC3,COL3,CRS3 TXD3,TXE3 ports 1-4 RXD2,RXC2,COL2,CRS2 ISOLATION DP8392C DP83924B 10BASE-2 AUI TXD2,TXE2 MAC RXD1,RXC1,COL1,CRS1 TXD1,TXE1 (port 1 option) TXC MDIO MDC Serial Mgmt Interface 4TPHY™ is a trademark of National Semiconductor Corporation. TRI-STATE® is a registered trademark of National Semiconductor Corporation. © 1998 National Semiconductor Corporation www.national.com DP83924BVCE Quad 10 Mb/s Ethernet Physical Layer - 4TPHY™ October 1998 General Description (Continued) to-Zero (NRZ) interface to transmit and receive data to/from standard 10 Mb/s MACs. The various modes on the 4TPHY can be configured and controlled via the MII management interface. This management interface makes inter-operability with other manufacturers MAC units relatively easy. If no management interface is desired, most of the critical operating modes of the transceiver can be set via strapping options (latching configuration information during reset). The ENDEC section of the transceiver also supplies a simple Non-Return- The transceivers include on-chip filtered transmit outputs, which reduce emissions and eliminate the need for external filter. The DP83924BVCE maintains complete hardware and software backwards compatibility with the DP83924AVCE with only a change to one resistor value and disconnecting a second resistor. Block Diagram TXU+ TXU- Transmit Filter Output Driver TXE Transmit Manchester Encoder Pre-emphasis /TX Logic Transmit Control Interface TXD TXC Oscillator Prescaler X1 Management Control Interface MDC TX+ AUI Port 1 only Transmit AUI Driver TX- CD+ CD- + Link Generator AUI Collision Configuration Registers MDIO TPLBK - AUI LED Control Interface Link Detect TP Rcv RXI+ RXI- - LED_DATA Heartbeat Jabber + Smart Squelch LED_CLK MUX Common Analog /PLL for Wave Shapers Collision Decoder /Translator COL AUI Port 1 only RX+ + AUI Rcv Phase Lock Loop MUX RX- - Transceiver + ENDEC Block (replicated 4 times) 2 Receive Control Interface /decoder CRS RXD RXC www.national.com Table of Contents 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 Pin Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 1.1 Pin Connection Diagram . . . . . . . . . . . . . . . . . . . . 4 1.2 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . .5 Interface Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . .9 2.1 Management Interface . . . . . . . . . . . . . . . . . . . . . .9 2.2 MAC Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 2.3 LED Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 2.4 Network Interface . . . . . . . . . . . . . . . . . . . . . . . . .10 Detailed Functional Description . . . . . . . . . . . . . . . . .14 3.1 Twisted Pair Functional Description . . . . . . . . . . 14 3.2 ENDEC Module . . . . . . . . . . . . . . . . . . . . . . . . . .15 3.3 Additional Features . . . . . . . . . . . . . . . . . . . . . . .15 3.4 Auto-negotiation Block . . . . . . . . . . . . . . . . . . . . .17 3.5 JTAG Boundary Scan . . . . . . . . . . . . . . . . . . . . .18 Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . .21 4.1 Register Map and Descriptions . . . . . . . . . . . . . .21 Application Information . . . . . . . . . . . . . . . . . . . . . . . .27 5.1 Magnetics Specifications . . . . . . . . . . . . . . . . . . .27 5.2 Layout Considerations . . . . . . . . . . . . . . . . . . . . .27 5.3 LED interface considerations . . . . . . . . . . . . . . . .28 User Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 6.1 CRS Assertion Connected to a 100M Node . . . . 29 6.2 Link Fail Inhibit Timer . . . . . . . . . . . . . . . . . . . . . .29 6.3 Lockup during duplex mode change: . . . . . . . . . . 29 6.4 Start of TP_IDL, 45 Bit Times to 50 mV: . . . . . . . 29 6.5 Polarity detection: . . . . . . . . . . . . . . . . . . . . . . . .29 6.6 Link pulse template: . . . . . . . . . . . . . . . . . . . . . . .30 AC and DC Electrical Specifications . . . . . . . . . . . . .31 7.1 DC Specifications . . . . . . . . . . . . . . . . . . . . . . . .31 7.2 AC Switching Specifications . . . . . . . . . . . . . . . .32 Physical Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . .42 3 www.national.com 1.0 Pin Information 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 NC TCK TDO TXC RXC COL CRS RXD TXE TXD VDD_1 GND_WSPLL_1 VDD_WSPLL_1 VDD_PLL_2 GND_PLL_4 GND_PLL_3 GND_PLL_2 VDD_PLL_1 GND_PLL_1 RXC COL CRS RXD TXE TXD RXC COL GND_1 CRS RXD 1.1 Pin Connection Diagram DP83924B 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 NC NC NC TXE TXD RXC COL CRS RXD TXE TXD RESET FDX FDX FDX FDX ROC RESERVED GND_WS_1 VDD_WS_1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 TX+ TXCD+ CDRX+ RXRXI1+ RXI1VDD_TPI_1 GND_TPI_1 TXU1+ TXU1TXU2+ TXU2VDD_TPI_2 GND_TPI_2 RXI2+ RXI2RXI3+ RXI3VDD_TPI_3 GND_TPI_3 TXU3+ TXU3TXU4+ TXU4VDD_TPI_4 GND_TPI_4 RXI4+ RXI4- NC TDI TMS TRST GND_DIG VDD_DIG LED_CLK LED_DATA LINK_1 LINK_2 GND_2 LINK_3, INT LPBK, MDC LINK_4, MDIO X1 GND_CLK VDD_CLK NC NC NC Order Number DP83924BVCE NS Package Number VCE100A Figure 1. 100-Pin Plastic Quad Flat Pack (PQFP) Pinout 4 www.national.com 1.0 Pin Information (Continued) 1.2 Pin Description Table 1. NRZ CONTROLLER INTERFACE and MANAGEMENT INTERFACE. These pins provide the interface signalling between the Media Access Controller and the transceiver. (30 Pins) Symbol Pin # Type Description TXC 77 O Transmit Clock: This pin outputs a 10 MHz output clock signal synchronized to the transmit data (for all ports). TXD TXD TXD TXD 40 46 56 71 I Transmit Data: The serial TXD contains the transmit serial data output stream. TXE TXE TXE TXE 41 47 57 72 I Transmit Enable: This active high input indicates the presence of valid data on the TXD pins. CRS CRS CRS CRS 43 52 59 74 O, pull-up O, pull-up O, pull-up O, pull-up Carrier Sense: Active high output indicates that valid data has been detected on the receive inputs. COL COL COL COL 44 54 60 75 O, pull-up O, pull-up O, pull-up O, pull-up Collision: This active high output is asserted when a collision condition has been detected. It is also asserted for 1µs at the end of a packet to indicate the SQE test function. CRS[3:1] are dual purpose pins. When RESET is active, the value on these pins are sampled to determine the transceiver address for the mgmt interface. These pins have internal pull-ups, a 2.7 kΩ pull down resistor is required to program a logic ‘0’. COL[4:1] are dual purpose pins. When RESET is active, these pins are sampled and selects the operating mode for the device. These pins have internal pull-ups to select the default mode if no external pull-downs are connected. To select the non-default mode(s), a 2.7 kΩ pull down resistor(s) is required. The strappable functions are: COL; selects the number of receive clocks after carrier sense deassertion (5 RXCs or continuous RXCs). Default is 5 RXCs. COL; enables or disables the receive filter. Default is to disable the receive filter. COL; Disables Management Interface and selects the Full Duplex operating mode (normal or enhanced). Default is normal full duplex mode. If the enhanced Full- Duplex mode is selected, the functions of pins 89, 90, 92, 93, and 94 are also changed. See the descriptions in Sectio n3.3.13 and Se ction3.3.14. COL; selects the LED operating mode (normal or enhanced). Default is normal LED mode. RXC RXC RXC RXC 45 55 61 76 RXD RXD RXD RXD 42 51 58 73 O Receive Clock: This 10 MHz signal is generated by the transceiver, and is the recovered clock from the decoded network data stream. This signal is 10 MHz. The number of RXCs after the deassertion of CRS is programmable via the Global Configuration Register, GATERXC bit, D0. The options are for 5 RXCs or continuous RXCs. O, Pull-up Receive Data: Provides the decoded receive serial data. Data is valid on the risin edge of RXC. RXD[4:1] are dual purpose pins. When RESET is active, these pins are sampled and selects the operating mode for the device. These pins have internal pull-ups to select the default mode if no external pull-downs are connected. To select the non-default mode(s), a 2.7 kΩ pull down resistor(s) is required. The strappable functions are: RXD enables/disables Auto-Negotiation. RXD[3:1] selects one of five MAC interface modes. See the table in the Interface Descriptions section. MDC LPBK 93 I Management Data Clock: When management interface is enabled (strap option, COL=1), this clock signal (0-2.5MHz) is the clock for transferring data across the management interface. LoopBack: When “Disable Management Interface” mode is selected (strap option, COL=0), then this pin is an active high input to configure all ports into diagnostic loopback mode. 5 www.national.com 1.0 Pin Information (Continued) Table 1. NRZ CONTROLLER INTERFACE and MANAGEMENT INTERFACE. These pins provide the interface signalling between the Media Access Controller and the transceiver. (30 Pins) Symbol MDIO LINK_4 Pin # Type 94 I/O Description Management Data I/O: When management interface is enabled (strap option, COL=1), this Bidirectional signal transfers data on the management interface between the controller and the transceiver. Link Lost Status Port 4: When “Disable Management Interface” mode is selected, (strap option, COL=0), this pin outputs the link lost status for port 4. If link is lost, this output is high. INT LINK_3 92 OD Interrupt: When “Enable Management Interface” mode is selected (strap option, COL=1), this output pin is driven low when an interrupt condition is detected within the Quad Transceiver. An interrupt can occur when link status changes or during jabber condition. This is an open-drain output. And requires an external pull-up resistor. Link Lost Status Port 3: When “Disable Management Interface” mode is selected, (strap option, COL=0), this pin outputs the link lost status for port 3. If link is lost, this output is high. LINK_2 LINK_1 90 89 O, pull-up Link Lost Status Ports 1,2: These pins indicate the link lost status for ports 1 and 2. O, pull-up (During both management interface disable and enable modes) LINK_1 is also the strap option for RXD levels during idle . S ee Table7 on page11. A 2.7 kΩ pulldown resistor is needed to set RXD_IDLE = High. Default is LINK_1=’1’ and RXD_IDLE= Low Table 2. NETWORK INTERFACES: Attachment Unit, Twisted Pair Interface (24 Pins) Symbol Pins Type Description RXI4+ RXI4- 29 30 I Twisted Pair Receive Input: This differential input pair receives the incoming data from the twisted pair medium via an isolation transformer. RXI3+ RXI3- 19 20 RXI2+ RXI2- 17 18 RXI1+ RXI1- 7 8 TXU4+ TXU4- 25 26 O TXU3+ TXU3- 23 24 UTP Transmit Outputs: This pair of drivers provide pre-emphasized and filtered differential output for UTP (100 ohm cable). These drivers maintain the same common mode voltage during data transmission and idle mode. TXU2+ TXU2- 13 14 TXU1+ TXU1- 11 12 Reserved 33 I Reserved: This pin must be left unconnected. ROC 34 I On Chip Reference: An external resistor connects to ground for an on chip reference. The resistor must be a precision (1%) resistor, the value of which should be determined by each user to center VOD around 5 Vpp. Attachment Unit Interface RX+ RX- 5 6 I Port 1 Full AUI Receive Input: In AUI mode this differential input pair receives the incoming data from the AUI medium via an isolation transformer. TX+ TX- 1 2 O Port 1 Full AUI Transmit Output: In AUI mode this differential pair sends encoded data from the AUI transceiver. These outputs are source followers and require 270 Ohm pull down resistors. CD+ CD- 34 I Port 1 Full AUI Collision Detect : In AUI mode, this differential input pair receives the collision detect signals from the AUI medium via an isolation transformer. 6 www.national.com 1.0 Pin Information (Continued) Table 3. LED & GENERAL CONFIGURATION Pins (8 Pins) Symbol Pins Type Description LED_DATA 88 O LED serial data output: This pin outputs the serial LED data. See S ection2.3 for a description of the LED modes. This output should be connected to the input of the 1st (external) serial shift register. LED_CLK 87 O LED Clock: This is the clock for the serial shift registers X1 95 I External Oscillator Input: This signal is used to provide clocking signals for the internal ENDEC. A 20MHz oscillator module should be used to drive this pin. RESET 39 I Reset: Active low input resets the transceiver, and starts the initialization of the device. This pin has a noise filter on it’s input, which requires that the reset pulse must be greater than 30 X1 clocks. 38 -35 I Full Duplex: These pins are sampled during reset. They control the full duplex (or half duplex) configuration of each port. If pulled low, Full Duplex operation is selected for the respective port. If pulled high, Half Duplex operation is selected. These pins have no internal pull-up or pull-down resistors.These pins are also used in “Enhanced full duplex” mode to dynamically select Full/Half duplex mode of operat i on. See Section3.3.14 FDX[4:1] Table 4. SCAN TEST Pins (5 Pins) Symbol Pins Type Description TCK 79 I Test Clock: This signal is used during boundary scan to clock data in and out of the device. TDI 82 I Test Input: The signal contains serial data that is shifted into the device by the TAP controller. An internal pullup is provided if not used. It is recommended that during normal transceiver operation a ‘1’ should be applied to this pin. TDO 78 O,Z Test Output: The tristateable signal contains serial data that is shifted out of the device by the TAP controller. TMS 83 I Test Mode Select: This selects the operation mode of the TAP controller. An internal pullup is provided if not used TRST 84 I Test Reset: When this signal is asserted low it forces the TAP (Test Access Port) controller into a logic reset state. An internal pullup is provided. This pin should be pulled low during normal transceiver operation. 7 www.national.com 1.0 Pin Information (Continued) Table 5. POWER AND GROUND Pins (33 Pins) Symbol Pins Type Description NC NC NC NC NC 48 49 50 80 81 98 99 100 NA VDD_TPI_4 VDD_TPI_3 VDD_TPI_2 VDD_TPI_1 27 21 15 9 P Power for TPI Ports 1-4; GND_TPI_4 GND_TPI_3 GND_TPI_2 GND_TPI_1 28 22 16 10 G Ground for TPI Ports 1-4; VDD_PLL_2 VDD_PLL_1 67 63 P GND_PLL_4 GND_PLL_3 GND_PLL_2 GND_PLL_1 66 65 64 62 G VDD_WSPLL_1 68 P No Connect; Power for PLL Circuitry; (Digital PLL) Ground for PLL Circuitry; (Digital PLL) Power for Wave Shaper and PLL Circuitry; (Analog PLL) GND_WSPLL_1 69 G Ground for Wave Shaper and PLL Circuitry; VDD_WS_1 31 P Power for Wave Shaper Circuitry GND_WS_1 32 G Ground for Wave Shaper Circuitry VDD_DIG 86 P Power for Core Logic; GND_DIG 85 G Ground for Core Logic; GND_CLK 96 G Ground for Clock Circuitry; VDD_CLK 97 P Power for Clock Circuitry; GND_2 GND_1 91 53 G Ground for NRZ Circuitry; VDD_1 70 P Power for NRZ Circuitry; Table 6. Pin Type Description Pin Type Description I Input Buffer O Output Buffer (driven at all times) I/O Bi-directional Buffer. O, Z Output Buffer with High Impedance Capability OD Open Drain-Like Output. Either driven Low or to a High Impedance State. 8 www.national.com 2.0 Interface Descriptions Interface Overview plished by assigning each 4TPHY a unique transceiver address. The lower 3 bits of the transceiver address, T[2:0], is latched in during reset based on the logic state of CRS[3:1]. The upper 2 bits of the transceiver address, T[4:3], must be zero. Therefore, 32 ports can be supported with a single MII bus. The 4TPHY’s interfaces can be categorized into the following groups of signals: 1. Management Interface - Allows host to read status and set operating modes 2. Media Access Control Interface - Straight forward NRZ interface to Ethernet MACs 3. LED Interface - Serial LED interface to off chip shift registers 4. Network Interfaces - Integrated 10BASE-T and AUI. 5. Clock - Allows connection of an external clock module. The register address field indicates which register within the 4TPHY that is to be accessed (read or write). During a write operation, all 32 bits are driven onto MDIO by the host, indicating which transceiver and register the data is to be written. During a read operation, the first 14 bits are driven onto MDIO by the host, then the bus is released, allowing the 4TPHY to drive the requested data onto MDIO. 2.1 Management Interface This interface is a simple serial interface that is modeled after the MII standard serial interface, though it does not adhere to the MII standard completely (the protocol is followed, but the register space is not). The interface signals consist of a clock and data line for transfer of data to and from the registers. The serial lines do not require any preamble on these pins, however if it is provided it is ignored so long as the 0110 or 0101 pattern is not present. If a continuous MDC is not supplied, then at the end of each command (read or write), 2 additional MDCs are required in order to allow the internal state machine to transition back to it’s idle state. Refer to Figur e2. In a multiple 4TPHY system, it is necessary to distinguish between the devices in order to access the correct registers for configuration and status information. This is accom- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 31 32 33 34 MDC MDIO 0 1 1 prefix 0 read T4 T3 T2 T1 T0 A4 A3 A2 A1 A0 Z transceiver address register address 0 D0 D15 turn around data Register Read MDIO 0 1 prefix 0 1 write T4 T3 T2 T1 T0 A4 A3 A2 A1 A0 1 transceiver address register address 0 turn around D0 D15 data Register Write Note 1: The management interface addressing includes a 5 bit field for the Transceiver Address, T[4:0], and a 5 bit field for the register address, A[4:0]. The MII assumes the transceiver address applies to a single port, but in this implementation a single address refers to a single IC. The transceiver address is set by 3 external pins, CRS[3:1]. T[4:3] must be zero to address the transceiver. Thus up to 32 10BASE-T ports can be addressed from a single interface (8 addr x 4 ports/addr). Note 2: Two MDCs (clocks 33, 34) are required after each read or write in order to allow the internal state machine to transition back t o it’s IDLE state. Figure 2. Serial Management Interface Time Diagram (read/write) 2.2 MAC Interface TXCs/RXCs that data is clocked in. In the default mode (NSC/TI mode), all signals are active high with rising edge sampling. This interface connects the ENDEC/Transceiver to an Ethernet MAC controller. This interface consists of a serial data transmit interface and a serial receive interface. The interface clocks data out (on receive) or in (on transmit) on the rising edge of the clock. Refer t o Figure3. Most standard 10Mb/s controllers use this interface but they may differ in the polarity of the signals or on what edge of The 4TPHY utilizes a programmable MAC digital interface which enables it to directly interface to standard controllers from National Semiconductor, TI, AMD, Seeq, Fujitsu, and Intel. The compatibility modes are selected either by software via the Global Control/Status Register or by hardware strap options on pins RXD[3:1]. See Table 7 below. 9 www.national.com 2.0 Interface Descriptions (Continued) In addition to the compatibility mode options, the recovered deassertion of CRS. This is programmable through the clock (RXC) is selectable for 5 RXCs after the deassertion serial MII or through the COL strapping option only when of carrier sense (CRS) or for continuous RXCs after the the device is in the NSC mode. Transmit Interface SIgnals TXC Setup Hold TXE TXD COL 5 Clocks Receive Interface Signals RXC Setup Hold CRS RXD Figure 3. NRZ Interface Timing Diagram (NSC mode) 2.3 LED Interface The LED interface consists of two modes. The first option, normal LED mode, requires an external 8-bit shift register. During every LED update cycle, 8-bits are shifted out to the external shift registers. This allows two LEDs per port. One LED indicates activity (TX or RX) and the second indicates port status (per Table 8). The status LEDs will blink at different rates depending on the associated ports status.If a port experiences both Bad Polarity and Link Lost, then the LEDs will go to the fast blink state (i.e. Link Lost). Port activity and status are shifted out port 1 first. The LED update rate is every 50ms. The LED clock rate is 1MHz. All port activity is extended to 50ms to make it visible. Data is valid on the rising edge of LED_CLK and is active low. Refer to Figur e4 (Application note:) During the update cycle data coming out of the shift register is not going to be valid until the cycle is completed and all the bits are shifted in place. These outputs should not be used to directly control a MAC unless the shift register outputs are latched during the update cycle. See Section 5.3 o n page28. 2.4 Network Interface 2.4.1 Twisted Pair Interface The Quad 10Mb/s Transceiver provides two buffered and filtered 10Base-T transmit outputs (for each port) that are connected to the output isolation transformer via two impedance matching resistor/capacitor networks. See Figur e6. The twisted pair receiver implements an intelligent receive squelch on the RXI+ differential inputs to ensure that impulse noise on the receive inputs will not be mistaken for a valid signal. This smart squelch circuitry (which is described in detail under the Functional Description) employs a combination of amplitude and timing measurements to determine the validity of data on the twisted pair inputs. Only after these conditions have been satisfied will Carrier Sense (CRS) be generated to indicate that valid data is present. The second option, enhanced LED mode, serially shifts a 16-bit stream out of the 4TPHY. This option outputs per port data for RX, TX, Full Duplex (FDX), and LinkCoded status. These four bits per port can be used to support two LEDs. One is a bi-color LED (decode of the FDX and LinkCoded bits) to indicate LINK status and duplex status as shown in Table 9. The second LED indicates activity (TX or RX). As with the first LED option, port 1 status is shifted out first and the data is active low. Refer to F igure5 for the tim- 2.4.2 Attachment Unit Interface ing sequence A single port (port 1) on the transceiver has a separate (non- multiplexed) AUI interface. This interface is a full To select the desired LED mode, the COL  pin has a 802.3 standard AUI interface capable of driving the full 50m strapping feature. If COL is a logic ‘0’ during reset, then “enhanced” LED mode is enabled. If COL is a logic ‘1’ cable. The schematic for connecting this interface to the AUI connector is shown in Fi gure7. during reset, then “normal” LED mode is enabled 10 www.national.com 2.0 Interface Descriptions (Continued) Table 7. MAC Interface Selection Parameter Mode 1 Mode 2 Mode 3 Mode 4 Continuous Continuous RXCs Active CRS + 5 clks CRS Edge of TXc that TXD is sampled Rising Rising Falling Falling Polarity of active TXE High High High High Edge of RXC that RXD is clocked Rising Rising Rising Falling Polarity of CRS asserted High High High High Level of RXD during CRS deassertion Low High Low Low Polarity of active COL High High High Low Polarity of active Loopback (LPBK) High High Low High 010 011 asserteda How to select MAC interface modeb Using registers to select mode Global Control & Status Register (GCSR, addr 08H) bits D[8:6] 111 001 GCSR bit D (select RXD_Idle level) 0 1 0 0 1 1 0 0 111 001 010 011 GCSR bit D (select RXC modec) Using strap options to select mode RXD[3:1] strap option (same as GCSR D[8:6]) LINK strap option (RXD idle level) 1 0 1 1 COL strap option (RXC mode) 1 1 0 0 a. No extra clocks are added after CRS. (CRS + 0 clocks RXC mode) b. The mode can be selected by either strap options or writing to the registers. The default for both is NSC,TI. c. GCSR D or COL strap can’t be used to select CRS + 0 clocks RXC mode. This mode is selected by the GCSR bits D[8:6] or RXD[3:1] strap option. Table 8. Normal LED Mode LED Condition Status Indication Off Good Status On - Solid Error Statusa Fast Blink (400 ms) Link Lost Slow Blink (1600 ms) Bad Polarity a. Bit 7 of registers 00-03 can be set by the user /management entity based on any criteria they choose and will be used to turn on Error Status LED. Table 9. Enhanced LED Mode - Bit Decode FDX LinkCoded LED Status Comments 0 0 OFF Link Fail, Full Duplex 0 1 ON - Color A Good Link, Full Duplex 1 0 ON - Color B Good Link, Half Duplex 1 1 OFF Link Fail, Half Duplex If the standard 78 ohm transceiver cable is used, the receive differential input must be externally terminated with two 39 ohm resistors connected in series. In thin Ethernet applications, these resistors are optional. To prevent noise from falsely triggering the decoder, a squelch circuit at the input rejects signals with levels less than + 160mV. Signals with levels greater than + 300 mV are decoded. If the AUI interface is not used, the unused AUI inputs can be left floating or the +/- inputs could be shorted to each other and the unused AUI outputs should be left floating. 2.4.3 Oscillator Clock When using an oscillator, additional output drive may be necessary if the oscillator must also drive other components. The X1 pin is a simple TTL compatible input. See Figur e8. 11 www.national.com 2.0 Interface Descriptions (Continued) 50 ms LED_CLK act.1 LED_DATA act.2 act.3 act.4 stat.1 stat.2 stat.3 stat.4 Note; act.n - Transmit or Receive activity for port n stat.n - Port n status Figure 4. Normal LED Mode Timing Diagram LED_CLK LED_DATA FDX Link FDX coded Port.1 Link FDX coded Port.2 Link FDX coded Port.3 Link TX.1 TX.2 coded TX.3 TX.4 RX.1 RX2 RX.3 RX.4 Port.4 Figure 5. Enhanced Mode LED Timing Diagram 1000pF 1:2 10.5Ω TXU+ 200pF 1000pF TXURXI+ RXI- TD+ TDRD+ RD- 10.5Ω RJ45 1:1 ROC ~ 1 KOhm 49.9Ω 49.9Ω T1 Common Mode Chokes may be required. All values are typical and are +/- 1% 0.01µF Figure 6. Twisted Pair Interface Schematic Diagram 12 www.national.com 2.0 Interface Descriptions (Continued) +12V AUI 1:1 CD+ CDRX+ RXTX+ TXT2 R1 39.2Ω R2 39.2Ω R3 39.2Ω R4 39.2Ω C1 0.01µF +12V CD+ CDRX+ RXTX+ TXGND DB15 C2 0.01µF Figure 7. AUI Interface Schematics. To Internal Circuit Oscillator 20MHz, 0.01% 40-60% Duty Cycle Drive ≥ 2 TTL Loads V CC X1 Oscillator Figure 8. External Oscillator Connection Diagram 13 www.national.com 3.0 Detailed Functional Description This product utilizes the standard 10BASE-T and AUI interface core building blocks which are replicated on this device, one per port. The basic function of these blocks are described in the following sections. Also described are the common digital blocks. Refer to “Block Diagra m” on page2. 3.1.3 Collision Detect and Heartbeat A collision is detected on the twisted pair cable when the receive and transmit channels are active simultaneously. If the ENDEC is receiving when a collision is detected (AUI only) it is reported to the MAC block immediately (through the COL signal). If, however, the ENDEC is transmitting 3.1 Twisted Pair Functional Description when a collision is detected the collision is not reported 3.1.1 Smart Squelch until seven bits have been received while in the collision The Smart Squelch is responsible for determining when state. This prevents a collision being reported incorrectly valid data is present on the differential receive inputs (RXI±). due to noise on the network. The COL signal remains for The Twisted Pair Transceiver (TPT) implements an intelli- the duration of the collision. gent receive squelch on the RXI ± differential inputs to Approximately 1 µusec after the transmission of each packet ensure that impulse noise on the receive inputs will not be a signal called the Signal Quality Error (SQE) consisting of mistaken for a valid signal. typically 10 cycles of a 10MHz signal is generated by a10 The squelch circuitry employs a combination of amplitude Mbps transceiver. This 10MHz signal, also called the and timing measurements to determine the validity of data Heartbeat, assures the continued functioning of the collion the twisted pair inputs. The operation of the smart sion circuitry. The transceiver attached to the AUI port will squelch is shown in Fi gure9. send this signal to the 4TPHY through the CD pins. 4TPHY will respond by sending a pulse on the COL line to the >200ns <150ns <150ns MAC. See Section 7.2.16 on page41. Also after each transmission, the 4TPHY itself will generate a Hearbeat signal by applying a 1 us pulse on the COL lines which go into the MAC. See Sec tion7.2.10 on pa ge38. VSQon+ VSQoff+ 3.1.4 Link Detector/Generator VSQoffVSQon- start of packet end of packet Figure 9. Twisted Pair Squelch Operation Diagram The signal at the start of packet is checked by the smart squelch and any pulses not exceeding the squelch level (either positive or negative, depending upon polarity) will be rejected. Once this first squelch level is overcome correctly the opposite squelch level must then be exceeded within 150ns. Finally, the signal must exceed the original squelch level within an additional 150ns to ensure that the input waveform will not be rejected. The checking procedure results in the loss of typically three bits at the beginning of each packet. Only after all these conditions have been satisfied will a control signal be generated to indicate to the remainder of the circuitry that valid data is present. At this time, the smart squelch circuitry is reset. Valid data is considered to be present until squelch level has not been generated for a time longer than 150ns, indicating End of Packet. Once good data has been detected the squelch levels are reduced to minimize the effect of noise causing premature End of Packet detection. The link generator is a timer circuit that generates a link pulse as defined by the 10 Base-T specification that will be sent by the transmitter section. The pulse which is 100ns wide is transmitted on the transmit output, every 16ms, in the absence of transmit data. The pulse is used to check the integrity of the connection to the remote MAU. The link detection circuit checks for valid pulses from the remote MAU and if valid link pulses are not received the link detector will disable the twisted pair transmitter, receiver and collision detection functions. 3.1.5 Jabber The Jabber function disables the transmitter if it attempts to transmit a much longer than legal sized packet. The jabber timer monitors the transmitter and disables the transmission if the transmitter is active for greater than 20-30ms. The transmitter is then disabled for the entire time that the ENDEC module's internal transmit is asserted. The transmitter signal has to be deasserted for approximately 400600ms (the unjab time) before the Jabber re-enables the transmit outputs. There is also a jabber disable bit in each of the port control/status registers which when activated, disables the jabber function. 3.1.6 Transmit Driver The transmit driver function utilizes the internal filters to provide a properly matched and waveshaped output which Carrier Sense (CRS) may be asserted due to receive activ- directly drives the isolation transformer/choke. ity once valid data is detected via the Smart squelch func- 3.1.7 Transmit Filter tion. There is no need for external filters on the twisted pair For 10 Mb/s Half Duplex operation, CRS is asserted during transmit interface because the filters are integrated. Only either packet transmission or reception. an isolation transformer and impedance matching resistors For 10 Mb/s Full Duplex operation, CRS is asserted only are needed for the transmit twisted pair interface (see Figur e6 in the previous section). The transmit filter due to receive activity. ensures that all the harmonics in the transmit signal are CRS is deasserted following an end of packet. attenuated by at least 27dB. The transmit signal requires a 3.1.2 Carrier Sense 14 www.national.com 3.0 Detailed Functional Description (Continued) 3.3 Additional Features 1:2 (1 on the chip side and 2 on the cable side) isolation transformer. 3.3.11 Transceiver Loopback 3.2 ENDEC Module — The Manchester encoder accepts NRZ data from the controller, encodes the data to Manchester, and transmits it differentially to the transceiver, through the differential transmit driver. — The Manchester decoder receives Manchester data from the transceiver, converts it to NRZ data and recovers clock pulses and sends them to the controller. When diagnostic loopback is programmed (in twisted pair mode), the transceiver redirects its transmitted data back into its receive path. The transmit driver and receive input circuitry are disabled in diagnostic loopback mode, hence, the transceiver is isolated from the network cable. This allows for diagnostic testing of the data path all the way up to the transceiver without transmitting or being interrupted by the media. This test can be performed regardless of the link status (i.e. a twisted pair cable does not have to be connected to perform transceiver loopback). 3.2.8 Manchester Encoder and Differential Driver 3.3.12 AUI/TP AutoSwitching - Port 1 The ENDEC consists of two major blocks: The encoder begins operation when the Transmit Enable input (TXE) goes high and converts the clock and NRZ data to Manchester data for the transceiver. For the duration of TXE remaining high, the Transmit Data (TXD) is encoded for the transmit-driver pair (TX ±). TXD must be valid on the rising edge of Transmit Clock (TXC). Transmission ends when TXE goes low. The last transition is always positive; it occurs at the center of the bit cell if the last bit is a one, or at the end of the bit cell if the last bit is a zero. The AUI/TP autoswitching lets the transceiver auto-switch between the AUI and TP outputs. At power up, the autoswitch function is enabled (AUTOSW bit = 1). When the auto-switch function is enabled, it allows the transceiver to automatically switch between TP and AUI outputs. If there is an absence of link pulses, the transceiver will switch to AUI mode. Similarly, when the transceiver starts detecting link pulses it will switch to TP mode. The switching from one mode to the next is only done after the current packet has been transmitted or received. If the twisted pair 3.2.9 Manchester Decoder output is jabbering and it gets into the link fail state, then The decoder consists of a differential receiver and a PLL to the switch to AUI mode is made only after the jabbering separate the Manchester encoded data stream into interhas stopped (this includes the time it takes to unjab). Also, nal clock signals and data. Once the input exceeds the if TP mode is selected, transmit packet data will only be squelch requirements, Carrier Sense (CRS) is asserted off driven by the twisted pair outputs and the AUI transmit outthe first edge presented to the decoder. Once the decoder puts will remain idle. Similar behavior applies when AUI has locked onto the incoming data stream, it provides data mode is selected. In TPI mode, the twisted pair drivers will (RXD) and clock (RXC) to the MAC. continue to send link pulses, however, no packet data will The decoder detects the end of a frame when no more be transmitted. It must also be noted that when switching mid-bit transitions are detected. Typically, within one and a from TP to AUI mode, it might take a few msec to comhalf bit times after the last bit, carrier sense is de-asserted. pletely power-up the AUI before it becomes fully operaReceive clock stays active for at least five more bit times tional. Switching in the opposite direction (AUI to TP) does after CRS goes low, to guarantee the receive timings of the not have this power-up time, since the TP section is controller. already powered (the twisted pair transmit section still The GATERXC bit, D0, in the Global Control and Status sends link pulses in AUI mode). Register, controls the receive clock (RXC) gated function. 3.3.13 Disable Management Interface Mode This allows the selection between 5 RXCs after the deassertion of carrier sense (CRS) or continuous RXCs after This is also called the “enhanced full duplex” mode. In this the deassertion of CRS. S ee Figure10. The GATERXC mode the management interface signals MDC and MDIO function which is programmable through the serial man- are not available, hence the 4TPhy registers can’t be read or written to. MDC pin 93 becomes the loopback select pin, agement interface is also available via a strap option. The default mode is to enable 5 RXCs after the deassertion of and MDIO becomes LINK_4. The advantage of this mode CRS. If a 2.7 kΩ resistor is connected to the COL pin is that the LINK status pins for all 4 ports are directly acces(and the device is reset), then the continuous RXCs mode sible as well as the direct control of the loopback mode of is enabled. There is a third RXC Mode which is used for operation. Also, in this mode the duplex operation of the certain MACs. In this mode there are no RXC clocks added 4TPHY can be directly controlled by the FDX[4:1] pins as described in the section below. after CRS deassertion. Please se e T able7 on page11 3.3.14 Full Duplex Operation 3.2.10 Collision Translator/Decoder When in AUI Mode and the external Ethernet transceiver detects a collision, it generates a 10 MHz signal to the differential collision inputs (CD ±) of the 4TPHY. When these inputs are detected active, the transceiver asserts COL which signals the MAC controller to back off its current transmission and reschedule another one. Full duplex operation is supported by the transceiver being able to simultaneously transmit and receive without asserting collision. The ENDEC has been implemented such that it can encode and decode simultaneously and also be robust enough to reject crosstalk noise with both transmit and receive channels enabled. The differential collision inputs are terminated the same way as the differential receive inputs. The squelch circuitry is the same, rejecting pulses with levels less than +160mV. The full duplex feature has two modes of operation. The first option (normal FDX mode), allows full duplex configuration of the ports only after a device reset (through the FDX[4:1] pins). The FDX[4:1] pins are sampled during device reset to determine which ports to configure into full duplex mode. Changing the logic state on the FDX[4:1] 15 www.national.com 3.0 Detailed Functional Description (Continued) a CRS a RXCa 1 2 3 4 5 RXCb RXCc RXD Figure 10. Receive Clock Timing - Continuous RXC Mode vs. 5 RXC Mode a. There will be a transition period where the RXC switches from the internal clock to received clock. b. There are 5 RXCs after CRS is deasserted c. There are no RXCs after CRS is deasserted. ple as e see Table7 on page11 pins will not take affect until a device reset is performed. A logic ‘0’ enables full duplex and a logic’1’ enables simplex mode. In addition, the full duplex capability of a port can also be changed dynamically by writing the FDX bit (D12) of the Port Control Register via the Mgmt Interface. duplex mode. If enhanced full duplex mode is desired, then a 2.7K pull-down resistor is required on the COL pin. During device reset, the COL pin is sampled to determine the correct full duplex mode configuration. The second option (enhanced FDX mode), allows changing the full duplex configuration of each port dynamically through the FDX[4:1] pins. As soon as the logic state on the FDX[4:1] pins are changed, the corresponding ports full duplex mode will be enabled or disabled. In order to select the desired full duplex mode, the COL pin has a strapping feature. The default is normal full Regardless of the full duplex mode, the logic state of the FDX[4:1] pins are sampled during reset to determine a port’s initial configuration for full duplex capability. 3.3.15 Strapping Options and Reset Tabl e10 shows the various strapping options and the associated pins used to configure the device at power-up. Table 10. Strapping Option Description (Default Pin Name Function ‘1’ = ‘1’, except FDX[4:1] pins have no default) ‘0’ Comments COL Gate RXC 5 RXCs COL Rx Filter Select Disable COL Full Duplex Mode Select Normal Enhanced Selects normal or enhanced full duplex mode COL LED Mode Select Normal Enhanced Selects normal or enhanced LED mode CRS[3:1] Transceiver Address Select FDX[4:1] Per Port Full Duplex Select RXD RXD[3:1] LNK Continuous Selects the # of RXCs after CRS deassertion Enable Addr Addr Enables/disables the Rx filter. Suggest enable Sets the Tcvr address for MII access Half duplex Full Duplex Selects full or half duplex configuration per port (no internal pull-ups) Auto-Negotiation Enable Disable Programmable MAC Interface Mode 1 These pins are sampled during device reset.(Power up or hardware reset, but not software port reset.)These pins have internal pull-ups, if the default modes are desired, no Enable Enables/disables Auto-Negotiation. See Tab le7 Selects one of five MAC interface modes. on page11 See the table in the MAC interface section. external resistors are required. (Except FDX[4:1] which have no pull-up resistors.) A 2.7 k Ω pull down resistor(s) are required to select non-default modes. If some type of 16 www.national.com 3.0 Detailed Functional Description (Continued) control logic is used to select the non-default modes, instead of pull down resistors, then the level on the strapping pins must be maintained for approximately 10 clocks after the RESET signal deasserts. and configures itself without need for software. The software might be used by management entity etc. to find out the results of auto-negotiation.) There are 3 different ways to reset the device or ports. One of them is during power-up. The second method is hardware reset where a low active pulse is applied to the RESET pin. The third method is software reset of individual ports by writing a ‘1’ to bit D15 of the port status/control registers 0000h-0003h. This reset doesn’t reset the device and doesn’t sample the strap options. Please see register definitions for details. — 10BASE-T Full Duplex — 10BASE-T Half Duplex (Lowest Priority) The BMCR provides control of enabling, disabling, and restarting of the Auto-Negotiation function. When AutoNegotiation is disabled the Duplex Mode bits in the Port Status Register controls switching between full duplex operation and half duplex operation. The Duplex Mode bits have no effect on the mode of operation when the AutoNegotiation Enable bit is set. Auto-Negotiation Priority Resolution: 3.3.16 On Chip Reference (ROC) This pin connects to an external precision (1%) resistor to ground for the on chip reference. The recommended value of this resistor will be determined when device characterization is complete. The user should adjust this value based on the specific board design. (Estimated range is between 0-5 kΩ.) The BMCR also provides status on: 3.4 Auto-negotiation Block 3.4.17 IEEE 802.3u AUTO-NEGOTIATION The Auto-Negotiation function provides a mechanism for exchanging configuration information between two ends of a link segment and automatically selecting the highest performance mode of operation supported by both devices. Fast Link Pulse (FLP) bursts provide the signaling used to communicate Auto-Negotiation abilities between two devices at each end of a link segment. For further detail regarding Auto-Negotiation, refer to clause 28 of the IEEE 802.3u specification. The 4TPHY supports two Ethernet protocols (10Mb/s Half Duplex and 10Mb/s Full Duplex), so the inclusion of Auto-Negotiation ensures that the highest performance protocol will be selected based on the ability of the Link Partner. — Whether Auto-Negotiation is complete. — Whether the Link Partner is advertising that a remote fault has occurred. The Auto-Negotiation Advertisement Register (ANAR) indicates the Auto-Negotiation abilities to be advertised by the 4TPHY. All available abilities are transmitted by default, but any ability can be suppressed by writing to the ANAR. Updating the ANAR to suppress an ability is one way for a management agent to change (force) the technology that is used. The Auto-Negotiation Link Partner Ability Register (ANLPAR) indicates the abilities of the Link Partner as indicated by Auto-Negotiation communication. The contents of this register are considered valid when the Auto-Negotiation Complete bit is set. The Auto-Negotiation Expansion Register (ANER) indicates additional Auto-Negotiation status. The ANER provides status on: — Whether a Multiple Link Fault has occurred. Upon hardware reset, RXD is sampled (strapping — Whether the Link Partner supports the Next Page funcoption) to determine if Auto-Negotiation is enabled. The tion. 4TPHY uses default register values to advertise its full set of abilities (10 Mb/s Half Duplex, 10 Mb/s Full Duplex) — Whether the 4TPHY supports the Next Page function. (The 4TPHY does support the Next Page function.) unless subsequent software accesses modify the mode. — Whether the current page being exchanged by Auto-Ne3.4.18 Auto-Negotiation Register Control gotiation has been received. When Auto-Negotiation is enabled, the 4TPHY transmits — Whether the Link Partner supports Auto-Negotiation. the abilities programmed into the Auto-Negotiation Advertisement Register (ANAR) via FLP Bursts. Either 10Mb/s 3.4.19 Auto-Negotiation Parallel Detection Half-Duplex or Full Duplex modes may be selected. The 4TPHY supports the Parallel Detection function as The Basic Mode Control/Status Register (BMCR) provides defined in the IEEE 802.3u specification. Parallel Detection software with a mechanism to control the operation of the requires the 10 Mb/s receivers to monitor the receive signal 4TPHY. The status of Auto-Negotiation Enable and Duplex and report link status to the Auto-Negotiation function. mode independent of configuration via Auto-Negotiation, or Auto-Negotiation uses this information to configure the corsoftware may be obtained by reading the BMCR and Port rect technology in the event that the Link Partner does not Status Register (respectively). These bits are valid if Auto- support Auto-Negotiation yet is transmitting link signals that the 10BASE-T PMAs recognize as valid link signals. Negotiation is disabled or after Auto-Negotiation is complete. If the 4TPHY completes Auto-Negotiation as a result of The contents of the Auto-Negotiation Link Partner Ability Parallel Detection the appropriate bits in the ANLPAR regRegister (ANLPAR) register are used to automatically con- ister will be set to reflect the mode of operation present in figure to the highest performance protocol between the the Link Partner. Software may determine that negotiation local and far-end ports. If external software needs to find completed via Parallel Detection by reading a zero in the out the result of Auto_Negotiation, it can determine which Link Partner Auto-Negotiation Able bit once the Auto-Negomode has been configured by Auto-Negotiation by compar- tiation Complete bit is set. ing the contents of the ANAR and ANLPAR registers and As an example of Parallel Detection, when the Link Partner then selecting the technology whose bit is set in both the supports 10BASE-T full duplex, but does not support AutoANAR and ANLPAR of highest priority relative to the follow- Negotiation. Parallel Detection will allow the 4TPHY to ing list. (Please note that 4TPHY does this automatically 17 www.national.com 3.0 Detailed Functional Description (Continued) negotiate to 10Mb/s Half Duplex operation by detecting link and link pulse activity until the break_link_timer expires pulses separated by 8-24 ms. (1500ms). Consequently, the Link Partner will go into link fail and normal Auto-Negotiation resumes. The 4TPHY will 3.4.20 Auto-Negotiation Restart resume Auto-Negotiation after the break_link_timer has Once Auto-Negotiation has completed it may be restarted expired by issuing FLP (fast Link Pulse) bursts. at any time byfirst resetting and then setting bit 9 of the BMCR to one. If the mode configured by a successful Auto- 3.4.21 Enabling Auto-Negotiation via Software Negotiation loses a valid link, then the Auto-Negotiation It is important to note that if the 4TPHY has been initialized process will resume and attempt to determine the configu- upon power-up as a non-auto-negotiating device (forced ration for the link. This function ensures that a valid config- technology), and it is then required that auto-negotiation of uration is maintained if the cable becomes disconnected. re-auto-negotiation be initiated via software, bit 0 of the A renegotiation request fromany entity, such as a manage- Basic Mode Control Register must first be cleared and then ment agent, will cause the 4TPHY to halt any transmit data set for any auto-negotiation function to take effect. Timer Block Auto-negotiation Block 10BASE-T Transceiver Auto-negotiation Block 10BASE-T Transceiver Auto-negotiation Block 10BASE-T Transceiver Auto-negotiation Block 10BASE-T Transceiver To Registers Figure 11. Auto-Negotiation Block Diagram 3.5 JTAG Boundary Scan The DP83924B reserves five pins, called the Test Access Port (TAP), to provide test access: TMS, TCK, Test Data Input (TDI), Test Data Output (TDO) and Test Reset (TRST). These signals are describe d in T able4 on page7. To ensure race-free operation all input and output data is synchronous to the test clock (TCK). TAP input signals (TMS and TDI) are clocked into the test logic on the rising edge of TCK while output signal (TDO) is clocked on the falling edge. The 4TPHY supports JTAG Boundary Scan per IEEE 1149.1 via test clock (TCK), test data input (TDI), test data output (TDO), test mode select (TMS), and test reset (TRST). The IEEE 1149.1 standard defines a test access port and boundary-scan architecture for digital integrated circuits and for the digital portions of mixed analog/digital integrated circuits. Figur e12 depicts the IEEE 1149.1 architecture The standard provides a solution for testing assembled printed circuit boards and other products based on highly complex digital integrated circuits and high-density surfacemounting assembly techniques. It also provides a means of accessing and controlling design-for-test features built into the digital integrated circuits. Such features include internal scan paths and self-test functions as well as other features intended to support service applications in the assembled product. The IEEE 1149.1 Boundary Scan Architecture document should be referenced for additional detail. The circuitry defined by this standard allows test instructions and associated data to be input serially into a device. The instruction execution results are output serially. 3.5.22 Test Logic The IEEE 1149.1 Test Logic consists of a Test Access Port (TAP) controller, an instruction register, and a group of test data registers including Bypass, Device Identification and Boundary Scan registers. The TAP controller is a synchronous 16 state machine that responds to changes at the TMS and TCK signals. This controls the sequence of operations by generating clock and control signals to the instruction and test data registers. The control signals switch TDI and TDO between instruction and test data registers The DP83924B implements 4 basic instructions: ID_Code, bypass, Sample/Preload and Extest. Upon reset, the ID_Code instruction is selected by default. 18 www.national.com 3.0 Detailed Functional Description (Continued) 3.5.23 ID_Code Instruction 3.5.26 Extest Instruction The ID_Code instruction allows users to select the 32-bit IDCODE register and interrogate the contents which consist of the manufacturer's ID, part ID and the version number. For DP83924B the ID code register holds the value h’1800801F. The Extest instruction allows circuitry external to the DP83924B (typically the board interconnections) to be tested. 3.5.24 Bypass Instruction The bypass instruction uses the bypass register. The bypass register contains a single shift-register stage and is used to provide a minimum length serial path between the TDI and TDO pins of the DP83924B when test operation is not required. This allows more rapid movement of test data to and from other testable devices in the system. Prior to executing the Extest instruction, the first test stimulus to be applied will be shifted into the boundaryscan registers using the Sample/Preload instruction. Thus, when the change to the Extest instruction takes place, known data will be driven immediately from the DP83924B to its external connections. This provides stimulus to the system input pins of adjacent devices on the assembled printed circuit board s. Figure12 below illustrates the IEEE 1149.1 architecture. 3.5.25 Sample/Preload Instruction 3.5.27 Device Testing The Sample/Preload instruction allows scanning of the boundary-scan register without causing interference to the normal operation of the on-chip system logic. IEEE 1149.1 provides a simple solution for testing many of the standard static pin parametrics. Reasonably accurate limits may be tested as a functional pattern. Two functions are performed when this instruction is selected. The IEEE 1149.1 test circuitry is tested itself as a consequence of testing pin parametrics. Specific tests are: Sample allows a snapshot to be taken of the data flowing from the system pins to the on-chip test logic or vice versa, without interfering with normal operation. The snapshot is taken on the rising edge of TCK in the Capture-DR controller state, and the data can be viewed by shifting through the component's TDO output. While sampling and shifting data out through TDO for observation, preload allows an initial data pattern to be shifted in through TDI and to be placed at the latched parallel output of the boundary-scan register cells which are connected to system output pins. This ensures that known data is driven through the system output pins upon entering the Extest instruction. Without Preload, indeterminate data would be driven until the first scan sequence has been completed. The shifting of data for the Sample and Preload phases can occur simultaneously. While data capture is being shifted out, the preload data can be shifted in. TRI-STATE® conditions of TDO when serial shift between TDI and TDO is not selected Input leakage of TCK, TMS, TDI and TRST Output has TRI-STATE leakage of TDO Opens and shorts of TCK, TMS, TDI,TRST, and TDO IDCODE register, the bypass registerand the TAP controller state machine sequences Open and shorted pins can be identified by placing an alternating bit pattern on the I/O pins. Any shorted bond wires would either cause an input to be misinterpreted in the inputs scan phase, or the test comparator would fail an output during data scan. Repeating the test with the inverse bit pattern provides coverage of VCC and GND short/open circuits. 3.5.28 Boundary Scan Description Language File A Boundary Scan Description Language (BSDL) file is available. Contact your local National Semiconductor representative to obtain the latest version. 19 www.national.com 3.0 Detailed Functional Description (Continued) MANUFACTURER CODE IDCODE REGISTER CORE LOGIC BOUNDARY SCAN REGISTER (CELLS ARE ANY ONE OF BC1 THRU BC6) DATA MUX TDO DRIVER TDI DI MUX PAD LOGIC TDO BYPASS REGISTER INSTR. PRELOAD INSTR. REGISTER DATA REGISTER SELECT GATED DR-CLOCK AND MODE SIGNALS RESET INSTR. REGISTER AND DR CLOCK GATING LOGIC IR-CLOCKS DR-CLOCKS TMS SELECT TCK TAP CONTROLER TCK ENABLE TRST Figure 12. IEEE 1149.1 Architecture 20 www.national.com 4.0 Register Descriptions 4.1 Register Map and Descriptions The following is an overall register map for the transceiver/ENDEC. There are two groups of registers. The first group provides individual port control which configures and reports status for functions applicable on a port basis. The second group provides global control which enables configuration of operations that are common to all the ports. Table 11. DP83924B Register Map Accessible via the Management Interface Register Address Name Description Access 00H Port 1 Control/Status. Configuration setting and Operational Status for Port 1. R/W 01H Port 2 Control/Status. Configuration setting and Operational Status for Port 2. R/W 02H Port 3 Control/Status. Configuration setting and Operational Status for Port 3. R/W 03H Port 4 Control/Status. Configuration setting and Operational Status for Port 4. R/W 04H - 07H reserved reserved R 08H Global Control/Status Register. Global setting and interrupt capabilities. 09H Port 1 Basic Mode Control Register. Port 1’s Auto-Negotiation Control And Status Register. R/W 0AH Port 2 Basic Mode Control Register. Port 2’s Auto-Negotiation Control And Status Register. R/W 0BH Port 3 Basic Mode Control Register. Port 3’s Auto-Negotiation Control And Status Register. R/W 0CH Port 4 Basic Mode Control Register. Port 4’s Auto-Negotiation Control And Status Register. R/W 0DH Silicon Revision. Programmed with a number representing the design revision. 0EH Port 1 Auto-Negotiation Advertisement Register. Auto-Negotiation advertisement register for port 1. R/W 0FH Port 2 Auto-Negotiation Advertisement Register. Auto-Negotiation advertisement register for port 2. R/W 10H Port 3 Auto-Negotiation Advertisement Register. Auto-Negotiation advertisement register for port 3. R/W 11H Port 4 Auto-Negotiation Advertisement Register. Auto-Negotiation advertisement register for port 4. R/W 12H Port 1 Link Partner Ability Register. Link Partner Ability Register for Port 1. R/W 13H Port 2 Link Partner Ability Register. Link Partner Ability Register for Port 2. R/W 14H Port 3 Link Partner Ability Register. Link Partner Ability Register for Port 3. R/W 15H Port 4 Link Partner Ability Register. Link Partner Ability Register for Port 4. R/W 16H Port 1 Auto-Negotiation Expansion Register. Port 1 Expansion Register for Auto-Negotiation. R/W 17H Port 2 Auto-Negotiation Expansion Register. Port 2 Expansion Register for Auto-Negotiation. R/W 18H Port 3 Auto-Negotiation Expansion Register. Port 3 Expansion Register for Auto-Negotiation. R/W 19H Port 4 Auto-Negotiation Expansion Register. Port 4 Expansion Register for Auto-Negotiation. R/W 1AH Port 1 Next Page Transmit Register. Port 1’s Auto-Negotiation Next Page Transmit Register. R/W R R/W 1BH Port 2 Next Page Transmit Register. Port 2’s Auto-Negotiation Next Page Transmit Register. R/W 1CH Port 3 Next Page Transmit Register. Port 3’s Auto-Negotiation Next Page Transmit Register. R/W 1DH Port 4 Next Page Transmit Register. Port 4’s Auto-Negotiation Next Page Transmit Register. R/W 1EH reserved reserved 1FH Test Control. Controls test functions for manufacturing test of the device. 21 R R/W www.national.com 4.0 Register Descriptions (Continued) Table 12. Port N Control/Status Register, addr = 00h - 03h (port 1 to port 4) D15 D14 D13 RST LPBK LNKPLS D12 D11 FDX JABE D10 : D9 D8 D7 D6 : D3 D2 D1 D0 RESV LNKDIS ERR RESV POLST LNK ST JAB ST This register controls the various operating modes available for the transceiver and ENDEC functions. There is one register per ENDEC/Transceiver on this device. Name Bit Reset Value Description Type RST D15 0 Software Reset/Enable: If this bit is set to ‘1’, then this port’s transceivers and ENDEC modules are reset back to their idle state (IEEE state diagram idle state, i.e. it will reestablish link, re auto-negotiate). If this bit is ‘0’, then normal operation is expected. Software reset doesn’t sample the strap options. (See Sec tion3.3 .15 on page16) This bit is self clearing. R/W LPBK D14 0 Loopback Transceiver: If this bit is set, then this port’s 10base-T transceiver will loop data from near the network interface pins back to the MAC, to test the operation of the transceiver. If reset, loopback is disabled. R/W LINKPLS D13 0 Link pulse transmission: Transmission of Link Pulses can be turned off by setting this bit to ‘1’. If this bit is set to ‘0’, normal operation (Link Pulse Transmission Enabled) is resumed. R/W FDX D12 Opposite of the strap option FDX[4:1] Full Duplex Operation: If this bit is ‘1’, then the ports full duplex capability is enabled. If ‘0’, then half-duplex is enabled. The reset value is determined by the mode selected by the FDX[4:1] pins and is opposite of the strap value. (i.e. if strap FDX=’1’ then reset value of this bit = ‘0’) R/W JABE D11 1 Jabber Enable: If this bit is set, then the ports jabber function is enabled. If reset, then the jabber feature is disabled. R/W resv D10-9 0 Reserved: must be written with ‘0’. R/W LNKDIS D8 0 R/W Link Detect Disable: If this bit is set, this port’s link detection circuitry will be disabled and regardless of the link condition, good_link will be established. If reset, then normal link operation is enabled. ERR D7 0 R/W LED Error: If this bit is set, this port’s status LED will go solid. If reset, normal LED operation is resumed.This bit can be set by management entity based on any criteria and will be used only as a visual prompt. The status LED is only available during normal LED mode of operation. resv D6-3 0 Reserved: must be written with ‘0’. POL ST D2 1 Polarity Status: This bit is set when bad polarity has been detected. Status bit, read-only. This bit is only meaningful if ENPOLSW bit D9 of register 08h has been set. R LNK ST D1 1 Link Status: This bit is set, when the port is in the link-fail state. (Even in forced AUI mode on port 1, this bit will still indicate TPI link status for port1). If link detect is disabled by setting bit D8 above, then this bit is always = 0 (good link state). R JAB ST D0 0 Jabber Status: This bit is set, when the port is in the jabber condition. Status bit, read-only. This bit is always = 0 (no jabber condition) if bit D11 above is reset (jabber disabled). R 22 R/W www.national.com 4.0 Register Descriptions (Continued) Table 13. Global Control/Mask Register, addr = 08h D15 : D14 RESV D13 D12 D11 D10 D9 LNKJABINT AUTOSW TPIAUI HBEN ENPOLSW D8 : D3 RESV D2 D1 D0 KLED LJINTMASK GATERXC This register controls the various operating modes available for the transceiver and ENDEC functions. This register will affect the operation of ALL ports of the 4TPhy. Name Bit Reset Value Description Type resv D15-14 0 Reserved; must be written with ‘0’. R R/W LNKJABINT D13 0 Link Jabber Interrupt Status; This bit is set when an interrupt occurs due to a link status change or a jabber condition on any port. This bit is cleared on a register read (the interrupt is also cleared). AUTOSW D12 1 Auto Switching; If this bit is set, automatic selection of TPI or AUI on port 1 is enabled. If reset, port 1 configuration is determined by the TPIAUI bit. R/W TPIAUI D11 1 TPI Select; If this bit is set, then port 1 is placed into TP mode. If reset, then port 1 is configured for AUI mode. R/W This bit is ignored if the AUTOSW bit is set. HBEN D10 1 Heartbeat Enable; If this bit is set, then heartbeat is enabled. If reset, it is disabled for all ports. R/W ENPOLSW D9 1 Enable Polarity Switching; If this bit is set, then auto polarity detection and correction is enabled for all ports. If reset, it is disabled. R/W MAC I/F D[8:6] Strap MAC Interface selection; Selects between one of 5 Serial NRZ MAC RXD[3:1] interface protocols. See the table in the Interface Description chapter for details on the different modes. R/W resv D5 0 RXD_IDLE D4 Opposite of strap option LINK_1 resv D3 KLED Reserved; must be written with ‘0’. R/W RXD Level During Idle - selects the level of RXD during Rx Idle (CRS deasserted). ‘1’ selects RXD_IDLE = High, ‘0’ selects RXD_IDLE= Low. Default condition is for RXD to be low during Idle.The reset value is determined by the mode selected by the LINK_1 pin and is opposite of the strap value. (i.e. if strap LINK_1 =’1’ then reset value of this bit = ‘0’) R/W 0 Reserved; must be written with ‘0’. R/W D2 0 Enhanced LED Mode; If this bit is set, “enhanced” LED mode is selected. If reset, “normal” LED mode is selected. R/W LJINTMASK D1 0 Link Jabber Interrupt Mask; If this bit is set, an interrupt will NOT be generated on a link-fail or jabber condition experienced on any port. If reset, interrupt generation is enabled. R/W GATERXC D0 Strap COL RXC Gated; If this bit is set, five RXC clocks are forced after CRS is deasserted. If reset, then RXC clocks are continuous after CRS deasserts. R/W 23 www.national.com 4.0 Register Descriptions (Continued) Table 14. Basic Mode Control/Status Register, addr 09 - 0CH (port 1 to port 4) D15 : D5 D4 D3 D2 D1 D0 RESV ANCA RF ANC RAN ANE This register controls the Auto-Negotiation functions and reports status for this port. Name Bit resv D15:5 ANCA Description Type Reserved R D4 Auto-Negotiation Configuration Ability: 1 = Capable of Auto-Negotiation. 0 = Not capable of Auto-Negotiation. R RF D3 Remote Fault: 1 = Remote Fault detected or reported by Link Partner 0 = No fault detected. R ANC D2 Auto-Negotiation Complete: 1 = Auto-Negotiation completed. 0 = Auto-Negotiation not completed. R RAN D1 Restart Auto-Negotiation: 1 = Restart Auto-Negotiation. ( This bit has to be first reset and then set to be able to restart Auto-Negotiation) 0 = Normal operation. R/W ANE D0 Auto-Negotiation Enable: 1 = Auto-Negotiation enabled. 0 = Auto-Negotiation disabled. R/W Table 15. Silicon Revision Register, addr = 0Dh D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 This register indicates the current revision of this silicon. Name Bit ID D15-0 Description Revision ID: 16’h0001 Type R 24 www.national.com 4.0 Register Descriptions (Continued) Table 16. Auto-Negotiation Advertisement Register, addr 0EH - 11H (port 1 to port 4) D15 D14 D13 D12:7 D6 D5 D4:D0 NPI RESV RF RESV FDX HDX RESV This register contains the advertised abilities of this device as they will be transmitted to it’s Link Partner during AutoNegotiation. Name Bit Description Type NPI D15 Next Page Indication: 0 = Next Page Transfer not desired. 1 = Next Page Transfer desired. resv D14 Reserved RF D13 Remote Fault: 1 = Advertises that this device has detected a remote fault. 0 = No remote fault detected. resv D12:7 FDX D6 R/W R R/W Reserved R Full Duplex Capable: 1 = 10BASE-T Full Duplex supported by the local device. 0 = 10BASE-T Full Duplex not supported. R/W The strap option on pins FDX[4:1] have no effect on what is advertised during autonegotiation HDX D5 resv D4:0 Half Duplex Capable: 1 = 10BASE-T Half Duplex supported by the local device. 0 = 10BASE-T Half Duplex not supported. R/W Reserved R Table 17. Auto-Negotiation Link Partner Ability Register, addr 12H - 15H (port 1 to port 4) D15 D14 D13 D12:7 D6 D5 D4:D0 NPI ACK RF RESV FDX HDX PRO This register contains the advertised abilities of the Link Partner during Auto-Negotiation. Name Bit NPI D15 Next Page Indication: 0 = The Link Partner does not desire a Next Page Transfer. 1 = The Link Partner desires a Next Page Transfer. R ACK D14 Acknowledge: 1 = Link Partner acknowledges the reception of the ability data word. 0 = Not acknowledged. R RF D13 Remote Fault: 1 = Remote Fault indicated by Link Partner. 0 = No remote fault reported by Link Partner. R resv D12:7 Reserved R FDX D6 Full Duplex Capable: 1 = 10BASE-T Full Duplex supported by Link Partner. 0 = 10BASE-T Full Duplex not supported by Link Partner. R HDX D5 Half Duplex Capable: 1 = 10BASE-T Half Duplex supported by Link Partner. 0 = 10BASE-T Half Duplex not supported by Link Partner. R Protocol Selection Bits: Link Partners binary encoded protocol selector. R PRO D4:0 Description 25 Type www.national.com 4.0 Register Descriptions (Continued) Table 18. Auto-Negotiation Expansion Register, addr 16H - 19H (port 1 to port 4) Name Bit resv D15:5 PDF D15:D5 D4 D3 D2 D1 D0 RESV PDF LPNPA NPA PRX LPANA Description Type Reserved R D4 Parallel Detection Fault: 1 = A fault has been detected via parallel detection. 0 = No fault detected via parallel detection. R LPNPA D3 Link Partner Next Page Able: 1 = Link Partner supports Next Page negotiation. 0 = Link Partner does not. R NPA D2 Next Page Able: 1 = The local device is able to send additional Next Pages. 0 = The local device is not able. R PRX D1 Page Received: 1 = New Link Code Word Page received. Cleared on read. 0 = New Link Code Word Page not received. R LPANA D0 Link Partner Auto-Negotiation Able: 1 = Link Partner supports Auto-Negotiation. 0 = Link Partner does not support Auto-Negotiation. R Table 19. Auto-Negotiation Next Page Transmit Register, addr 1AH - 1DH (port 1 to port 4) D15:D5 D14 D13 D12 D11 D10:0 NPI RESV MP ACK2 TOG CODE Name Bit NP D15 Next Page Indication: 1 = No other Next Page transfers desired. 0 = Another Next Page transfer is desired. Description Type resv D14 Reserved MP D13 Message Page: 1 = Message Page. 0 = Unformatted Page. R/W ACK2 D12 Acknowledge2: 1 = Will comply with message. 0 = Cannot comply with message. R/W TOG D11 Toggle: 1 = Previous value of transmitted Link Code Word was ‘0’. 0 = Previous value of transmitted Link Code Word was ‘1’. CODE D10:0 R/W R Code: This field represents the code field of the Next Page transmission. 26 R R/W www.national.com 5.0 Application Information 5.1 Magnetics Specifications Table 20. Transformer Electrical Specifications This section describes the required magnetics to be used with the 4TPHY. The external filter/transformer used in conventional twisted pair ports is now replaced by a transformer. By integrating the transmit filter, the transformer is the only magnetics required. In this configuration, a transformer with 1:2 turn ratio on the transmit path and a 1:1 turn ratio on the receive path is required. The system designer must determine if a choke is required. Careful layout may eliminate the need. Parameter The following is a list of suppliers that may provide magnetic components with the electrical specifications listed in Tabl e20. This is not an exclusive list and National Semiconductor makes no warranty as to the suitability of any of the magnetics. It is the responsibility of the user to verify the performance of any magnetics prior to production use. BEL FUSE HALO Electronics PCA PULSE Engineering VALOR Electronic 1 Leakage Inductance (LL) 1-2, short 15-16 3-4, short 13-14 5-6, short 11-12 7-8, short 9-10 0.3 uH(max) DC Resistance (DCR) 3-4, 5-6 0.35 Ω (max) 1-2, 7-8, 9-10, 1516. 0.5 Ω (max) 11-12, 13-14 1.0 Ω (max) 1-2 to 15-16 3-4 to 13-14 5-6 to 11-12 7-8 to 9-10 2000 Vrms for 1 min. 16 15 14 RX +/- pair trace lengths should be matched. The width should be 8 mils min, with a trace-to-trace spacing of 8 mils min. TX+/- pair trace lengths should be matched. The width should be 15 mils min, with a trace-to-trace spacing of 15 mils min (if the total trace length between the 4TPHY and the RJ45 connector is less than 1.5”, then 8 mil spacing and width can be used). The TX and RX spacing should be 15 mils min. — The source termination (R,C) must be placed as close to the device as possible. — 100 Ω traces between the transformer module and the RJ45 connector. TX 4 IC Side 5 1:2 1:2 13 Network si 12 TX 6 7 11 10 RX 8 200 uH (min) 12 pF (max) RX 2 3 Value 50 uH (min) Inter-winding Ca- 1-2 to 15-16, pacitance (Cww ) 3-4 to 13-14 5-6 to 11-12 7-8 to 9-10 High Potential 1:1 Pins Open Circuit In- 3-4, 5-6 ductance (OCL) 1-2, 7-8, 9-10, 1112, 13-14, 15-16. 9 5.2.4 Analog Power and Ground Circuit 1:1 Recommended low pass filter for the Analog PLL and Waveshaper circuitry to eliminate any power supply injected noise. (There is no need to filter the digital PLL pins 62-67) This should improve jitter performance. Refer to Figur e14. Figure 13. Typical Dual Transformer Pinout 5.2 Layout Considerations 5.2.1 Power Plane — Minimize signal traces which traverse across multiple islands to reduce reflections and impedance mismatches. Therefore, the ground should extend from the 4TPHY to under the magnetics (transformer). — Use a single power plane. 4TPHY 10 Ω VDD_WSPLL (VDD_WS) 5.2.2 Ground Plane 0.1 uF — Use a single ground plane, similar to the Power Plane. 22 uF VDD 5.2.3 4TPHY Placement and Routing — The 4TPHY should be placed as close as possible to the external transformer module/RJ45 connector. — Each trace of a differential pair (i.e. TXU+, TXU-) between the 4TPHY and the transformer module should be as follows: 27 GND_WSPLL (GND_WS) Figure 14. Pins 68-69 and 31-32 circuit diagram www.national.com 5.0 Application Information (Continued) Bypass for all other supplies should use a 0.01uF capacitor.Additional bypass for the VDD_TPI supplies should use a 1.0 uF capacitor. 5.3 LED interface considerations The 4TPHY will update the LEDs every 50 ms. LED data is shifted out serially in bursts of 8 or 16 LED_CLKs depending on normal or enhanced LED mode selected. This data typically will be shifted into an external serial shift register to control LEDs. However if one intents to use this data for controlling a MAC, care has to be taken: During the update cycle data coming out of the shift register is not going to be valid until the cycle is completed and all the bits are shifted in place. These outputs should not be used to directly control a MAC unless the shift register outputs are latched during the update cycle. A possible implementation would be to have a one-shot which will latch the outputs of the shift register > 16 LED_CLKs once the burst begins. Since LED_CLK is 1 MHz, 20 us should be sufficient to make sure all the bits are shifted to their correct positions within the shift register before allowing the outputs to change. 28 www.national.com 6.0 User Information 6.1 CRS Assertion Connected to a 100M Node Issue: 6.3 Lockup during duplex mode change: Problem: CRS may be asserted when connected to a non-AutoNegotiating, 100Mb/s node and the DP83924B is also in the non-AutoNegotiating mode. The 4TPHY could also establish link as a result of 100 Mb/s scrambled IDLEs. The LED could also indicate receive activity. The 4TPHY can lock up during change of the duplex mode from half duplex to full duplex. (All of the above are IEEE 802.3 compliant and included in the User Info Sheet for clarification purposes.) Description: When connected to a 100M node that is configured into non Auto Negotiation mode, the scrambled Idles transmitted by this 100M node may cause the DP83924B to assert CRS. Since 100 Mbps scrambled idles can have waveforms passing the smart squelch levels and frequency requirements, this is to be expected. Also IEEE 802.3 Clause 14, Figure 14.6 shows that it’s permissible to indicate “link test pass” based on receive data activity even in the absence of link pulses. In Auto-negotiation mode, activity on the receive line will not cause “link test pass” state to be entered. Compatibility: This behavior is consistent with the DP83924A, which is a non-Auto Negotiating device. Impact: Problem can be resolved by enabling Auto-Negotiation via the BMCSR or through the strap option during reset. Description: If a port is transmitting and receiving while the duplex mode of that port is changed from half duplex to full duplex then the receive logic of the port will lock up. (The duplex mode can be changed by writing to the port register or by direct control of the duplex mode by using the FDX_n pins while in enhanced full duplex mode. In either method the lockup problem is seen) While locked up, CRS will stay high even if the cable is disconnected. A hard reset will resume regular operation. Impact: The users should disable transmit before changing the duplex status. Die Revision Plan: None. 6.4 Start of TP_IDL, 45 Bit Times to 50 mV: Problem: TP_IDL output should settle to a value between ±50 mV within 45 BT of the last bit transmitted. The level is typically +/- 80 mV. Description: The IEEE 802.3 specification defines that the output waveform should settle to +50mV, 45 bit times after the last low The non Auto-negotiation behavior of the 4TPHY is consis- to high transition of a transmitted packet. This parameter is typically +/- 80 mV. tent with IEEE 802.3 and doesn’t require any fix. Die Revision Plan: Impact: 6.2 Link Fail Inhibit Timer Problem: We expect no customer impact. The DP83924B's Link Fail Inhibit Timer within the Auto_Negotiation block can time-out after 650ms rather than the 750ms minimum specified in 802.3u, Clause 28. (Based on simulation results) None. Description: The Link Fail Inhibit Timer, which monitors whether a valid link has been established at the end of either an FLP exchanger a parallel detection, may expire after 650 ms in DP83924B. Die Revision Plan: 6.5 Polarity detection: Issue: The 924B polarity detection is based on NLPs only. It will not detect polarity inversion based on packet data. Description: The 4TPHY will automatically detect and correct wiring polarity reversal on the UTP receive pins. To be able to do this it has to see seven consecutive NLPs with the wrong There is no current solution to this problem, however, there polarity. It would not detect polarity errors based on data. should be no decrease in performance due to this anomaly.The 10 Mb negotiation will resolve within ~250 ms max Impact: for a parallel detection, and within ~440 ms max based on If the link partner starts sending packets before the 4TPHY FLP detection. In both cases, it is well within the 650 ms receives 7 consecutive inverted polarity NLPs then the allowed by the Link Fail Inhibit Timer. 4TPHY will not be able to detect/correct polarity errors until Impact: Die Revision Plan: there is a gap between packets such that 7 consecutive NLPs are received. There are currently no plans. Although the DP83924B does not meet the 750 ms minimum specified in IEEE 802.3u, Die Revision Plan: this should not affect functionality in an otherwise compli- None. ant system environment. 29 www.national.com 6.0 User Information (Continued) 6.6 Link pulse template: Issue: The 924B will not link if the received NLPs have undershoot exceeding 800 mV for a duration exceeding 80 ns. Description: IEEE 802.3 Clause 14, section 188.8.131.52.1 Figure 14-12 shows the template for link test pulse. This template allows undershoot up to -3.1V. For link pulses fitting this template but having large undershoot, the 924B will not correctly detect link. Impact: We don’t believe the above is a problem, because there are no NIC cards which have the extreme undershoots allowed in the above template. The 924B is robust enough to link even with NLPs having large undershoot, as long as the undershoot doesn’t exceed -800 mV and lasts less than 80 ns. Die Revision Plan: None. 30 www.national.com 7.0 AC and DC Electrical Specifications Absolute Maximum Ratings Supply Voltage (VDD ) Recommended Operating Conditions -0.5 V to 7.0 V Supply voltage (VDD ) DC Input Voltage (VIN) -0.5 V to VCC + 0.5 V Ambient Temperature (TA) DC Output Voltage (VOUT) -0.5 V to VCC + 0.5 V Max. die temperature (Tj) Max. case temperature (Tc) Storage Temperature Range (TSTG ) -65°C to 150°C On Chip Power Dissipation (P D) 1.6W Lead Temp. (TL) (Soldering, 10 sec) ESD Rating (RZAP = 1.5k, CZAP = 120 pF) 260°C 2 kV HBM 5 Volts + 5% 0 to 70 °C 125°C 105°C Note: Absolute maximum ratings are those values beyond which the safety of the device cannot be guaranteed. They are not meant to imply that the device should be operated at these limits. Thermal Characteristics Theta Junction to Case (Tjc) Max 13.7 Units °C / W Theta Junction to Ambient (Tja) degrees Celsius/Watt - No Airflow @ 1.0W 34.2 °C / W Theta Junction to Ambient (Tja) degrees Celsius/Watt - 225 LFPM Airflow @ 1.0W 28.6 °C / W Theta Junction to Ambient (Tja) degrees Celsius/Watt - 500 LFPM Airflow @ 1.0W 25.2 °C / W Theta Junction to Ambient (Tja) degrees Celsius/Watt - 900 LFPM Airflow @ 1.0W 21.5 °C / W 7.1 DC Specifications TA = 0°C to 70°C, 5V ±5%. Symbol Parameter Conditions Min Max Units DIGITAL PINS (LED_CLK,LED_DATA,MDIO,MDC,CRS,RXC,RXD,COL,TXE,TXD,TXC,X1,RESET,LINK, INT,TCK,TDI,TDO,TMS,TRST ) VOH1 Minimum High Level Output Voltage IOH = -2mA (except MDIO, TXC, INTz) 3.0 V VOH2 Minimum High Level Output Voltage IOH = -8ma (MDIO and TXC only) 3.0 V VOL1 Maximum Low Level Output Voltage IOL = 2mA (except MDIO, TXC, INTz) 0.4 V VOL2 Maximum Low Level Output Voltage IOL = 8mA (MDIO, Extend INTZ only) 0.4 V VIH Minimum High Level Input Voltage VIL Maximum Low Level Input Voltage IIN Pull-up Resistor Current (Note 1,3) VIN = GND, VDD=5V IIL, IIH Input Leakage (Note 2) IOZ ICC 2.0 V 0.8 V -250 -40 µA VIN = VCC or GND -10 10 µA TRI-STATE Output Leakage Current VOUT = VCC or GND -10 10 µA Average Operating Supply Current TXU+ Transmitting (Note 4) 250 mA ±550 ±1200 mV +160 +300 mV 4.4 5.6 Vpp +300 +585 mV +175 +300 mV AUI INTERFACE PINS (TX±, RX±, and CD±) VOD Diff. Output Voltage (TX±) VDS Diff. Squelch Threshold (RX± and CD±) 78 Ω Termination TWISTED PAIR INTERFACE PINS VODT TXU+/- Differential Output Voltage VSRON1 Receive Threshold Turn-On Voltage 10BASE-T Mode VSROFF Receive Threshold Turn-Off Voltage Not tested 100% Note 1: CRS[4:1], COL[4:1], TDI, RXD[4:1], TMS, TRST Note 2: MDIO, MDC, TXE[4:1]. TXD[4:1], X1, RESET, TCK Note 3: Internal pull-up resistor typically 20k Ω -125kΩ Note 4: This does NOT include the current consumed off chip by the load. Typically, the power dissipated off-chip is about 76mW/ port. The total power dissipated will be: [the off-chip power dissipation (4 ports x 76mW/port)] + [on-chip power dissipation (5.25 V x 250 mA)] = (0.3 + 1.32) = 1.62 W 31 www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2 AC Switching Specifications TA = 0oC to 70oC, 5V ±5% 7.2.1 LED Interface Timing t1 LED_CLK t2 LED_DATA Symbol t3 Parameter Min Max Units t0 LED Clock Duty Cycle 40 60 % t1 LED Clock Cycle Time 900 1100 ns t2 LED_Data Valid to LED_Clk 25 ns t3 LED_Data Valid from LED_Clk 25 ns 7.2.2 Reset and Strapping Timing X1 t5 t4 twait RESETz Symbol t4 twait t5 Parameter Min Max Units Reset Pulse Width (X1 must be active during RESETz). 30 us min wait time after reset before 4TPHY is fully functional. 30 us X1 Duty Cycle 40 32 60 % www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2.3 Management Interface Timing t6 MDC t8 MDIO (input) t9 MDC t10 MDIO (output) Symbol Parameter Min Max Units 2.5 MHz 60 % t6 Mdc Frequency t7 Mdc Duty Cycle 40 t8 Mdio (input) Set Up to Mdc rising edge 10 ns t9 Mdio (input) Hold Mdc from rising edge 10 ns t10 Mdc to Mdio (output) Delay Time 300 33 ns www.national.com 7.0 AC and DC Electrical Specifications 7.2.4 (Continued) Twisted Pair Start of Transmit Packet t17 TXC t11 t16 t15 TXE t12 t13 TXD t14 TXU± Symbol Parameter Min Max Units t11 TXE Setup time to TXC rising edge 20 ns t12 TXD Setup time to TXC rising edge 20 ns t13 TXD hold time from TXC rising edge 5 ns t14 TXU start-up delay from TXC rising edge 400 ns t15 TXU prop Delay (TXC rising edge to TXU+/-) 350 ns t16 TXC Low Time 40 ns t17 TXC High Time 40 ns t18 TXC Duty Cycle 40 34 60 % www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2.5 Twisted Pair Transmit End of Packet t19 TXC TXE 0, 1 Last Bit TXD 0 t20 0 TXU± ‘0’ Ending Pkt t21 1 1 TXU± ‘1’ Ending Pkt Symbol Parameter t19 TXE Hold Time from TXC rising edg t20 t21 Min Max Units 5 ns TXU End of Packet Hold Time with “0” ending bit 2501 ns TXU End of Packet Hold Time with “1” ending bit 250 ns 1. This is measured between two zero crossings. If measured between a zero crossing and when the differential output voltage falls below 585 mV, then this limit is = 225 ns as per IEEE 802.3 Clause 14 Figure 14-10. 35 www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2.6 Twisted Pair Start of Receive Packet 1st bit decoded 1 0 1 RXI± t22 t26 CRS t23 RXC t24 RXD t25 Symbol Parameter Min Max Units t22 Carrier Sense Turn On Delay (RXI± to CRS) 550 ns t23 Decoder Acquisition Time (Note) 2200 ns t24 Receive Data Valid to RXC rising edge 25 ns t25 Receive Data Invalid from RXC rising edge 25 ns t26 Receive Data Bit Delay 400 ns Note: This parameter includes TPI smart squelch turn on time plus ENDEC data acquisition time. 36 www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2.7 Twisted Pair End of Receive Packet 1 0 IDLE 1 RXI± t28 RXC t27 CRS Symbol Parameter t27 Carrier Sense Turn Off Delay t28 Number of RXCs after CRS low 1 Min Max Units 500 ns 5 Bit Times 1. This only applies when the GATERXC bit, D0, in the Global Configuration Register is set 7.2.8 Link Pulse Timing t29 t30 TXU± Symbol Parameter Min Max Units t29 Link Integrity Output Pulse Width 80 130 ns t30 Time between Link Output Pulses 8 24 ms Min Max Units 7.2.9 Heartbeat Specifications TXE TXC t31 t32 COL Symbol Parameter t31 CD Heartbeat Delay 600 1600 ns t32 CD Heartbeat Duration 500 1500 ns 37 www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2.10 Jabber Specifications TXE t33 t34 TXU± COL Symbol Parameter Min Max Units t33 Jabber Activation Time 20 60 ms t34 Jabber Deactivation Time 250 750 ms Max Units 7.2.11 AUI Start of Packet Transmit Timing TXC t35 t39 TXE t37 t36 TXD t38 TX± Symbol Parameter Min t35 TXE Setup time to TXC rising edge 20 ns t36 TXD Setup time to TXC rising edge 20 ns t37 TXD hold time from TXC rising edge 5 ns t38 TX+/- Start-up Delay from TXC rising edge 300 ns t39 TX Prop Delay (TXC rising edge to TX+/-) 300 ns 38 www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2.12 AUI End of Packet Transmit Timing TXC 1 0, 1 0 Last Bit TXD t40 TXE 0 t41 0 TX± ‘0’ Ending Pkt t42 1 1 TX± ‘1’ Ending Pkt Symbol Parameter t40 TXE Hold Time from TXC rising edg t41 t42 Min Max Units 5 ns TX End of Packet Hold Time with “0” ending bit 1951 ns TX End of Packet Hold Time with “1” ending bit 195 ns 1. This is measured from zero crossing to when the output goes below 380 mV as per IEEE 802.3 page 512. 39 www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2.13 AUI Start of Packet Receive Timing 1st bit decoded 1 0 1 RX± t43 CRS t44 RXC t45 RXD t46 Symbol Parameter Min Max Units t43 Carrier Sense Turn On Delay (RX± to CRS) 550 ns t44 Decoder Acquisition Time 2200 ns t45 Receive Data Valid to RXC Rising Edge 25 ns t46 Receive Data Invalid from RXC Rising Edge 25 ns 7.2.14 AUI End of Packet Receive Timing 1st bit decoded 1 0 1 Idle RX± t48 RXC t47 CRS Symbol t47 t48 Parameter Min Carrier Sense Turn Off Delay Number of RXCs after CRS 5 Low1 Max Units 500 ns Bit Times 1. This only applies when GATERXC, bit D0, in the Global Configuration Register is set. 40 www.national.com 7.0 AC and DC Electrical Specifications (Continued) 7.2.15 AUI Collision Specifications CD± t49 t50 COL Symbol Max Units t49 Collision Turn On Delay (CD± to COL) Parameter Min 600 ns t50 Collision Turn Off Delay (CD± to COL) 900 ns 7.2.16 Network Test Loads TX OutputTest Load TX+ 78 Ω 27 uH TXFigure 15. Attachment Unit Interface Load for ATE testing TXU+ 40a Ω TXUFigure 16. Twisted Pair Interface Load for ATE testing Note: The 40 Ω load is the effective differential resistance seen by the TXU pins during normal operation. P lease see Figure6 which shows a 1: 2 transformer for the TXU pins. Since a 100 Ω load on the other side of a 1:2 transformer looks like a 25Ω load to the TXU side of the transformer, the equivalent differential resistance seen by the transmitting port is = 10.5//Zc + 25 + 10.5//Zc ~= 40 Ω where Zc is the impedance of the 1000 pf capacitors. For 10BASE-T frequencies between 5 MHz and 10 MHz this impedance varies between 32 to 16 Ω in // with the 10.5 Ω resistors. 7.2.17 AC Timing Test Condition Reference Limits Input Levels (Digital Pins, tR = t F = 3ns) 0 V - 3.0 V Input/Output Reference Levels (Digital Pins) 1.5 V Differential Input Reference Levels 2.0 Vpp Differential Input/Output Reference Levels 50% of Differential 41 www.national.com DP83924BVCE Quad 10 Mb/s Ethernet Physical Layer - 4TPHY™ 8.0 Physical Dimensions inches (millimeters) unless otherwise noted Plastic Quad Flat Pack (VCE) Order Number DP83924BVCE NS Package Number VCE100A LIFE SUPPORT POLICY NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. National Semiconductor Corporation Tel: 1-800-272-9959 Fax: 1-800-737-7018 Email: [email protected] National Semiconductor Europe Fax: (+49) 0-180-530 85 86 Email: [email protected] Deutsch Tel: (+49) 0-180-530 85 85 English Tel: (+49) 0-180-532 78 32 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. National Semiconductor Asia Pacific Customer Response Group Tel: 65-254-4466 Fax: 65-250-4466 Email: [email protected] National Semiconductor Japan Ltd. Tel: 81-3-5620-6175 Fax: 81-3-5620-6179 www.national.com National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and Natio nal reserves the right at any time without notice to change said circuitry and specifications.