TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Industrial Temp, Single Port 10/100Mbs Ethernet Physical Layer Transceiver Check for Samples: TLK105, TLK106 1 Introduction 1.1 Features 1 • Low Power Consumption: <205mW PHY and 275mW with Center Tap (Typical) • Cable Diagnostics (TLK106) • Programmable Fast Link Down Modes, <10µs reaction time • Fixed TX Clock to XI, with programmable phase shift • Programmable Power Back Off to reduce PHY power up to 20% in systems with shorter cables • 3.3V MAC Interface • Auto-MDIX for 10/100Mbs • Energy Detection Mode • MII and RMII Interfaces • Serial Management Interface • IEEE 802.3u MII • IEEE 802.3u Auto-Negotiation and Parallel Detection • IEEE 802.3u ENDEC, 10Base-T Transceivers and Filters • IEEE 802.3u PCS, 100Base-TX Transceivers 1.3 • Error-Free Operation up to 150 Meters Under Typical Conditions • Integrated ANSI X3.263 Compliant TP-PMD Physical Sublayer with Adaptive Equalization and Baseline Wander Compensation • Programmable LED Support: Link, Activity • 10/100Mbs Packet BIST (Built in Self Test) • Bus I/O Protection - ±16kV JEDEC HBM • Enables implementation of IEEE1588 (V1 and V2) Time Stamping at the MAC • 32-pin QFN (5mm) × (5mm) 1.2 • • • • Applications Industrial Networks and Factory Automation Real Time Industrial Ethernet Applications such as EtherCAT®, Ethernet/IP™, ProfiNET®, SERCOSIII and VARAN Motor and Motion Control General Embedded Applications Device Overview The TLK10x is a single-port Ethernet PHY for 10Base-T and 100Base TX signaling, integrating all the physical-layer functions needed to transmit and receive data on standard twisted-pair cables. The device supports the standard Media Independent Interface (MII) and Reduced Media Independent Interface (RMII) for direct connection to a Media Access Controller (MAC). The device is designed for power-supply flexibility, and can operate with a single 3.3V power supply or with combinations of 3.3V and 1.55V power supplies for reduced power operation. The TLK10x uses mixed-signal processing to perform equalization, data recovery, and error correction to achieve robust operation over CAT 5 twisted-pair wiring. The TLK10x not only meets the requirements of IEEE 802.3, but maintains high margins in terms of cross-talk and alien noise. TLK10x 1 Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters. Copyright © 2012–2013, Texas Instruments Incorporated TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com MII Option RMII Option MII/RMII Interface Cable Diagnostics (TLK106 only) Figure 1-1. TLK10x Functional Block Diagram 2 Introduction Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with appropriate precautions. Failure to observe proper handling and installation procedures can cause damage. ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more susceptible to damage because very small parametric changes could cause the device not to meet its published specifications. 1 .............................................. 1 ............................................. 1 1.2 Applications .......................................... 1 1.3 Device Overview ..................................... 1 Pin Descriptions ......................................... 4 2.1 Pin Layout ........................................... 4 2.2 Serial Management Interface (SMI) ................. 5 2.3 MAC Data Interface .................................. 5 2.4 10Mbs and 100Mbs PMD Interface .................. 6 2.5 Clock Interface ....................................... 6 2.6 LED Interface ........................................ 6 2.7 Reset and Power Down ............................. 6 2.8 Power and Bias Connections ........................ 7 Hardware Configuration ............................... 7 3.1 Bootstrap Configuration .............................. 7 3.2 Power Supply Configuration ......................... 8 3.3 IO Pins Hi-Z State During Reset ..................... 9 3.4 Auto-Negotiation .................................... 10 3.5 Auto-MDIX .......................................... 10 3.6 MII Isolate Mode .................................... 11 3.7 PHY Address ....................................... 11 3.8 LED Interface ....................................... 12 3.9 Loopback Functionality ............................. 13 3.10 BIST ................................................ 15 3.11 Cable Diagnostics .................................. 15 Interfaces ................................................ 17 4.1 Media Independent Interface (MII) ................. 17 4.2 Reduced Media Independent Interface (RMII) ..... 18 4.3 Serial Management Interface ....................... 20 Architecture ............................................. 24 5.1 100Base-TX Transmit Path ......................... 24 5.2 100Base-TX Receive Path ......................... 27 5.3 10Base-T Receive Path ............................ 29 5.4 Auto Negotiation .................................... 30 5.5 Link Down Functionality ............................ 31 Reset and Power Down Operation ................. 33 Introduction 1.1 2 3 4 5 6 Features 7 8 .................................... ..................................... 6.3 Power Down/Interrupt .............................. 6.4 Power Save Modes ................................. Design Guidelines ..................................... 7.1 TPI Network Circuit ................................. 7.2 Clock In (XI) Requirements ......................... 7.3 Thermal Vias Recommendation .................... Register Block ......................................... 8.1 Register Definition .................................. 8.2 Extended Register Addressing ..................... 8.3 PHY Status Register (PHYSTS) ................... 8.4 PHY Specific Control Register (PHYSCR) ......... 8.5 MII Interrupt Status Register 1 (MISR1) ............ 8.6 MII Interrupt Status Register 2 (MISR2) ............ 8.7 False Carrier Sense Counter Register (FCSCR) ... 8.8 Receiver Error Counter Register (RECR) .......... 8.9 BIST Control Register (BISCR) .................... 8.10 RMII Control and Status Register (RCSR) ......... 8.11 LED Control Register (LEDCR) .................... 8.12 PHY Control Register (PHYCR) .................... 8.13 10Base-T Status/Control Register (10BTSCR) .... 8.14 BIST Control and Status Register 1 (BICSR1) ..... 8.15 BIST Control and Status Register2 (BICSR2) ..... 8.16 Cable Diagnostic Control Register (CDCR) ........ 8.17 PHY Reset Control Register (PHYRCR) ........... 8.18 TX_CLK Phase Shift Register (TXCPSR) .......... 8.19 Voltage Regulator Control Register (VRCR) ....... 6.1 Hardware Reset 6.2 Software Reset 8.20 9 9.2 9.3 9.4 9.5 9.6 33 33 34 35 35 35 37 38 43 55 57 58 59 60 61 61 61 62 64 64 65 65 66 67 67 67 68 Cable Diagnostic Configuration/Result Registers (TLK106) ............................................ 68 ............................. ................. RECOMMENDED OPERATING CONDITIONS .... THERMAL CHARACTERISTICS ................... Electrical Specifications 9.1 33 ABSOLUTE MAXIMUM RATINGS 74 74 74 74 DC CHARACTERISTICS POWER SUPPLY CHARACTERISTICS AC Specifications Contents Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 3 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 2 Pin Descriptions The TLK10x pins fall into the following interface categories (subsequent sections describe each interface): • • • • Serial Management Interface MAC Data Interface Clock Interface LED Interface • • • • • Reset and Power Down Bootstrap Configuration Inputs 10/100Mbs PMD Interface Special Connect Pins Power and Ground pins Note: Configuration pin option. See Section 3.1 for Jumper Definitions. The definitions below define the functionality of each pin. Input Type: O Output Type: I/O Input/Output Type: OD Open Drain Type: PD, PU Internal Pulldown/Pullup Type: S Configuration Pin (All configuration pins have weak internal pullups or pulldowns. Use an external 2.2kΩ resistor if you need a different default value. See Section 3.1 for details.) CRS/CRS_DV / LED_CFG RX_DV / MII_MODE 30 29 28 27 26 RX_CLK RX_ER /AMDIX_EN 31 RXD_0 / PHYAD1 32 COL / PHYAD0 1 RXD_1 / PHYAD2 RXD_3 / PHYAD4 RXD_2 / PHYAD3 Pin Layout 25 24 PFBIN2 TX_CLK 2 23 XI TX_EN 3 22 XO TXD_0 4 21 VDD33_IO TXD_1 5 20 MDC TXD_2 6 19 MDIO TXD_3 7 18 RESET INT / PWDN 8 17 16 11 12 13 14 15 TD– PFBIN1 AVDD33 PFBOUT LED_LINK / AN_0 RBIAS 10 TD+ 9 RD+ GND RD– 2.1 Type: I Figure 2-1. TLK10x PIN DIAGRAM, TOP VIEW 4 Pin Descriptions Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 This document describes signals that take on different names depending on configuration. In such cases, the different names are placed together and separated by slash (/) characters. For example, "RXD_3 / PHYAD4". Active low signals are represented by overbars. 2.2 Serial Management Interface (SMI) PIN NAME NO. TYPE DESCRIPTION MANAGEMENT DATA CLOCK: Clock signal for the management data input/output (MDIO) interface. The maximum MDC rate is 25MHz; there is no minimum MDC rate. MDC is not required to be synchronous to the TX_CLK or the RX_CLK. MDC 20 I MDIO 19 I/O 2.3 MANAGEMENT DATA I/O: Bidirectional command / data signal synchronized to MDC. Either the local controller or the TLK10x may drive the MDIO signal. This pin requires a pull-up resistor with value 2.2kΩ. MAC Data Interface PIN NAME TX_CLK NO. 2 TYPE DESCRIPTION O, PD MII TRANSMIT CLOCK: MII Transmit Clock provides the 25MHz or 2.5MHz reference clock depending on the speed. Note that in MII mode, this clock has constant phase referenced to REF_CLK. Applications requiring such constant phase may use this feature. Unused in RMII mode. In RMII, X1 reference clock is used as the clock for both transmit and receive. TX_EN 3 I, PD TRANSMIT ENABLE: TX_EN is presented on the rising edge of the TX_CLK . TX_EN indicates the presence of valid data inputs on TXD[3:0] in MII mode, and on TXD [1:0] in the RMII mode. TX_EN is an active high signal. TXD_0 TXD_1 TXD_2 TXD_3 4 5 6 7 I, PD TRANSMIT DATA: In MII mode, the transmit data nibble received from the MAC is synchronous to the rising edge of the TX_CLK signal. In RMII mode, TXD [1:0] received from the MAC is synchronous to the 50MHz reference clock on XI. RX_CLK 25 O RECEIVE CLOCK: In MII mode it is the receive clock that provides either a 25MHz or 2.5MHz reference clock, depending on the speed, that is derived from the received data stream. RX_DV / MII_MODE 26 S, O, PD RECEIVE DATA VALID: This pin indicates valid data is present on the RXD [3:0] for MII mode or on RXD [1:0] for RMII mode, independently from Carrier Sense. 28 RECEIVE ERROR: This pin indicates that an error symbol has been detected within a received packet in both MII and RMII mode. In MII mode, RX_ER is asserted high synchronously to S, O, PU RX_CLK and in RMII mode, synchronously to XI (50MHz). This pin is not required to be used by the MAC, in either MII or RMII, because the PHY is corrupting data on a receive error. RX_ER / AMDIX_EN RXD_0 / PHYAD1 RXD_1 / PHYAD2 RXD_2 / PHYAD3 RXD_3 / PHYAD4 30 31 32 1 RECEIVE DATA: Symbols received on the cable are decoded and presented on these pins synchronous to RX_CLK. They contain valid data when RX_DV is asserted. A nibble RXD [3:0] is received in the MII mode and 2-bits RXD[1:0] is received in the RMII Mode. S, O, PD PHY address pins PHYAD[4:1] are multiplexed with RXD [3:0], and are pulled down. PHYAD0 (LSB of the address) is multiplexed with COL on pin 29, and is pulled up. If no external pullup/pulldown is present, the default address is 0x01. CARRIER SENSE: In MII mode this pin is asserted high when the receive medium is non-idle. CRS / CRS_DV/ LED_CFG 27 S, O, PU COL / PHYAD0 29 COLLISION DETECT: For MII mode in Full Duplex Mode this pin is always low. In 10BaseS, O, PU T/100Base-TX half-duplex modes, this pin is asserted HIGH only when both transmit and receive media are non-idle. This pin is not used in RMII mode. CARRIER SENSE/RECEIVE DATA VALID: In RMII mode, this pin combines the RMII Carrier and Receive Data Valid indications. Pin Descriptions Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 5 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 2.4 www.ti.com 10Mbs and 100Mbs PMD Interface PIN NAME TYPE NO. DESCRIPTION Differential common driver transmit output (PMD Output Pair): These differential outputs are automatically configured to either 10Base-T or 100Base-TX signaling. TD–, TD+ 11, 12 I/O In Auto-MDIX mode of operation, this pair can be used as the Receive Input pair. These pins require 3.3V bias for operation. Differential receive input (PMD Input Pair): These differential inputs are automatically configured to accept either 100Base-TX or 10Base-T signaling. RD–, RD+ 9, 10 I/O In Auto-MDIX mode of operation, this pair can be used as the Transmit Output pair. These pins require 3.3V bias for operation. 2.5 Clock Interface PIN NAME NO. TYPE DESCRIPTION CRYSTAL/OSCILLATOR INPUT: XI 23 MII reference clock: Reference clock. 25MHz ±50ppm-tolerance crystal reference or oscillator input. The device supports either an external crystal resonator connected across pins XI and XO, or an external CMOS-level oscillator source connected to pin XI only. I RMII reference clock: Primary clock reference input for the RMII mode. The input must be connected to a 50MHz ±50ppm-tolerance CMOS-level oscillator source. XO 22 2.6 CRYSTAL OUTPUT: Reference Clock output. XO pin is used for crystal only. This pin should be left floating when an oscillator input is connected to XI. O LED Interface (See Table 3-3 for LED Mode Selection) PIN NAME NO. TYPE DESCRIPTION LED Pin to indicate status LED_LINK / AN_0 2.7 17 Mode 1 LINK Indication LED: Indicates the status of the link. When the link is good, the LED is ON. Mode 2 ACT indication LED: Indicates transmit and receive activity in addition to the status of the Link. The LED is ON when Link is good. The LED blinks when the transmitter or receiver is active. S, O, PU Reset and Power Down PIN NAME NO. RESET 18 TYPE I, PU DESCRIPTION This pin is an active-low reset input that initializes or re-initializes all the internal registers of the TLK10x. Asserting this pin low for at least 1 µs will force a reset process to occur. All jumper options are reinitialized as well. Register access is required for this pin to be configured either as power down or as an interrupt. The default function of this pin is power down. INT / PWDN 8 When this pin is configured for a power down function, an active low signal on this pin places the IO, OD, PU device in power down mode. When this pin is configured as an interrupt pin, then this pin is asserted low when an interrupt condition occurs. The pin has an open-drain output with a weak internal pull-up. Some applications may require an external pull-up resistor. 6 Pin Descriptions Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 2.8 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Power and Bias Connections PIN NAME NO. TYPE DESCRIPTION RBIAS 16 I Bias Resistor Connection: Use a 4.87kΩ 1% resistor connected from RBIAS to GND. PFBOUT 15 O Power Feedback Output: Place 10µf and 0.1μF capacitors (ceramic preferred) close to PFBOUT. In single-supply operation, connect this pin to PFBIN1 and PFBIN2 (pin 13 and pin 24). See Figure 3-1 for proper placement. In multiple supply operation, this pin is not used. PFBIN1 13 PFBIN2 24 VDD33_IO AVDD33 GND Power Feedback Input: These pins are fed with power from PFBOUT (pin 15) in single supply operation. I In multiple supply operation, connect a 1.55V external power supply to these pins. Connect a small capacitor of 0.1µF close to each pin. To power down the internal linear regulator, write to register 0x00d0. 21 P I/O 3.3V Supply 14 P Analog 3.3V power supply Ground Pad P Ground Pad 3 Hardware Configuration This section includes information on the various configuration options available with the TLK10x. The configuration options described below include: • • • • • • 3.1 Bootstrap Configuration Power Supply Configuration IO Pins Hi-Z State During Reset Auto-Negotiation Auto-MDIX MII Isolate mode • • • • • PHY Address LED Interface Loopback Functionality BIST Cable Diagnostics (TLK106 only) Bootstrap Configuration Bootstrap configuration is a convenient way to configure the TLK10x into specific modes of operation. Some of the functional pins are used as configuration inputs. The logic states of these pins are sampled during reset and are used to configure the device into specific modes of operation. The table below describes bootstrap configuration. A 2.2kΩ resistor is used for pull-down or pull-up to change the default configuration. If the default option is desired, then there is no need for external pull-up or pull down resistors. Because these pins may have alternate functions after reset is deasserted, they must not be connected directly to VCC or GND. PIN NAME PHYAD0 PHYAD1 PHYAD2 PHYAD3 PHYAD4 TYPE NO. DESCRIPTION (COL) (RXD_0) (RXD_1) (RXD_2) (RXD_3) 29 30 31 32 1 PHY Address [4:0]: The TLK10x provides five PHY address pins, the states of which are latched into an internal register at system hardware reset. The TLK10x supports PHY S, O, PD / Address values 0 (<00000>) through 31 (<11111>). PHYAD[4:1] pins have weak internal PU pull-down resistors, and PHYAD[0] has weak internal pull-up resistor, setting the default PHYAD if no external resistors are connected. AN_0 (LED_LINK) 17 S, O, PU AN_0: FD-HD config. FD = pull up. The default wake-up is auto negotiation enable 100BT. LED_CFG (CRS) 27 S, O, PU This option selects the operation mode of the LED LINK pin. Default is Mode 1. All modes are also configurable via register access. See PHY Control Register (PHYCR), Address 0x0019. Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 7 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 PIN www.ti.com TYPE NAME NO. DESCRIPTION AMDIX_EN (RX_ER) 28 S, O, PU This option sets the Auto-MDIX mode. By default, it enables Auto-MDIX. An external pulldown resistor disables Auto-MDIX mode. MII_MODE (RX_DV) 26 S, O, PD MII Mode Select: This option selects the operating mode of the MAC data interface. This pin has a weak internal pull-down, and it defaults to normal MII operation mode. An external pull-up causes the device to operate in RMII mode. 3.2 Power Supply Configuration The TLK10x provides best-in-class flexibility of power supplies. 3.2.1 Single Supply Operation If a single 3.3V power supply is desired, the TLK10x internal regulator provides the necessary core supply voltages. Ceramic capacitors of 10µf and 0.1µf should be placed close to the PFBOUT (pin 15) which is the output of the internal regulator. The PFBOUT pin should be connected to the PFBIN1 and PFBIN2 on the board. A small capacitor of 0.1µF should be placed close to the PFBIN1 (pin 13) and PFBIN2 (pin 24). To operate in this mode the TLK10x supply pins should be connected as shown in Figure 3-1. 3.3V Supply 10mF 3.3V Supply 10nF 1nF 100pF Pin 14 (AVDD33) Pin 9 (RD–) 3.3V Supply 49.9W 1:1 1mF 0.1mF RD – 49.9W 0.1μF Pin 13 (PFBIN1) Pin 15 (PFBOUT) 10μF Pin 24 (PFBIN2) Pin 10 (RD+) RD + 1mF Pin 11 (TD–) 0.1mF* 0.1μF TD – 3.3V Supply 49.9W TD + 1mF 0.1μF 0.1mF* 1:1 0.1mF* 1m F T1 RJ45 49.9W Pin 12 (TD+) Pin 21 (VDD33_IO) 3.3V Supply 100pF 1nF 10nF 10mF Figure 3-1. Power Connections for Single Supply Operation 8 Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 3.2.2 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Dual Supply Operation When a 1.55V external power rail is available, the TLK10x can be configured as shown in Figure 3-2. PFBOUT (pin 15) is left floating. The 1.55V external supply is connected to PFBIN1 (pin 13) and PFBIN2 (pin 24). Furthermore, to lower the power consumption, the internal regulator should be powered down by writing ‘1’ to bit 15 of the VRCR register (0x00d0h). 3.3V Supply 10mF 3.3V Supply 10nF 1nF 100pF Pin 14 (AVDD33) Pin 9 (RD–) 3.3V Supply 49.9 W 1:1 0.1mF 1mF RD– 49.9 W Pin 15 (PFBOUT) Pin 10 (RD+) 1.55V Supply 10mF 10nF 1nF 100pF Pin 13 (PFBIN1) RD+ 1mF Pin 11 (TD–) 0.1mF* Floating TD– 3.3V Supply 49.9 W TD+ 1m F 0.1mF 1mF 1.55V Supply 10mF 0.1mF* 1:1 T1 RJ45 49.9 W 10nF 1nF Pin 12 (TD+) Pin 24 100pF (PFBIN2) 3.3V Supply Pin 21 (VDD33_IO) 100pF 1nF 10nF 10mF Figure 3-2. Power Connections for Dual Supply Operation When operating with dual supplies, follow these guidelines: • When powering up, ramp up the 3.3V supply before the 1.55V supply. • When powering down, turn off the 1.55V supply before turning off the 3.3V supply. • Use the external RESET pin after power up to reset the PHY. • To use the internal power-on reset, PFBIN1 and PBIN2 must be operational less than 100ms after 3.3V rises to detect the internal RESET. 3.3 IO Pins Hi-Z State During Reset The following IO or output pins are in hi-Z state when RESET is active (Low). Type Internal PU/PD TXD_3 IO PD TX_EN IO INT/PWDN IO LED_LINK IO MDIO IO RX_DV IO CRS IO RX_ER IO Pin Name Type Internal PU/PD COL IO PU PD RXD_0 IO PD PU RXD_1 IO PD PU RXD_2 IO PD RXD_3 IO PD PD TX_CLK O PU CLK25MHz_OUT O PU RX_CLK O Pin Name Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 9 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 3.4 www.ti.com Auto-Negotiation The TLK10x device auto-negotiates to operate in 10Base-T or 100Base-TX. With Auto-Negotiation enabled, the TLK10x negotiates with the link partner to determine the speed and duplex mode. If the link partner cannot Auto-Negotiate, the TLK10x device enters parallel-detect mode to determine the speed of the link partner. Parallel-detect mode uses fixed half-duplex mode. The TLK10x supports four different Ethernet protocols (10Mbs Half-Duplex, 10Mbs Full-Duplex, 100Mbs Half-Duplex, and 100Mbs Full-Duplex). Auto-Negotiation selects the highest performance protocol based on the advertised ability of the Link Partner. Control the Auto-Negotiation function within the TLK10x by internal register access according to the IEEE specification. Alternatively, control the HD-FD functionality by configuring the AN_0 pins. The state of AN_0 selects full or half duplex mode, both in Auto-negotiation or force 100/10 mode as given in Table 3-1. The state of AN_0 upon power-up/reset, determines the state of bits [8:5] of the ANAR register (0x04h). Auto-Negotiation advertises ANEN, 100BT by default. Full-Duplex or Half-Duplex configuration is available through the AN_0 bit. Internal register access configures the device for a specific mode. Table 3-1. Auto-Negotiation Modes AN_0 Forced Mode 0 10Base-T, Half-Duplex 100Base-TX, Half-Duplex 1 10Base-T, Half or Full-Duplex 100Base-TX, Half or Full-Duplex Internal register access controls the Auto-Negotiation function, as defined by the IEEE 802.3u specification. For further detail regarding Auto-Negotiation, see Clause 28 of the IEEE 802.3u specification. 3.5 Auto-MDIX The TLK10x device automatically determines whether or not it needs to cross over between pairs, eliminating the requirement for an external crossover cable. If the TLK10x interoperates with a device that implements MDI/MDIX crossover, a random algorithm as described in IEEE 802.3 determines which device performs the crossover. Auto-MDIX is enabled by default and can be configured via pin strap, control register CR1 (0x09h), bit 14 or via register PHYCR (0x19h), bit 15. The crossover can be manually forced through bit 14 of the PHYCR (0x19h) register. Neither AutoNegotiation nor Auto-MDIX is required to be enabled in forcing crossover of the MDI pairs. Auto-MDIX can be used in the forced 100Base-TX mode. Because in modern networks all the nodes are 100Base-TX, having the Auto-MDIX working in the forced 100Base-TX mode resolves the link faster without the need for the long Auto-Negotiation period. 10 Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 3.6 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 MII Isolate Mode The TLK10x can be put into MII-Isolate mode by writing bit 10 of the BMCR register. When in the MII-Isolate mode, the TLK10x ignores packet data present at the TXD[3:0], TX_EN inputs, and presents a high impedance on the TX_CLK, RX_CLK, RX_DV, RX_ER, RXD[3:0], COL, and CRS outputs. When in isolate mode, the TLK10x continues to respond to all management transactions. When in isolate mode, the PMD output pair does not transmit packet data, but continues to source 100Base-TX scrambled idles or 10Base-T normal link pulses. The TLK10x can auto-negotiate or parallel detect on the receive signal at the PMD input pair. A valid link can be established for the receiver even when the TLK10x is in Isolate mode. 3.7 PHY Address The 5 PHY address inputs pins are shared with the RXD[3:0] pins and COL pin as shown in Table 3-2. Table 3-2. PHY Address Mapping PIN Number PHYAD FUNCTION RXD FUNCTION 29 PHYAD0 COL 30 PHYAD1 RXD_0 31 PHYAD2 RXD_1 32 PHYAD3 RXD_2 1 PHYAD4 RXD_3 Each TLK10x or port sharing an MDIO bus in a system must have a unique physical address. With 5 address input pins, the TLK10x can support PHY Address values 0 (<00000>) through 31 (<11111>). The address-pin states are latched into an internal register at device power-up and hardware reset. Because all the PHYAD[4:0] pins have weak internal pull-down/up resistors, the default setting for the PHY address is 00001 (0x01h). PHYAD4 = 0 PHYAD3 = 0 PHYAD2 = 0 COL RXD_0 RXD_1 RXD_3 RXD_2 See Figure 3-3 for an example of a PHYAD connection to external components. In this example, the PHYAD configuration results in address 00011 (0x03h). PHYAD1 = 1 PHYAD0 = 1 2.2 kW VCC Figure 3-3. Illustrative PHYAD Configuration Example Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 11 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 3.8 www.ti.com LED Interface The TLK10x supports one configurable Light Emitting Diode (LED) pin. The device supports 2 LED configurations: Link and Activity. Functions are multiplexed into two modes. The LED can be controlled by configuration pin and internal register bits. Bit 5 of the PHY Control register (PHYCR) selects the LED mode as described in Table 3-3. Table 3-3. LED Mode Select Mode LED_CFG[0] (bit 5) or (pin 27) 1 1 ON for Good Link OFF for No Link 2 0 ON for Good Link BLINK for Activity LED_LINK The LED_LINK pin in Mode 1 indicates the link status of the port. The LED is OFF when no link is present. In Mode 2 it is ON to indicate that the link is good; BLINK indicates that activity is present on either transmit or receive channel. Bits 10:9 of the LEDCR register (0x18) control the blink rate. The default blink rate is 5Hz. LED_LINK See Figure 3-4 for an example of AN_0 connections to external components. In this example, the AN_0 configuration results in Full-Duplex advertised. AN_O = 1 2.2kW 470W VCC Figure 3-4. AN Pin Configuration and LED Loading Example 12 Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 3.9 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Loopback Functionality The TLK10x provides several options for Loopback that test and verify various functional blocks within the PHY. Enabling loopback mode allows in-circuit testing of the TLK10x digital and analog data path. Generally, the TLK10x may be configured to one of the Near-end loopback modes or to the Far-end (reverse) loopback. 3.9.1 Near-End Loopback Near-end loopback provides the ability to loop the transmitted data back to the receiver via the digital or analog circuitry. The point at which the signal is looped back is selected using loopback control bits with several options being provided. Figure 3-5 shows the PHY near-end loopback functionality. PCS Loopback Analog Loopback M MAC/ Switch I I Signal Process PCS PHY AFE XFMR RJ45 1 4 5 6 7 8 PHY Digital MII Loopback 2 3 Digital Loopback External Loopback Figure 3-5. Block Diagram, Near-End Loopback Mode The Near-end Loopback mode is selected by setting the respective bit in the BIST Control Register (BISCR), MII register address 0x0016. MII loopback can be selected by using the BMCR register at address 0x0000, bit [14]. The Near-end Loopback can be selected according to the following: • Reg 0x0000, Bit [14]: MII Loopback • Reg 0x0016, Bit [0]: PCS input Loopback • Reg 0x0016, Bit [1]: PCS output Loopback • Reg 0x0016, Bit [2]: Digital Loopback • Reg 0x0016, Bit [3]: Analog Loopback Table 3-4 describes the available operational modes for each loop mode: Table 3-4. Loop Modes Loop Mode MII PCS Input PCS Output Digital Analog (1) External Operational Setting Force/ANEG 100/10 Force 100/10 Force 100 Force 100 Force 10/100 ANEG 10 Force/ANEG 100/10 Operational MAC int. MII Only MII or RMII MII or RMII MII or RMII MII or RMII MII or RMII (1) Requires 100Ω termination While in MII Loopback mode, there is no link indication, but packets propagate back to the MAC. While in MII Loopback mode the data is looped back, and can also be transmitted onto the media. For transmitting data during MII loopback in 100BT only please use bit [6] in the BISCR Register address 0x0016. To ensure proper operation in Analog Loopback mode, 100Ω terminations should be attached to the RJ45 connector. External Loopback can be performed while working in normal mode (Bits 3:0 of the BISCR register are asserted to 0, and on the RJ45 connector, pin 1 is connected to pin 3 and pin 2 is connected to pin 6). To maintain the desired operating mode, Auto-Negotiation should be disabled before selecting Loopback mode. This constraint is not relevant for external-loopback mode. For selected loopback Delay propagation timing please see Section 9.6.21. Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 13 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 3.9.2 www.ti.com Far-End Loopback Far-end (Reverse) loopback is a special test mode to allow testing the PHY from the link-partner side. In this mode, data that is received from the link partner passes through the PHY's receiver, looped back on the MII and transmitted back to the link partner. Figure 3-6 shows Far-end loopback functionality. MAC/ Switch M I I PCS Signal Process XFMR CAT5 Cable & Link Partner RJ45 PHY AFE PHY Digital Reverse Loopback Figure 3-6. Block Diagram, Far-End Loopback Mode The Reverse Loopback mode is selected by setting bit 4 in the BIST Control Register (BISCR), MII register address 0x0016. While in Reverse Loopback mode the data is looped back and also transmitted onto the MAC Interface and all data signals that come from the MAC are ignored. Table 3-5 describes the operating modes for Far-End Loopback. Table 3-5. Far-End Loopback Modes 14 Operational MAC Int. MII Mode RMII Mode Operational Setting Force/ANEG 10/100 Force/ANEG 10 Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 3.10 BIST The device incorporates an internal PRBS Built-in Self Test (BIST) circuit to accommodate in-circuit testing or diagnostics. The BIST circuit can be used to test the integrity of the transmit and receive data paths. The BIST can be performed using both internal loopback (digital or analog) or external loop back using a cable fixture. The BIST simulates pseudo-random data transfer scenarios in format of real packets and Inter-Packet Gap (IPG) on the lines. The BIST allows full control of the packet lengths and of the IPG. The BIST is implemented with independent transmit and receive paths, with the transmit block generating a continuous stream of a pseudo-random sequence. The device generates a 15-bit pseudo-random sequence for the BIST. The received data is compared to the generated pseudo-random data by the BIST Linear Feedback Shift Register (LFSR) to determine the BIST pass/fail status. The number of error bytes that the PRBS checker received is stored in the BICSR1 register (0x001Bh). The status of whether the PRBS checker is locked to the incoming receive bit stream, whether the PRBS has lost sync, and whether the packet generator is busy, can be read from the BISCR register (0x0016h). While the lock and sync indications are required to identify the beginning of proper data reception, for any link failures or data corruption, the best indication is the contents of the the error counter in the BICSR1 register (0x001Bh). The PRBS test can be put in a continuous mode or single mode by using bit 14 of the BISCR register (0x0016h). In continuous mode, when one of the PRBS counters reaches the maximum value, the counter starts counting from zero again. In single mode, when the PRBS counter reaches its maximum value, the PRBS checker stops counting. The device allows the user to control the length of the PRBS packet. By programming the BICSR2 register (0x001Ch) one can set the length of the PRBS packet. There is also an option to generate a single-packet transmission of two types, 64 and 1518 bytes, through register bit 13 of the BISCR register (0x0016h). The single generated packet is composed of a constant data. 3.11 Cable Diagnostics With the vast deployment of Ethernet devices, the need for reliable, comprehensive and user-friendly cable diagnostic tool is more important than ever. The wide variety of cables, topologies, and connectors deployed results in the need to non-intrusively identify and report cable faults. The TI cable-diagnostic unit provides extensive information about cable integrity. The TLK106 offers the following capabilities in its Cable Diagnostic tools kit: 1. Time Domain Reflectometry (TDR) 2. Active Link Cable Diagnostic (ALCD) 3.11.1 TDR The TLK106 uses Time Domain Reflectometry (TDR) to determine the quality of the cables, connectors, and terminations in addition to estimating the cable length. Some of the possible problems that can be diagnosed include opens, shorts, cable impedance mismatch, bad connectors, termination mismatches, cross faults, cross shorts and any other discontinuities along the cable. The TLK106 transmits a test pulse of known amplitude (1V or 2.5V) down each of the two pairs of an attached cable. The transmitted signal continues down the cable and reflects from each cable imperfection, fault, bad connector, and from the end of the cable itself. After the pulse transmission the TLK106 measures the return time and amplitude of all these reflected pulses. This technique enables measuring the distance and magnitude (impedance) of non-terminated cables (open or short), discontinuities (bad connectors), and improperly-terminated cables with ±1m accuracy. The TLK106 also uses data averaging to reduce noise and improve accuracy. The TLK106 can record up to five reflections within the tested pair. If more than 5 reflections are recorded, the TLK106 saves the first 5 of them. If a cross fault is detected, the TDR saves the first location of the cross fault and up to 4 reflections in the tested channel. The TLK106 TDR can measure cables up to 200m in length. Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 15 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com For all TDR measurements, the transformation between time of arrival and physical distance is done by the external host using minor computations (such as multiplication, addition and lookup tables). The host must know the expected propagation delay of the cable, which depends, among other things, on the cable category (for example, CAT5, CAT5e, or CAT6). TDR measurement is allowed in the TLK106 in the following scenarios: • While Link partner is disconnected – cable is unplugged at the other side • Link partner is connected but remains “quiet” (for example, in power down mode) • TDR could be automatically activated when the link fails or is dropped by setting bit 8 of register 0x0009 (CR1). The results of the TDR run after the link fails will be saved in the TDR registers. The SW could read these registers at any time to apply post processing on the TDR results. This mode is designed for cases in which the link dropped due to cable disconnections, in which after link failure, the line will be quiet to allow a proper function of the TDR. 3.11.2 ALCD The TLK106 also supports Active Link Cable Diagnostic (ALCD). The ALCD offers a passive method to estimate the cable length during active link. The ALCD uses passive digital signal processing based on adapted data, thus enabling measurement of cable length with an active link partner. The ALCD Cable length measurement accuracy is ±5m for the pair used in the Rx path (due to the passive nature of the test, only the receive path is measured). 16 Hardware Configuration Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 4 Interfaces 4.1 Media Independent Interface (MII) The Media Independent Interface (MII) is a synchronous 4-bit wide nibble data interface that connects the PHY to the MAC in 100B-TX and 10B-T modes. The MII is fully compliant with IEEE802.3-2002 clause 22. The MII signals are summarized below. Data signals TXD [3:0] RXD [3:0] Transmit and receive-valid signals TX_EN RX_DV Line-status signals CRS (carrier sense) COL (collision) Figure 4-1 shows the MII-mode signals. PHY MAC TX_CLK TX_CLK TX_EN TX_EN TXD [3:0] TXD [3:0] RX_CLK RX_CLK RX_DV RX_DV RX_ER RX_ER RXD [3:0] RXD [3:0] CRS CRS COL COL Figure 4-1. MII Signaling The isolate register 0.10 defined in IEEE802.3-2002 used to electrically isolate the PHY from the MII (if set, all transactions on the MII interface are ignored by the PHY). Additionally, the MII interface includes the carrier sense signal CRS, as well as a collision detect signal COL. The CRS signal asserts to indicate the reception of data from the network or as a function of transmit data in Half Duplex mode. The COL signal asserts as an indication of a collision which can occur during half-duplex operation when both transmit and receive operation occur simultaneously. Interfaces Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 17 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 4.2 www.ti.com Reduced Media Independent Interface (RMII) TLK10x incorporates the Reduced Media Independent Interface (RMII) as specified in the RMII specification (rev1.2) from the RMII consortium. The purpose of this interface is to provide a low cost alternative to the IEEE 802.3u MII as specified in Clause 22. Architecturally, the RMII specification provides an additional reconciliation layer on either side of the MII, but can be implemented in the absence of an MII. The RMII specification has the following characteristics: • Supports 10Mbs and 100Mbs data rates • Single clock reference sourced from the MAC to PHY (or from an external source) • Provides independent 2 bit wide (di-bit) transmit and receive data paths • Uses CMOS signal levels, the same levels as the MII interface In this mode, data transfers two bits at a time using the 50MHz RMII reference clock for both transmit and receive. RMII mode uses the following pins: Signal Pin XI (RMII reference clock is 50MHz) 23 TXD_0 4 TXD_1 5 TX_EN 3 CRS_DV 27 RX_ER 28 RXD_0 30 RXD_1 31 Data on TXD [1:0] are latched at the PHY with reference to the reference-clock edges on the XI pin. Data on RXD [1:0] are latched at the MAC with reference to the same reference clock edges on the XI pin. The RMII operates at the same speed (50MHz) in both 10B-T and 100B-TX. In 10B-T the data is 10 times slower than the reference clock, so transmit data is sampled every 10 clocks. Likewise, receive data is generated on every 10th clock so that an attached MAC device can sample the data every 10 clocks. In addition, RMII mode supplies an RX_DV signal which allows a simpler method of recovering receive data without the need to separate RX_DV from the CRS_DV indication. RMII mode requires a 50MHz oscillator to be connected to the device XI pin. The TLK10x supports a special mode called “RMII receive clock” mode. This mode, which is not part of the RMII specification, allows synchronization of the MAC-PHY RX interface. In this mode, the PHY generates a recovered 50MHz clock through the RX_CLK pin and synchronizes the RXD[1:0], CRS_DV, RX_DV and RX_ER signals to this clock. Setting register 0x000A bit [0] is required to activate this mode. Figure 4-2 describes the RMII signals connectivity between the TLK10x and any MAC device. 18 Interfaces Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 PHY TX_EN TXD[1:0] RX_CLK RX_DV RX_ER RXD[1:0] CRS/RX_DV MAC TX_EN TXD[1:0] RX_CLK (optional) RX_DV (optional) RX_ER RXD[1:0] CRS/RX_DV XI 50MHz Clock Source Figure 4-2. TLK10x RMII/MAC Connection RMII function includes a programmable elastic buffer to adjust for the frequency differences between the reference clock and the recovered receive clock. The programmable elastic buffer minimizes internal propagation delay based on expected maximum packet size and clock accuracy. Table 4-1 indicates how to program the buffer FIFO based on the expected max packet size and clock accuracy. It assumes that the RMII reference clock and the far-end transmitter clock have the same accuracy. Table 4-1. Recommended RMII Packet Sizes Start Threshold RBR[1:0] Latency Tolerance Recommended packet size at ±50ppm Recommended packet size at ±100ppm 1(4-bits) 2 bits 2400 bytes 1200 bytes 2(8-bits) 6 bits 7200 bytes 3600 bytes 3(12-bits) 10 bits 12000 bytes 6000 bytes 0(16-bits) 14 bits 16800 bytes 8400 bytes Interfaces Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 19 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 4.3 www.ti.com Serial Management Interface The Serial Management Interface (SMI), provides access to the TLK10x internal registers space for status information and configuration. The SMI is compatible with IEEE802.3-2002 clause 22. The implemented register set consists of all the registers required by the IEEE802.3-2002 in addition to several others, providing additional visibility and controllability of the TLK10x device. The SMI includes the MDC management clock input and the management MDIO data pin. The MDC clock is sourced by the external management entity, also called Station (STA), and can run at maximum clock rate of 25MHz. MDC is not expected to be continuous, and can be turned off by the external management entity when the bus is idle. The MDIO is sourced by the external management entity and by the PHY. The data on the MDIO pin is latched on the rising edge of the MDC clock. The MDIO pin requires a pull-up resistor (2.2kΩ) which, during IDLE and turnaround, pulls MDIO high. Up to 32 PHYs can share a common SMI bus. To distinguish between the PHYs, a 5-bit address is used. During power-up reset, the TLK10x latches the PHYAD[4:0] configuration pins (Pin 29 to Pin 32) to determine its address. The management entity must not start an SMI transaction in the first cycle after power-up reset. To maintain valid operation, the SMI bus should remain inactive at least one MDC cycle after hard reset is de-asserted. In normal MDIO transactions, the register address is taken directly from the management-frame reg_addr field, thus allowing direct access to 32 16-bit registers (including those defined in IEEE802.3 and vendor specific). The data field is used for both reading and writing. The Start code is indicated by a <01> pattern. This pattern makes sure that the MDIO line transitions from the default idle line state. Turnaround is defined as an idle bit time inserted between the Register Address field and the Data field. To avoid contention during a read transaction, no device may actively drive the MDIO signal during the first bit of Turnaround. The addressed TLK10x drives the MDIO with a zero for the second bit of turnaround and follows this with the required data. Figure 4-3 shows the timing relationship between MDC and the MDIO as driven/received by the Station (STA) and the TLK10x (PHY) for a typical register read access. 20 Interfaces Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 For write transactions, the station-management entity writes data to the addressed TLK10x, thus eliminating the requirement for MDIO Turnaround. The Turnaround time is filled by the management entity by inserting <10>. Figure 4-4 shows the timing relationship for a typical MII register write access. The frame structure and general read/write transactions are shown in Table 4-2, Figure 4-3, and Figure 4-4. Table 4-2. Typical MDIO Frame Format MII Management Serial Protocol <idle><start><op code><device addr><reg addr><turnaround><data><idle> Read Operation <idle><01><10><AAAAA><RRRRR><Z0><xxxx xxxx xxxx xxxx><idle> Write Operation <idle><01><01><AAAAA><RRRRR><10><xxxx xxxx xxxx xxxx><idle> MDC Z MDIO Z (STA) Z MDIO (PHY) 0 Z Idle 1 Start 1 0 0 Opcode (Read) 1 1 0 0 0 PHY Address (PHYAD = 0Ch) 0 0 0 Z 0 Z 0 Register Address (00h = BMCR) 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 Register Data TA Z Idle Figure 4-3. Typical MDC/MDIO Read Operation MDC MDIO (STA) Z Z Idle Z 0 1 Start 0 1 Opcode (Read) 0 1 1 0 PHY Address (PHYAD = 0Ch) 0 0 0 0 0 0 Register Address (00h = BMCR) 1 0 0 0 0 0 TA 0 0 0 0 0 0 0 0 0 0 0 0 Register Data Z Idle Figure 4-4. Typical MDC/MDIO Write Operation Interfaces Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 21 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 4.3.1 www.ti.com Extended Address Space Access The TLK10x SMI function supports read/write access to the extended register set using registers REGCR(0x000Dh) and ADDAR(0x000Eh) and the MDIO Manageable Device (MMD) indirect method defined in IEEE802.3ah Draft for clause 22 for accessing the clause 45 extended register set. Accessing the standard register set, MDIO registers 0 to 31, can be performed using the normal direct MDIO access or the indirect method, except for register REGCR(0x000Dh) and ADDAR(0x000Eh) which can be accessed only using the normal MDIO transaction. The SMI function will ignore indirect accesses to these registers. REGCR(0x000Dh) is the MDIO Manageable MMD access control. In general, register REGCR(4:0) is the device address DEVAD that directs any accesses of ADDAR(0x000Eh) register to the appropriate MMD. Specifically, the TLK10x uses the vendor specific DEVAD[4:0] = "11111" for accesses. All accesses through registers REGCR and ADDAR should use this DEVAD. Transactions with other DEVAD are ignored. REGCR[15:14] holds the access function: address (00), data with no post increment (01), data with post increment on read and writes (10) and data with post increment on writes only (11). • ADDAR is the address/data MMD register. ADDAR is used in conjunction with REGCR to provide the access to the extended register set. If register REGCR[15:1] is 00, then ADDAR holds the address of the extended address space register. Otherwise, ADDAR holds the data as indicated by the contents of its address register. When REGCR[15:14] is set to 00, accesses to register ADDAR modify the extended register set address register. This address register should always be initialized in order to access any of the register within the extended register set. • When REGCR[15:14] is set to 01, accesses to register ADDAR access the register within the extended register set selected by the value in the address register. • When REGCR[15:14] is set to 10, access to register ADDAR access the register within the extended register set selected by the value in the address register. After that access is complete, for both reads and writes, the value in the address register is incremented. • When REGCR[15:14] is set to 11, access to register ADDAR access the register within the extended register set selected by the value in the address register. After that access is complete, for write accesses only, the value in the address register is incremented. For read accesses, the value of the address register remains unchanged. The following sections describe how to perform operations on the extended register set using register REGCR and ADDAR. 4.3.1.1 Write Address Operation To set the address register: 1. Write the value 0x001F (address function field = 00, DEVAD = 31) to register REGCR. 2. Write the desired register address to register ADDAR. Subsequent writes to register ADDAR (step 2) continue to write the address register. 4.3.1.2 Read Address Operation To read the address register: 1. Write the value 0x001F (address function field = 00, DEVAD = 31) to register REGCR. 2. Read the register address from register ADDAR. Subsequent reads to register ADDAR (step 2) continue to read the address register. 22 Interfaces Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 4.3.1.3 To 1. 2. 3. 4. SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Write (no post increment) Operation write an extended register set register: Write the value 0x001F (address function field = 00, DEVAD = 31) to register REGCR. Write the desired register address to register ADDAR. Write the value 0x401F (data, no post increment function field = 01, DEVAD = 31) to register REGCR. Write the content of the desired extended register set register to register ADDAR. Subsequent writes to register ADDAR (step 4) continue to rewrite the register selected by the value in the address register. Note: steps (1) and (2) can be skipped if the address register was previously configured. 4.3.1.4 To 1. 2. 3. 4. Read (no post increment) Operation read an extended register set register: Write the value 0x001F (address function field = 00, DEVAD = 31) to register REGCR. Write the desired register address to register ADDAR. Write the value 0x401F (data, no post increment function field = 01, DEVAD = 31) to register REGCR. Read the content of the desired extended register set register to register ADDAR. Subsequent reads from register ADDAR (step 4) continue reading the register selected by the value in the address register. Note: steps (1) and (2) can be skipped if the address register was previously configured. 4.3.1.5 Write (post increment) Operation 1. Write the value 0x001F (address function field = 00, DEVAD = 31) to register REGCR. 2. Write the register address from register ADDAR. 3. Write the value 0x801F (data, post increment on reads and writes function field = 10, DEVAD = 31) or the value 0xC01F (data, post increment on writes function field = 11. DEVAD = 31) to register REGCR. 4. Write the content of the desired extended register set register to register ADDAR. Subsequent writes to register ADDAR (step 4) write the next higher addressed data register selected by the value of the address register; the address register is incremented after each access. 4.3.1.6 Read (post increment) Operation To read an extended register set register and automatically increment the address register to the next higher value following the write operation: 1. Write the value 0x001F (address function field = 00, DEVAD = 31) to register REGCR. 2. Write the desired register address to register ADDAR. 3. Write the value 0x801F (data, post increment on reads and writes function field = 10, DEVAD = 31) to register REGCR. 4. Read the content of the desired extended register set register to register ADDAR. Subsequent reads to register ADDAR (step 4) read the next higher addressed data register selected by the value of the address register; the address register is incremented after each access. Interfaces Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 23 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 5 Architecture The TLK10x Fast Ethernet transceiver is a physical layer core for Ethernet 100Base-TX and 10Base-T applications. The TLK10x contains all the active circuitry required to implement the physical layer functions to transmit and receive data on standard CAT 3 and 5 unshielded twisted pair. The core supports the IEEE 802.3 Standard Fast Media Independent Interface (MII), as well as the Reduced Media Independent Interface (RMII), for direct connection to a MAC/Switch port. The TLK10x uses mixed signal processing to perform equalization, data recovery and error correction to achieve robust and low power operation over the existing CAT 5 twisted pair wiring. The TLK10x architecture not only meets the requirements of IEEE802.3, but maintains a high level of margin over the IEEE requirements for NEXT, Alien and External noise. 4B/5B encoding Scrambler NRZ to NRZI Convertor MLT-3 encoding D/A Convertor 100Base TX Line Driver 10Base T Filter 10Base T Line Driver Transmit Manchester encoding Adv. Link Monitor MII Receive 10Base T Receive Filter Manchester decoding 4B/5B decoding DeScrambler NRZI to NRZ Convertor 100Base TX 10Base-T MLT-3 decoding DSP (BLW Correction, Adapt. Equal) ADC (Filter, Amplifierl) Figure 5-1. PHY Architecture 5.1 100Base-TX Transmit Path In 100Base-TX, the MAC feeds the 100Mbps transmit data in 4-bit wide nibbles through the MII interface. The data is encoded into 5-bit code groups, encapsulated with control code symbols and serialized. The control-code symbols indicate the start and end of the frame and code other information such as transmit errors. When no data is available from the MAC, IDLE symbols are constantly transmitted. The serialized bit stream is fed into a scrambler. The scrambled data stream passes through an NRZI encoder and then through an MLT3 encoder. Finally, it is fed to the DAC and transmitted through one of the twisted pairs of the cable. 5.1.1 MII Transmit Error Code Forwarding According to IEEE 802.3: “If TX_EN is de-asserted on an odd nibble boundary, PHY should extend TX_EN by one TX_CLK cycle and behave as if TX_ER were asserted during that cycle”. The TLK10x supports Error Forwarding in MII transmission from the MAC to the PHY. Error forwarding allows adding information to the frame to be used as an error code between the 2 MACs. The error code informs the receiving MAC on the link partner side of the reason for the error from the transmitting side. If the MAC transmits an odd number of nibbles, an additional error nibble is added to the transmitted frame just before the end of the transmission. To turn off Transmit Error Forwarding, write to bit 1 of register CR2 (0x000A). If Error Forwarding is disabled, delivered packets contain either odd or even numbers of nibbles. In Figure 5-2, Error Code Forwarding functionality is illustrated. The wave diagram demonstrates MAC’s transmitted signals in one side and MAC’s reception signals on link partner side. 24 Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 TX_CLK TX_EN TXD[3:0] Data n-2 [3:0] Data n-2 [7:4] Data n-1 [3:0] Data n-1 [7:4] Data n [3:0] Data n [7:4] Error Code RX_CLK RX_DV RXD[3:0] Data n-2 [3:0] Data n-2 [7:4] Data n-1 [3:0] Data n-1 [7:4] Data n [3:0] Data n [7:4] Error Code Don't Care RX_ER Figure 5-2. Transmit Code Error Forwarding Diagram 5.1.2 4-Bit to 5-Bit Encoding The transmit data that is received from the MAC first passes through the 4-Bit to 5-Bit encoder. This block encodes 4-bit nibble into 5-bit code-groups according to the Table 5-1. Each 4-bit data nibble is mapped to 16 of the 32 possible code-groups. The remaining 16 code-groups are either used for control information or they are considered as not valid. The code-group encoder substitutes the first 8-bits of the MAC preamble with a J/K code-group pair (11000 10001) upon transmission. The code-group encoder continues to replace subsequent 4-bit preamble and data nibbles with corresponding 5-bit code-groups. At the end of the transmit packet, upon the de-assertion of Transmit Enable signal from the MAC, the code-group encoder adds the T/R codegroup pair (01101 00111) indicating the end of the frame. After the T/R code-group pair, the code-group encoder continuously adds IDLEs into the transmit data stream until the next transmit packet is detected. Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 25 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 5-1. 4-Bit to 5-Bit Code Table 4-Bit Code Symbol 5-Bit Code 0000 0 11110 Receiver Interpretation 0001 1 01001 0010 2 10100 0011 3 10101 0100 4 01010 0101 5 01011 0110 6 01110 0111 7 01111 1000 8 10010 1001 9 10011 1010 A 10110 1011 B 10111 1100 C 11010 1101 D 11011 1110 E 11100 1111 F 11101 DESCRIPTION Symbol (1) 5-Bit Code Inter-Packet IDLE I 11111 IDLE First nibble of SSD J 11000 First nibble of SSD, translated to "0101" following /I/ (IDLE), else RX_ER asserted high Second nibble of SSD K 10001 Second nibble of SSD, translated to "0101" following /J/, else RX_ER asserted high First nibble of ESD T 01101 First nibble of ESD, causes de-assertion of CRS if followed by /R/, else assertion of RX_ER Second nibble of ESD R 00111 Second nibble of ESD, causes de-assertion of CRS if following /T/, else assertion of RX_ER Transmit Error Symbol H 00100 RX_ER Invalid Symbol V 00000 V 00001 INVALID RX_ER asserted high If during RX_DV V 00010 V 00011 V 00101 V 00110 V 01000 V 01100 Data IDLE AND CONTROL CODES (1) Control code-groups I, J, K, T and R in data fields will be mapped as invalid codes, together with RX_ER asserted. 5.1.3 Scrambler The purpose of the scrambler is to flatten the power spectrum of the transmitted signal, thus reduce EMI. The scrambler seed is generated with reference to the PHY address so that multiple PHYs that reside within the system will not use the same scrambler sequence. 5.1.4 NRZI and MLT-3 Encoding To comply with the TP-PMD standard for 100Base-TX transmission over CAT-5 unshielded twisted pair cable, the scrambled data must be NRZI encoded. The serial binary data stream output from the NRZI encoder is further encoded to MLT-3. MLT-3 is a tri-level code where a change in the logic level represents a code bit '1' and the logic output remaining at the same level represents a code bit '0'. 26 Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 5.1.5 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Digital to Analog Converter The multipurpose programmable transmit Digital to Analog Converter (DAC) receives digital coded symbols and generates filtered analog symbols to be transmitted on the line. In 100B-TX the DAC applies a low-pass shaping filter to minimize EMI. The DAC is designed to improve the return loss requirements and enable the use of low-cost transformers. Digital pulse-shape filtering is also applied in order to conform to the pulse masks defined by standard and to reduce EMI and high frequency signal harmonics. 5.2 100Base-TX Receive Path In 100B-TX, the ADC sampled data is passed to an adaptive equalizer. The adaptive equalizer drives the received symbols to the MLT3 decoder. The decoded NRZ symbols are transferred to the descrambler block for descrambling and deserialization. 5.2.1 Analog Front End The Receiver Analog Front End (AFE) resides in front of the 100B-TX receiver. The AFE consists of an Analog to Digital Converter (ADC), receive filters and a Programmable Gain Amplifier (PGA). The ADC samples the input signal at the 125MHz clock recovered by the timing loop and feeds the data into the adaptive equalizer. The ADC is designed to optimize the SNR performance at the receiver input while maintaining high power-supply rejection ratio and low power consumption. There is only one ADC in the TLK10x, which receives the analog input data from the relevant cable pair, according to MDI-MDIX resolution. The PGA, digitally controlled by the adaptive equalizer, fully uses the dynamic range of the ADC by adjusting the incoming-signal amplitude. Generally, the PGA attenuates short-cable strong signals and amplifies long-cable weak signals. 5.2.2 Adaptive Equalizer The adaptive equalizer removes Inter-Symbol Interference (ISI) from the received signal introduced by the channel and analog Tx/Rx filters. The TLK10x includes both Feed Forward Equalization (FFE) and Decision Feedback Equalization (DFE). The combination of both adaptive modules with the adaptive gain control results in a powerful equalizer that can eliminate ISI and compensate for cable attenuation for longer-reach cables. In addition, the Equalizer includes a Shift Gear Step mechanism to provide fast convergence on the one hand and small residual-adaptive noise in steady state on the other hand. 5.2.3 Baseline Wander Correction The DC offset of the transmitted signal is shifted down or up based on the polarity of the transmitted data because the MLT-3 data is coupled onto the CAT 5 cable through a transformer that is high-pass in nature. This phenomenon is called Baseline wander. To prevent corruption of the received data because of this phenomenon, the receiver corrects the baseline wander and can receive the ANSI TP-PMD-defined "killer packet" with no bit errors. 5.2.4 NRZI and MLT-3 Decoding The TLK10x decodes the MLT-3 information from the Digital Adaptive Equalizer block to binary NRZI data. The NRZI-to-NRZ decoder is used to present NRZ-formatted data to the descrambler. Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 27 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 5.2.5 www.ti.com Descrambler The descrambler is used to descramble the received NRZ data. The data is further deserialized and the parallelized data is aligned to 5-bit code-groups and mapped into 4-bit nibbles. At initialization, the 100BTX descrambler uses the IDLE-symbols sequence to lock on the far-end scrambler state. During that time, neither data transmission nor reception is enabled. After the far-end scrambler state is recovered, the descrambler constantly monitors the data and checks whether it still synchronized. If, for any reason, synchronization is lost, the descrambler tries to re-acquire synchronization using the IDLE symbols. 5.2.6 5B/4B Decoder and Nibble Alignment The code-group decoder functions as a look up table that translates incoming 5-bit code-groups into 4-bit nibbles. The code-group decoder first detects the Start of Stream Delimiter (SSD) /J/K/ code-group pair preceded by IDLE code-groups at the start of a packet. Once the code group alignment is determined, it is stored and used until the next start-of-frame. The decoder replaces the /J/K/ with the MAC preamble. Specifically, the /J/K/ 10-bit code-group pair is replaced by the nibble pair (0101 0101). All subsequent 5bit code-groups are converted to the corresponding 4-bit nibbles for the duration of the entire packet. This conversion ceases upon the detection of the /T/R/ code-group pair denoting the End-of-Stream Delimiter (ESD) or with the reception of a minimum of two IDLE code-groups. 5.2.7 Timing Loop and Clock Recovery The receiver must lock on the far-end transmitter clock in order to sample the data at the optimum timing. The timing loop recovers the far-end clock frequency and offset from the received data samples and tracks instantaneous phase drifts caused by timing jitter. The TLK10x has a robust adaptive-timing loop (Tloop) mechanism that is responsible for tracking the FarEnd TX clock and adjusting the AFE sampling point to the incoming signal. The Tloop implements an advanced tracking mechanism that when combined with different available phases, always keeps track of the optimized sampling point for the data, and thus offers a robust RX path,tolerant to both PPM and Jitter. The TLK10x is capable of dealing with PPM and jitter at levels far higher than those defined by the standard. 5.2.8 Phase-Locked Loops (PLL) In 10B-T the digital phase lock loop (DPLL) function recovers the far-end link-partner clock from the received Manchester signal. The DPLL is able to combat clock jitter of up to ±18ns and frequency drifts of ±500ppm between the local PHY clock and the far-end clock. The DPLL feeds the decoder with a decoded serial bit stream. The integrated analog Phase-Locked Loop (PLL) provides the clocks to the analog and digital sections of the PHY. The PLL is driven by an external reference clock (sourced at the XI,XO pins with a crystal oscillator, or at XI with an external reference clock). 5.2.9 Link Monitor The TLK10x implements the link monitor State Machine (SM) as defined by the IEEE 802.3 100Base-TX Standard. In addition, the TLK10x enables several add-ons to the link monitor SM activated by configuration bits. The new add-ons include the recovery state which enables the PHY to attempt recovery in the event of a temporary energy-loss situation before entering the LINK_FAIL state, thus restarting the whole link establishment procedure. This sequence allows significant reduction of the recovery time in scenarios where the link loss is temporal. In addition, the link monitor SM enables moving to the LINK_DOWN state based on descrambler synchronization failure and not only on Signal_Status indication, which shortens the drop-link down time. These add-ons are supplementary to the IEEE standard and are bypassed by default. 28 Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 5.2.10 Signal Detect The signal detect function of the TLK10x is incorporated to meet the specifications mandated by the ANSIFDDI TP-PMD Standard as well as the IEEE 802.3 100Base-TX Standard for both voltage thresholds and timing parameters. The energy-detector module provides signal-strength indication in various scenarios. Because it is based on an IIR filter, this robust energy detector has excellent reaction time and reliability. The filter output is compared to predefined thresholds in order to decide the presence or absence of an incoming signal. The energy detector also implements hysteresis to avoid jittering in signal-detect indication. In addition it has fully-programmable thresholds and listening-time periods, enabling shortening of the reaction time if required. 5.2.11 Bad SSD Detection A Bad Start of Stream Delimiter (Bad SSD) is any transition from consecutive idle code-groups to non-idle code-groups which is not prefixed by the code-group pair /J/K. If this condition is detected, the TLK10x asserts RX_ER, and presents RXD[3:0] = 1110 to the MII for the cycles that correspond to received 5B code-groups until at least two IDLE code groups are detected. In addition, the FCSCR register (0x14h) is incremented by one for every error in the nibble. When at least two IDLE code groups are detected, RX_ER and CRS are de-asserted. 5.3 10Base-T Receive Path In 10B-T, after the far-end clock is recovered, the received Manchester symbols pass to the Manchester decoder. The serial decoded bit stream is aligned to the start of the frame, de-serialized to 4-bit wide nibbles and sent to the MAC through the MII. 5.3.1 10M Receive Input and Squelch The squelch feature determines when valid data is present on the differential receive inputs. The TLK10x implements a squelch to prevent impulse noise on the receive inputs from being mistaken for a valid signal. Squelch operation is independent of the 10Base-T operating mode. The squelch circuitry employs a combination of amplitude and timing measurements (as specified in the IEEE 802.3 10Base-T standard) to determine the validity of data on the twisted-pair inputs. The signal at the start of a packet is checked by the squelch, and any pulses not exceeding the squelch level (either positive or negative, depending upon polarity) are rejected. When this first squelch level is exceeded correctly, the opposite squelch level must then be exceeded no earlier than 50ns. Finally, the signal must again exceed the original squelch level no earlier than 50ns to qualify as a valid input waveform, and not be rejected. This checking procedure results in the typical loss of three preamble bits at the beginning of each packet. When the transmitter is operating, five consecutive transitions are checked before indicating that valid data is present. At this time, the squelch circuitry is reset. 5.3.2 Collision Detection When in Half-Duplex mode, a 10Base-T collision is detected when receive and transmit channels are active simultaneously. Collisions are reported by the COL signal on the MII. The COL signal remains set for the duration of the collision. If the PHY is receiving when a collision is detected, it is reported immediately (through the COL pin). 5.3.3 Carrier Sense Carrier Sense (CRS) may be asserted due to receive activity after valid data is detected via the squelch function. For 10Mb/s Half Duplex operation, CRS is asserted during either packet transmission or reception. For 10Mb/s Full Duplex operation, CRS is asserted only during receive activity. CRS is de-asserted following an end-of-packet. Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 29 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 5.3.4 www.ti.com Jabber Function Jabber is a condition in which a station transmits for a period of time longer than the maximum permissible packet length, usually due to a fault condition. The jabber function monitors the TLK10x 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 100ms. When disabled by the Jabber function, the transmitter stays disabled for the entire time that the ENDEC module's internal transmit enable is asserted. This signal must be de-asserted for approximately 500ms (the unjab time) before the Jabber function re-enables the transmit outputs. The Jabber function is only available and active in 10Base-T mode. 5.3.5 Automatic Link Polarity Detection and Correction Swapping the wires within the twisted pair causes polarity errors. Wrong polarity affects the 10B-T PHYs. The 100B-TX is immune to polarity problems because it uses MLT3 encoding. The 10B-T automatically detects reversed polarity according to the received link pulses or data. 5.3.6 10Base-T Transmit and Receive Filtering External 10Base-T filters are not required when using the TLK10x, because the required signal conditioning is integrated into the device. Only isolation transformers and impedance matching resistors are required for the 10Base-T transmit and receive interface. The internal transmit filtering ensures that all the harmonics in the transmit signal are attenuated by at least 30dB. 5.3.7 10Base-T Operational Modes The TLK10x has two basic 10Base-T operational modes: • Half Duplex mode – In Half Duplex mode the TLK10x functions as a standard IEEE 802.3 10Base-T transceiver supporting the CSMA/CD protocol. • Full Duplex mode – In Full Duplex mode the TLK10x is capable of simultaneously transmitting and receiving without asserting the collision signal. The TLK10x 10Mbs ENDEC is designed to encode and decode simultaneously. 5.4 Auto Negotiation The auto-negotiation function, described in detail in IEEE802.3 chapter 28, provides the means to exchange information between two devices and automatically configure both of them to take maximum advantage of their abilities. 5.4.1 Operation Auto negotiation uses the 10B-T link pulses to encapsulate the transmitted data in a sequence of pulses, also referred to as a Fast Link Pulses (FLP) burst. The FLP Burst consists of a series of closely spaced 10B-T link integrity test pulses that form an alternating clock/data sequence. Extraction of the data bits from the FLP Burst yields a Link Code Word that identifies the operational modes supported by the remote device, as well as some information used for the auto negotiation function’s handshake mechanism. The information exchanged between the devices during the auto-negotiation process consists of the devices' abilities such as duplex support and speed. This information allows higher levels of the network (MAC) to send to the other link partner vendor-specific data (via the Next Page mechanism, see below), and provides the mechanism for both parties to agree on the highest performance mode of operation. 30 Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 When auto negotiation has started, the TLK10x transmits FLP on one twisted pair and listens on the other, thus trying to find out whether the other link partner supports the auto negotiation function as well. The decision on what pair to transmit/listen depends on the MDI/MDI-X state. If the other link partner activates auto negotiation, then the two parties begin to exchange their information. If the other link partner is a legacy PHY or does not activate the auto negotiation, then the TLK10x uses the parallel detection function, as described in IEEE802.3 chapters 40 and 28, to determine 10B-T or 100B-TX operation modes. 5.4.2 Initialization and Restart The TLK10x initiates the auto negotiation function if one of the following events have happened: 1. Hardware reset de-assertion 2. Software reset (via register) 3. Auto negotiation restart (via register BMCR (0x0000h) bit 9) 4. Power-up sequence (via register BMCR (0x0000h) bit 11) The auto-negotiation function is also initiated when the auto-negotiation enable bit is set in register BMCR (0x0000h) bit 12 and one of the following events has happened: 1. Software restart 2. Transitioning to link_fail state, as described in IEEE802.3 To disable the auto-negotiation function during operation, clear register BMCR (0x0000h) bit 12. During operation, setting/resetting this register does not affect the TLK10x operation. For the changes to take place, issue a restart command through register BMCR (0x0000h) bit 9. 5.4.3 Next Page Support The TLK10x supports the optional feature of the transmission and reception of auto-negotiation additional (vendor specific) next pages. If next pages are needed, the user must set register ANAR(0x0004h) bit 15 to '1'. The next pages are then sent and received through registers ANNPTR(0x0007h) and ANLNPTR(0x0008h), respectively. The user must poll register ANER(0x0006h) bit 1 to check whether a new page has been received, and then read register ANLNPTR for the received next page's content. Only after register ANLNPTR is read may the user write to register ANNPTR the next page to be transmitted. After register ANNPTR is written, new next pages overwrite the contents of register ANLNPTR. If register ANAR(0x0004h) bit 15 is set, then the next page sequence is controlled by the user, meaning that the auto-negotiation function always waits for register ANNPTR to be written before transmitting the next page. If additional user-defined next pages are transmitted and the link partner has more next pages to send, it is the user's responsibility to keep writing null pages (of value 0x2001) to register ANNPTR until the link partner notifies that it has sent its last page (by setting bit 15 of its transmitted next page to zero). 5.5 Link Down Functionality The TLK10x includes advanced link-down capabilities that support various real-time applications. The linkdown mechanism of the TLK10x is configurable and includes enhanced modes that allow extremely fast reaction times to link-drops. Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 31 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com First Link Failure Occurrence Valid Data LOW Quality Data / Link Loss Signal Link Drop T1 Link Loss Indication (Link LED) Figure 5-3. TLK10x Link Loss Mechanism As described in Figure 5-3, the TLK10x link loss mechanism is based on a time window search period, in which the signal behavior is monitored. The T1 window is set by default to reduce typical link-drops to less than 1ms. The TLK10x supports enhanced modes that shorten the window called Fast Link Down mode. In this mode, which can be configured in Control Register 3 (CR3), address 0x000B, bits 3:0, the T1 window is shortened significantly, in most cases less than 10µs. In this period of time there are several criteria allowed to generate link loss event and drop the link: 1. Count RX Error in the MII interface: When a predefined number of 32 RX Error occurrences in time window of 10µs is reached the link will drop. 2. Count MLT3 Errors at the signal processing output (100BT uses MLT3 coding, and when a violation of this coding is detected, an MLT3 error is declared). When a predefined number of 20 errors occurrences in 10µs is reached the link will drop. 3. Count Low Signal Quality Threshold crossing (When the signal quality is under a certain threshold that allows proper link conditions). When a predefined number of 20 occurrences in 10µs is reached, the link will drop. 4. Signal/Energy loss indications. When Energy detector indicates Energy Loss, the link will be dropped. Typical reaction time is 10µs. The Fast Link Down functionality allows the use of each of these options separately or in any combination. Note that since this mode enables extremely quick reaction time, it is more exposed to temporary bad linkquality scenarios. 32 Architecture Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 6 Reset and Power Down Operation The TLK10x includes an internal power-on-reset (POR) function, and therefore does not need an explicit reset for normal operation after power up. At power-up, if required by the system, the RESET pin (active low) should be de-asserted 200µs after the power is ramped up to allow the internal circuits to settle and for the internal regulators to stabilize. If required during normal operation, the device can be reset by a hardware or software reset. 6.1 Hardware Reset A hardware reset is accomplished by applying a low pulse (TTL level), with a duration of at least 1μs, to RESET. This pulse resets the device such that all registers are reinitialized to default values, and the hardware configuration values are re-latched into the device (similar to the power-up/reset operation). The time from the point when the reset pin is de-asserted to the point when the reset has concluded internally is approximately 200µs. 6.2 Software Reset An IEEE registers software reset is accomplished by setting the reset bit (bit 15) of the BMCR register (0x0000h). This bit only resets the IEEE-defined standard registers in the address space 0x00h to 0x07h. A global software reset is accomplished by setting bit 15 of register PHYRCR (0x001F) to ‘1’. This bit resets all the internal circuits in the PHY including IEEE-defined registers (0x00h to 0x07h) and all the extended registers. The global software reset resets the device such that all registers are reset to default values and the hardware configuration values are maintained. A global software restart is accomplished by setting bit 14 of register PHYRCR (0x001F) to ‘1’. This action resets all the PHY circuits except the registers in the Register File. The time from the point when the resets/restart bits are set to the point when the software resets/restart has concluded is approximately 200µs. TI recommends that the software driver code must wait 500µs following software reset before allowing further serial MII operations with the TLK10x. 6.3 Power Down/Interrupt The Power Down and Interrupt functions are multiplexed on pin 8 of the device. By default, this pin functions as a power down input and the interrupt function is disabled. This pin can be configured as an interrupt output pin by setting bit 0 (INT_OE) to ‘1’ in the PHYSCR (0x0011h) register. The PHYSCR register is also used to enable and set the polarity of the interrupt. 6.3.1 Power Down Control Mode The INT/PWDN pin can be asserted low to put the device in a Power Down mode. An external control signal can be used to drive the pin low, overcoming the weak internal pull-up resistor. Alternatively, the device can be configured to initialize into a Power Down state by use of an external pulldown resistor on the INT/PWDN pin. 6.3.2 Interrupt Mechanisms The interrupt function is controlled via register access. All interrupt sources are disabled by default. The MISR1 (0x0012) and MISR2 (0x0013) registers provide independent interrupt enable bits for the various interrupts supported by the TLK10x. The INT/PWDN pin is asynchronously asserted low when an interrupt condition occurs. The source of the interrupt can be determined by reading the interrupt status registers MISR1 (0x0012h) and MISR2 (0x0013). One or more bits in the MISR registers will be set, indicating all currently-pending interrupts. Reading the MISR registers clears ALL pending interrupts. Reset and Power Down Operation Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 33 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 6.4 www.ti.com Power Save Modes The TLK10x supports three types of power-save modes. The lowest power consumption is achieved in IEEE power down mode. To enter IEEE power down mode, pull the INT/PWDN pin to LOW or program bit 11 in the Basic Mode Control Register (BMCR), address 0x0000. In this mode all internal circuitry except SMI functionality is shut down (Register access is still available). To enable and activate all other power save modes through register access, use register PHYSCR (0x0011h). Setting bit 14 enables all power-save modes; bits [13:12] select between them. Setting bits [13:12] to “01” powers down the PHY, forcing it into IEEE power down mode (Similar to BMCR bit 11 functionality). Setting bits [13:12] to “10” puts the PHY in Low Power Active WOL (Wake-On-LAN) mode. Setting bits [13:12] to “11” puts the PHY in Low Power Passive WOL (Wake-On-LAN) mode. When these bits are cleared, the PHY powers up and returns to the last state it was in before it was powered down. 34 Reset and Power Down Operation Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 7 Design Guidelines 7.1 TPI Network Circuit Figure 7-1 shows the recommended circuit for a 10/100Mbs twisted pair interface. Below is a partial list of recommended transformers. Variations with PCB and component characteristics require that the application be tested to verify that the circuit meets the requirements of the intended application. • • Pulse H1102 Pulse HX1188 Vdd Common-mode chokes may be required. RD– 49.9 W Vdd 1:1 0.1 mF 49.9 W RD– RD+ 1mF 0.1 mF* RD+ TD– TD– 49.9 W Vdd TD+ 1mF 49.9 W 0.1 mF 0.1mF* 1:1 T1 RJ45 Note: Center tap is connected to Vdd TD+ * Place capacitors close to the transformer center taps Place resistors and capacitors close to the device. All values are typical and are ±1% Figure 7-1. 10/100Mbs Twisted Pair Interface 7.2 Clock In (XI) Requirements The TLK10x supports an external CMOS-level oscillator source or an internal oscillator with an external crystal. 7.2.1 Oscillator If an external clock source is used, XI should be tied to the clock source and XO should be left floating. The amplitude of the oscillator should be a nominal voltage of 3.3V. Design Guidelines Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 35 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 7.2.2 www.ti.com Crystal The use of a 25MHz, parallel, 20pF-load crystal is recommended if a crystal source is desired. Figure 7-2 shows a typical connection for a crystal resonator circuit. The load capacitor values will vary with the crystal vendors; check with the vendor for the recommended loads. The oscillator circuit is designed to drive a parallel-resonance AT-cut crystal with a minimum drive level of 100μW and a maximum of 500μW. If a crystal is specified for a lower drive level, a current limiting resistor must be placed in series between XO and the crystal. As a starting point for evaluating an oscillator circuit, if the requirements for the crystal are not known, set the values for CL1 and CL2 at 33pF, and R1 should be set at 0Ω. Specifications for a 25MHz crystal are listed in Table 7-3. XI XO R1 CL1 CL2 S0340-01 Figure 7-2. Crystal Oscillator Circuit Table 7-1. 25MHz Oscillator Specification PARAMETER TEST CONDITIONS MIN Frequency TYP MAX 25 UNIT MHz Frequency Tolerance Operational Temperature ±50 Frequency Stability 1 year aging ±50 ppm Rise / Fall Time 10%–90% 8 nsec Jitter (Short term) Cycle-to-cycle Jitter (Long term) Accumulative over 10 ms Symmetry Duty Cycle 50 psec 1 40% Load Capacitance ppm nsec 60% 15 30 TYP MAX pF Table 7-2. 50MHz Oscillator Specification PARAMETER TEST CONDITIONS MIN Frequency 50 UNIT MHz Frequency Tolerance Operational Temperature ±50 Frequency Stability 1 year aging ±50 ppm Rise / Fall Time 10%–90% 6 nsec Jitter (Short term) Cycle-to-cycle Jitter (Long term) Accumulative over 10 ms Symmetry Duty Cycle 50 psec 1 40% ppm nsec 60% Table 7-3. 25MHz Crystal Specification PARAMETER TEST CONDITIONS MIN Frequency Frequency Tolerance Frequency Stability MAX 25 UNIT MHz Operational Temperature ±50 ppm At 25°C ±50 ppm ±5 ppm 40 pF 1 year aging Load Capacitance 36 TYP 10 Design Guidelines Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 7.3 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Thermal Vias Recommendation The following thermal via guidelines apply to DOWN_PAD, pin 33: 1. Thermal via size = 0.2mm 2. Recommend 4 vias 3. Vias have a center to center separation of 2mm. Adherence to this guideline is required to achieve the intended operating temperature range of the device. Figure 7-3 illustrates an example layout. Figure 7-3. Example Layout Design Guidelines Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 37 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 8 Register Block Table 8-1. Register Map OFFSET HEX ACCESS TAG DESCRIPTION 00h RW BMCR Basic Mode Control Register 01h RO BMSR Basic Mode Status Register 02h RO PHYIDR1 PHY Identifier Register 1 03h RO PHYIDR2 PHY Identifier Register 2 04h RW ANAR 05h RO ANLPAR 06h RO ANER 07h RW ANNPTR Auto-Negotiation Next Page TX 08h RO ANLNPTR Auto-Negotiation Link Partner Ability Next Page Register 09h RW CR1 Control Register 1 0Ah RW CR2 Control Register 2 0Bh RW CR3 Control Register 3 0Ch RW RESERVED 0Dh RW REGCR Register control register 0Eh RW ADDAR Address or Data register 0Fh RW RESERVED Auto-Negotiation Advertisement Register Auto-Negotiation Link Partner Ability Register Auto-Negotiation Expansion Register RESERVED RESERVED EXTENDED REGISTERS 0x0010 RO PHYSTS PHY Status Register 0x0011 RW PHYSCR PHY Specific Control Register 0x0012 RW MISR1 MII Interrupt Status Register 1 0x0013 RW MISR2 MII Interrupt Status Register 2 0x0014 RO FCSCR False Carrier Sense Counter Register 0x0015 RO RECR Receive Error Count Register 0x0016 RW BISCR BIST Control Register 0x0017 RO RBR 0x0018 RW LEDCR RMII and Status Register LED Control Register 0x0019 RW PHYCR PHY Control Register 0x001A RW 10BTSCR 0x001B RW BICSR1 BIST Control and Status Register 1 0x001C RO BICSR2 BIST Control and Status Register 2 0x001D RW RESERVED 0x001E RW CDCR 0x001F RW PHYRCR 0x0020- 0x0041 RW RESERVED 10Base-T Status/Control Register RESERVED Cable Diagnostic Control Register PHY Reset Control Register RESERVED 0x0042 RO TXCPSR 0x0043- 0x00CF RW RESERVED 0x00D0 RW VRCR 0x00D1-0x0154 RW RESERVED 0x0155 RW ALCDRR1 0x0156- 0x016F RW RESERVED 0x0170 RW CDSCR1 Cable Diagnostic Specific Control Register 1 0x0171 RW CDSCR2 Cable Diagnostic Specific Control Register 2 0x0172 RW RESERVED 0x0173 RW CDSCR3 0x0174-0x0176 RW RESERVED 38 TX_CLK Phase Shift Register RESERVED Voltage Regulator Control Register RESERVED ALCD Control and Results 1 RESERVED RESERVED Cable Diagnostic Specific Control Register 3 RESERVED Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-1. Register Map (continued) OFFSET HEX ACCESS TAG 0x0177 RW CDSCR4 DESCRIPTION 0x0178- 0x017F RW RESERVED 0x0180 RO CDLRR1 Cable Diagnostic Location Result Register 1 0x0181 RO CDLRR2 Cable Diagnostic Location Result Register 2 0x0182 RO CDLRR3 Cable Diagnostic Location Result Register 3 0x0183 RO CDLRR4 Cable Diagnostic Location Result Register 4 0x0184 RO CDLRR5 Cable Diagnostic Location Result Register 5 0x0185 RO CDLAR1 Cable Diagnostic Amplitude Result Register 1 0x0186 RO CDLAR2 Cable Diagnostic Amplitude Result Register 2 0x0187 RO CDLAR3 Cable Diagnostic Amplitude Result Register 3 0x0188 RO CDLAR4 Cable Diagnostic Amplitude Result Register 4 Cable Diagnostic Specific Control Register 4 RESERVED 0x0189 RO CDLAR5 Cable Diagnostic Amplitude Result Register 5 0x018A RW CDGRR Cable Diagnostic General Result Register 0x018B-0x0214 RW RESERVED 0x0215 RW ALCDRR2 RESERVED ALCD Control and Results 2 Register Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 39 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-2. Register Table Addr Tag Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Basic Mode Control Register Register Name 00h BMCR Reset Loopback Speed Selection Auto-Neg Enable IEEE Power Down Isolate Restart Auto-Neg Duplex Mode Collision Test Basic Mode Status Register 01h BMSR 100Base T4 100Base TX FDX 100Base TX HDX 10Base-T FDX 10Base-T HDX PHY Identifier Register 1 02h PHYIDR 1 PHY Identifier Register 2 03h PHYIDR 2 Auto-Negotiation Advertisement Register 04h ANAR Next Page Ind Reserved Remote Fault Reserved ASM_DI R PAUSE 100B-T4 100BTX_FD 100B-TX 10B-T_FD 10B-T Protocol Selection[4:0] Auto-Negotiation Link Partner Ability Register (Base Page) 05h ANLPAR Next Page Ind ACK Remote Fault Reserved ASM_DI R PAUSE 100B-T4 100BTX_FD 100B-TX 10B-T_FD 10B-T Protocol Selection[4:0] Auto-Negotiation Expansion Register 06h ANER Auto-Negotiation Next Page TX Register 07h ANNPTR Next Page Ind Reserved Message Page ACK2 TOG_TX CODE Auto-Negotiate Link Partner Ability Page Register 08h ANLNPTR Next Page Ind Reserved Message Page ACK2 Toggle CODE Control Register 1 09h CR1 Control Register 2 0Ah CR2 Control Register 3 0Bh CR3 RESERVED 0Ch Reserved Register Control Register 0Dh REGCR Address or Data Register 0Eh ADDAR Addr/ Data RESERVED 0Fh Reserved Reserved Reserved Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Link Status Jabber Detect Extended Capability Reserved MF Preamble Suppress Auto-Neg Complete Remote Fault Auto-Neg Ability OUI MSB OUI LSB VNDR_ MDL MDL_ REV Reserved Reserved PDF RMII Enhance Mode TDR Auto Run Link Loss Recovery Fast Auto MDI/X Robust Auto MDI/X Fast AN Enable Reserved Fast LinkUp in PD Extended FD Ability Enhance LED Link Reserved Polarity Swap MDI/X Swap Reserved LP_NP_ ABLE NP_ ABLE PAGE_ RX LP_AN_AB LE Fast AN Select Isolate MII in 100BT HD RXERR During IDLE Fast RXDV Detect Reserved Odd Nibble Detect Disable RMII Receive Clock Fast Link Down Sel Reserved Function Reserved DEVICE ADDRESS space 40 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-3. Register Table, Extended Registers Register Name Addr Tag Bit 15 Bit 14 PHY Status Register 10h PHYSTS Reserved MDI-X Mode PHY Specific Control Register 11h PHYSCR Disable PLL Power Save Enable MII Interrupt Status Register 1 12h MISR1 MII Interrupt Status Register 2 13h MISR2 MII Interrupt Control Register 14h FCSCR Receive Error Counter Register 15h RECR Reserved Reserved Auto-Neg Error INT Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Polarity Status False Carrier Sen Latch Signal Detect Descramb Lock Page Receive MII Interrupt Remote Fault Jabber Detect Auto-Neg Status Loopback Status Duplex Status Speed Status Link Status Power Save Mode Scrambler Bypass Reserved Loopback Fifo Depth COL FD Enable INT POL TINT INT_EN INT_OE Link Status Speed INT INT Duplex Mode INT Auto-Neg Comp INT FC HF INT RE HF INT Duplex Mode En Auto-Neg Comp En FC HF En RE HF En MDI Crossover INT Sleep Polarity INT Jabber INT Mode INT MDI Crossover EN Sleep Mode EN Polarity EN Jabber EN Receive Err Latch Page Received INT Loopback FIFO O/U INT Reserved Link Status Speed EN En Reserved Reserved Auto-Neg Error EN Page Received EN Loopback FIFO O/U EN Reserved FCS Count RX Err Count BIST Control Register 16h BISCR Reserved RMII Control, Status Register 17h RCSR LED Control Register 18h LEDCR PHY Control Register 19h PHYCR BIST Packet Length register 1Ah 10BTSCR BIST Control, Status Register 1 1Bh BICSR1 BIST Control, Status Register 2 1Ch BICSR2 RESERVED 1Dh Reserved Cable Diagnostic Control Register 1Eh CDCR Diagnostic Start Power Down Register 1Fh PDR Software Reset TX_CLK 42h TXCPSR Voltage Regulator Control Register D0h VRCR RESERVED D1h154h Reserved ALCD Control and Results 1 155h ALCDRR1 RESERVED 156h16Fh Reserved PRBS Count Mode Generate PRBS Packets Packet Gen Enable PRBS Checker Lock PRBS Packet Gen Checker Status SyncLoss Power Mode Reserved Transmit in MII Loopback Reserved Reserved Auto MDI/X Enable Force MDI/X Pause RX Status Blink Rate Pause TX Status MI Link Status Receiver TH Reserved LED Speed Polarity Reserved Squelch Reserved LED Link Polarity LED Activity Polarity Reserved Loopback Mode RMII Mode RMII Revision Drive LED Speed Drive LED Link Bypass LED Stretching LED CFG NLP Disable Reserved RMII OVF Status RMII UNF Status Drive LED Speed LED Activity ON/OFF ELAST BUF Activity LED ON/OFF Link LED ON/OFF PHY ADDR Polarity Status BIST Err Count Jabber Disable Reserved BIST IPG Length Reserved Packet Length Reserved Reserved Link Quality Link Quality Software Restart VRPD Phase Shift En Phase Shift Value Reserved Reserved Diagnostic Fail Reserved Reserved alcd_start Diagnostic Done Reserved alcd_done VR Control alcd_out1 Reserved alcd_ctrl Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 41 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-3. Register Table, Extended Registers (continued) Register Name Addr Tag Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Cable Diagnostic Specific Control Register 1 170h CDSCR1 Reserved Cross Disable TPTD Bypass TPRD Bypass Reserved Cable Diagnostic Specific Control Register 2 171h CDSCR2 RESERVED 172h Cable Diagnostic Specific Control Register 3 173h RESERVED 174h176h Cable Diagnostic Specific Control Register 4 177h CDSCR4 RESERVED 178h17Fh Reserved 180h CDLRR1 181h CDLRR2 182h CDLRR3 183h CDLRR4 184h CDLRR5 185h CDLAR1 186h CDLAR2 187h CDLAR3 188h CDLAR4 Cable Diagnostic Location Results Register 1-5 Cable Diagnostic Amplitude Results Register 1-5 189h CDLAR5 18Ah CDGRR RESERVED 18Bh214h Reserved ALCD Control and Results 2 Register 215h ALCDRR2 42 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Average Cycles Bit 3 Bit 2 Bit 1 Bit 0 Reserved Reserved CDSCR3 Cable Diagnostic General Results Register Bit 10 TDR pulse control Cable length Reserved Short cables TH Reserved TPTD/RD Peak Location Reserved TPTD/RD Peak Amplitude Reserved TPTD/RD Peak Amplitude Cross TPTD Peak TPTD Peak TPTD Peak TPTD Peak TPTD Peak TPRD Peak TPRD Peak TPRD Peak TPRD Peak TPRD Peak Detect on Polarity 5 Polarity 4 Polarity 3 Polarity 2 Polarity 1 Polarity 5 Polarity 4 Polarity 3 Polarity 2 Polarity 1 TPTD alcd_out2 Cross Detect on TPRD Above 5 TPTD Peaks Above 5 TPTD Peaks Reserved Reserved alcd_out3 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 8.1 Register Definition In • • • • • • • • • • 8.1.1 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 the register definitions under the ‘Default’ heading, the following definitions hold true: COR = Clear on Read Pin_Strap = Default value loads from strapping pin after reset LH = Latched High and held until read, based upon the occurrence of the corresponding event LL = Latched Low and held until read, based upon the occurrence of the corresponding event RO = Read Only access RO/COR = Read Only, Clear on Read RO/P = Read Only, Permanently set to a default value RW = Read Write access RW/SC = Read Write Access/Self Clearing bit SC = Register sets on event occurrence and Self-Clears when event ends Basic Mode Control Register (BMCR) Table 8-4. Basic Mode Control Register (BMCR), address 0x0000 BIT 15 BIT NAME Reset DEFAULT 0, RW/SC DESCRIPTION PHY Software Reset: 1 = Initiate software Reset / Reset in Process 0 = Normal operation Writing a 1 to this bit resets the PHY. When the reset operation is done, this bit is cleared to 0 automatically. The configuration is relatched. 14 MII Loopback 0, RW MII Loopback: 1 = MII Loopback enabled 0 = Normal operation When MII loopback mode is activated, the transmitter data presented on MII TXD is looped back to MII RXD internally. 13 Speed Selection 1, Pin_Strap Speed Select: When auto-negotiation is disabled writing to this bit allows the port speed to be selected. 1 = 100Mbs 0 = 10Mbs 12 Auto-Negotiation Enable 1, Pin_Strap Auto-Negotiation Enable: 1 = Auto-Negotiation Enabled – bits 8 and 13 of this register are ignored when this bit is set. 0 = Auto-Negotiation Disabled – bits 8 and 13 determine the port speed and duplex mode. 11 IEEE Power Down 0, RW Power Down: 1 = Enables IEEE power down mode 0 = Normal operation Setting this bit powers down the PHY. Only minimal register functionality is enabled during the power down condition. To control the power down mechanism, this bit is ORed with the input from the INT/PWDN pin. When the active low INT/PWDN is asserted, this bit is set. 10 Isolate 0, RW Isolate: 1 = Isolates the Port from the MII with the exception of the serial management 0 = Normal operation 9 Restart AutoNegotiation 0, RW/SC Restart Auto-Negotiation: 1 = Restart Auto-Negotiation. Re-initiates the Auto-Negotiation process. If AutoNegotiation is disabled (bit 12 = 0), this bit is ignored. This bit is self-clearing and will return a value of 1 until Auto-Negotiation is initiated, whereupon it will self-clear. Operation of the Auto-Negotiation process is not affected by the management entity clearing this bit. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 43 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-4. Basic Mode Control Register (BMCR), address 0x0000 (continued) BIT BIT NAME DEFAULT DESCRIPTION 0 = Normal operation Re-initiates the Auto-Negotiation process. If Auto-Negotiation is disabled (bit 12 = 0), this bit is ignored. This bit is self-clearing and will return a value of 1 until Auto-Negotiation is initiated, whereupon it self-clears. Operation of the Auto-Negotiation process is not affected by the management entity clearing this bit. 8 Duplex Mode 1, Pin_Strap Duplex Mode: When auto-negotiation is disabled writing to this bit allows the port Duplex capability to be selected. 1 = Full Duplex operation led control 7 Collision Test 0, RW 0 = Half Duplex operation Collision Test: 1 = Collision test enabled 0 = Normal operation When set, this bit causes the COL signal to be asserted in response to the assertion of TX_EN within 512 bit times. The COL signal is de-asserted within 4 bit times in response to the de-assertion of TX_EN. 6:0 44 RESERVED 0, RO RESERVED: Write ignored, read as 0. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 8.1.2 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Basic Mode Status Register (BMSR) Table 8-5. Basic Mode Status Register (BMSR), address 0x0001 BIT BIT NAME DEFAULT 15 100Base-T4 0, RO/P 14 100Base-TX Full Duplex 1, RO/P 100Base-TX Half Duplex 1, RO/P 10Base-T Full Duplex 1, RO/P 10Base-T Half Duplex 1, RO/P DESCRIPTION 100Base-T4 Capable: This protocol is not available. Always 0 = Device does not perform 100Base-T4 mode. 100Base-TX Full Duplex Capable: 1 = Device able to perform 100Base-TX in full duplex mode 0 = Device not able to perform 100Base-TX in full duplex mode 13 100Base-TX Half Duplex Capable: 1 = Device able to perform 100Base-TX in half duplex mode 0 = Device not able to perform 100Base-TX in half duplex mode 12 10Base-T Full Duplex Capable: 1 = Device able to perform 10Base-T in full duplex mode 0 = Device not able to perform 10Base-T in full duplex mode 11 10Base-T Half Duplex Capable: 1 = Device able to perform 10Base-T in half duplex mode 0 = Device not able to perform 10Base-T in half duplex mode 10:7 RESERVED 0, RO RESERVED: Write as 0, read as 0 6 MF Preamble Suppression 1, RO/P Preamble suppression Capable: 1 = Device able to perform management transaction with preamble suppressed, 32-bits of preamble needed only once after reset, invalid opcode or invalid turnaround. 0 = Device will not perform management transaction with preambles suppressed 5 AutoNegotiation Complete 0, RO Auto-Negotiation Complete: 1 = Auto-Negotiation process complete 0 = Auto-Negotiation process not complete (either still in process, disabled, or reset) 4 Remote Fault 0, RO/LH Remote Fault: 1 = Remote Fault condition detected (cleared on read or by reset). Fault criteria: Far End Fault Indication or notification from Link Partner of Remote Fault. 0 = No remote fault condition detected 3 AutoNegotiation Ability 1, RO/P Link Status 0, RO/LL Auto Negotiation Ability: 1 = Device is able to perform Auto-Negotiation 0 = Device is not able to perform Auto-Negotiation 2 Link Status: 1 = Valid link established (for either 10 or 100Mbs operation) 0 = Link not established 1 Jabber Detect 0, RO/LH Jabber Detect: This bit only has meaning in 10Mbs mode. 1 = Jabber condition detected 0 = No Jabber. condition detected This bit is implemented with a latching function, such that the occurrence of a jabber condition causes it to set until it is cleared by a read to this register by the management interface or by a reset. 0 Extended Capability 1, RO/P Extended Capability: 1 = Extended register capabilities 0 = Basic register set capabilities only Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 45 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 8.1.3 www.ti.com PHY Identifier Register 1 (PHYIDR1) The PHY Identifier Registers 1 and 2 together form a unique identifier for the TLK10x. 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. The Texas Instruments IEEE-assigned OUI is 080028h, implemented as Reg 0x2 [15:0] = OUI[21:6] = 2000(h) and Reg 0x3 [15:10] = OUI[5:0] = A(h). Table 8-6. PHY Identifier Register 1 (PHYIDR1), address 0x0002 BIT BIT NAME 15:0 OUI_MSB 8.1.4 DEFAULT DESCRIPTION <0010 0000 0000 0000>, RO/P OUI[21:6] = 2000(h): The most significant two bits of the OUI are ignored (the IEEE standard refers to these as bits 1 and 2). PHY Identifier Register 2 (PHYIDR2) Table 8-7. PHY Identifier Register 2 (PHYIDR2), address 0x0003 BIT 15:10 BIT NAME DEFAULT DESCRIPTION OUI_LSB <101000>, RO/P OUI[5:0] = 28(h) 9:4 VNDR_MDL <100001>, RO/P Vendor Model Number: 3:0 MDL_REV <0001>, RO/P The six bits of vendor model number are mapped from bits 9 to 4 (most significant bit to bit 9). Model Revision Number: Four bits of the vendor model revision number are mapped from bits 3 to 0 (most significant bit to bit 3). This field is incremented for all major device changes. 46 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 8.1.5 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Auto-Negotiation Advertisement Register (ANAR) This register contains the advertised abilities of this device as they are transmitted to its link partner during Auto-Negotiation. Table 8-8. Auto Negotiation Advertisement Register (ANAR), address 0x0004 BIT 15 BIT NAME NP DEFAULT 0, RW DESCRIPTION Next Page Indication: 0 = Next Page Transfer not desired 1 = Next Page Transfer desired 14 RESERVED 13 RF 0, RO/P 0, RW RESERVED by IEEE: Writes ignored, Read as 0 Remote Fault: 1 = Advertises that this device has detected a Remote Fault 0 = No Remote Fault detected 12 RESERVED 0, RW RESERVED for Future IEEE use: Write as 0, Read as 0 11 ASM_DIR 0, RW Asymmetric PAUSE Support for Full Duplex Links: The ASM_DIR bit indicates that asymmetric PAUSE is supported. 1 = Asymmetric PAUSE implemented. Advertise that the DTE/MAC has implemented both the optional MAC control sublayer and the pause function as specified in clause 31 and annex 31B of IEEE802.3u. 0 = Asymmetric PAUSE not implemented Encoding and resolution of PAUSE bits is defined in IEEE 802.3 Annex 28B, Tables 28B-2 and 28B3, respectively. Pause resolution status is reported in PHYCR[13:12]. 10 PAUSE 0, RW PAUSE Support for Full Duplex Links: The PAUSE bit indicates that the device is capable of providing the symmetric PAUSE functions as defined in Annex 31B. 1 = MAC PAUSE implemented. Advertise that the DTE (MAC) has implemented both the optional MAC control sub-layer and the pause function as specified in clause 31 and annex 31B of 802.3u. 0 = MAC PAUSE not implemented Encoding and resolution of PAUSE bits is defined in IEEE 802.3 Annex 28B, Tables 28B-2 and 28B3, respectively. Pause resolution status is reported in PHYCR[13:12]. 9 100B-T4 0, RO/P 100Base-T4 Support: 1 = 100Base-T4 is supported by the local device 0 = 100Base-T4 not supported 8 100B-TX_FD 1, RW 100Base-TX Full Duplex Support: 1 = 100Base-TX Full Duplex is supported by the local device 0 = 100Base-TX Full Duplex not supported 7 100B-TX 1, RW 100Base-TX Support: 1 = 100Base-TX is supported by the local device 0 = 100Base-TX not supported 6 10B-T_FD 1, RW 10Base-T Full Duplex Support: 1 = 10Base-T Full Duplex is supported by the local device 0 = 10Base-T Full Duplex not supported 5 10B-T 1, RW 10Base-T Support: 1 = 10Base-T is supported by the local device 0 = 10Base-T not supported 4:0 Selector <00001>, RW Protocol Selection Bits: These bits contain the binary encoded protocol selector supported by this port. <00001> indicates that this device supports IEEE 802.3u. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 47 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 8.1.6 www.ti.com Auto-Negotiation Link Partner Ability Register (ANLPAR) (BASE Page) This register contains the advertised abilities of the Link Partner as received during Auto-Negotiation. The content changes after the successful auto-negotiation if Next-pages are supported. Table 8-9. Auto-Negotiation Link Partner Ability Register (ANLPAR) (BASE Page), address 0x0005 BIT 15 BIT NAME DEFAULT NP 0, RO DESCRIPTION Next Page Indication: 0 = Link Partner does not desire Next Page Transfer 1 = Link Partner desires Next Page Transfer 14 ACK 0, RO Acknowledge: 1 = Link Partner acknowledges reception of the ability data word 0 = Not acknowledged. The Auto-Negotiation state machine will automatically control the this bit based on the incoming FLP bursts. 13 RF 0, RO Remote Fault: 1 = Remote Fault indicated by Link Partner 0 = No Remote Fault indicated by Link Partner 12 RESERVED 0, RO RESERVED for Future IEEE use: Write as 0, read as 0 11 ASM_DIR 0, RO ASYMMETRIC PAUSE: 1 = Asymmetric pause is supported by the Link Partner 0 = Asymmetric pause is not supported by the Link Partner 10 PAUSE 0, RO PAUSE: 1 = Pause function is supported by the Link Partner 0 = Pause function is not supported by the Link Partner 9 100B-T4 0, RO 100Base-T4 Support: 1 = 100Base-T4 is supported by the Link Partner 0 = 100Base-T4 is not supported by the Link Partner 8 100BTX_FD 0, RO 100Base-TX Full Duplex Support: 1 = 100Base-TX Full Duplex is supported by the Link Partner 0 = 100Base-TX Full Duplex is not supported by the Link Partner 7 100B-TX 0, RO 100Base-TX Support: 1 = 100Base-TX is supported by the Link Partner 0 = 100Base-TX is not supported by the Link Partner 6 10B-T_FD 0, RO 10Base-T Full Duplex Support: 1 = 10Base-T Full Duplex is supported by the Link Partner 0 = 10Base-T Full Duplex is not supported by the Link Partner 5 10B-T 0, RO 10Base-T Support: 1 = 10Base-T is supported by the Link Partner 0 = 10Base-T is not supported by the Link Partner 4:0 Selector <0 0000>, RO Protocol Selection Bits: Link Partner’s binary encoded protocol selector. 48 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 8.1.7 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Auto-Negotiate Expansion Register (ANER) This register contains additional Local Device and Link Partner status information. Table 8-10. Auto-Negotiate Expansion Register (ANER), address 0x0006 BIT BIT NAME 15:5 RESERVED 4 PDF DEFAULT DESCRIPTION 0, RO RESERVED: Writes ignored, Read as 0. 0, RO Parallel Detection Fault: 1 = Fault detected via the Parallel Detection function 0 = No fault detected 3 LP_NP_ABL E 0, RO Link Partner Next Page Able: 1 = Link Partner does support Next Page 0 = Link Partner does not support Next Page 2 NP_ABLE 1, RO/P Next Page Able: 1 = Indicates local device is able to send additional Next Pages 0 = Indicates local device is not able to send additional Next Pages 1 PAGE_RX 0, RO/COR Link Code Word Page Received: 1 = Link Code Word has been received, cleared on a read 0 = Link Code Word has not been received 0 LP_AN_ABL E 0, RO Link Partner Auto-Negotiation Able: 1 = indicates that the Link Partner supports Auto-Negotiation 0 = indicates that the Link Partner does not support Auto-Negotiation Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 49 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 8.1.8 www.ti.com Auto-Negotiate Next Page Transmit Register (ANNPTR) This register contains the next page information sent by this device to its Link Partner during AutoNegotiation. Table 8-11. Auto-Negotiation Next Page Transmit Register (ANNPTR), address 0x0007 BIT 15 BIT NAME NP DEFAULT 0, RW DESCRIPTION Next Page Indication: 0 = No other Next Page Transfer desired 1 = Another Next Page desired 14 RESERVED 0, RO RESERVED: Writes ignored, read as 0 13 MP 1, RW Message Page: 1 = Message Page 0 = Unformatted Page 12 ACK2 0, RW Acknowledge2: 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. 11 TOG_TX 0, RO Toggle: 1 = Value of toggle bit in previously transmitted Link Code Word was 0 0 = Value of toggle bit in previously transmitted Link Code Word was 1 Toggle is used by the Arbitration function within Auto-Negotiation to synchronize with the Link Partner during Next Page exchange. This bit always takes the opposite value of the Toggle bit in the previously exchanged Link Code Word. 10:0 CODE <000 0000 0001>, This field represents the code field of the next page transmission. If the MP bit is set (bit 13 of RW this register), then the code is interpreted as a Message Page, as defined in annex 28C of IEEE 802.3u. Otherwise, the code is interpreted as an Unformatted Page, and the interpretation is application specific. The default value of the CODE represents a Null Page as defined in Annex 28C of IEEE 802.3u. 50 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 8.1.9 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Auto-Negotiation Link Partner Ability Next Page Register (ANLNPTR) This register contains the next page information sent by this device to its Link Partner during AutoNegotiation. Table 8-12. Auto-Negotiation Link Partner Ability Register Next Page (ANLNPTR), address 0x0008 BIT 15 BIT NAME NP DEFAULT 0, RO DESCRIPTION Next Page Indication: 1 = No other Next Page Transfer desired 0 = Another Next Page desired 14 ACK 0, RO Acknowledge: 1 = Link Partner acknowledges reception of the ability data word 0 = Not acknowledged The Auto-Negotiation state machine automatically controls this bit based on the incoming FLP bursts. Software should not attempt to write to this bit. 13 MP 1, RO Message Page: 1 = Message Page 0 = Unformatted Page 12 ACK2 0, RO Acknowledge2: 1 = Link Partner has the ability to comply to next-page message 0 = Link Partner cannot comply to next-page message Acknowledge2 is used by the next page function to indicate that Local Device has the ability to comply with the message received. 11 Toggle 0, RO Toggle: 1 = Value of toggle bit in previously transmitted Link Code Word was 0 0 = Value of toggle bit in previously transmitted Link Code Word was 1 Toggle is used by the Arbitration function within Auto-Negotiation to synchronize with the Link Partner during Next Page exchange. This bit always takes the opposite value of the Toggle bit in the previously exchanged Link Code Word. 10:0 CODE <000 0000 0001>, RO Code: This field represents the code field of the next page transmission. If the MP bit is set (bit 13 of this register), then the code is interpreted as a Message Page, as defined in annex 28C of IEEE 802.3u. Otherwise, the code is interpreted as an Unformatted Page, and the interpretation is application specific. The default value of the CODE represents a Null Page as defined in Annex 28C of IEEE 802.3u. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 51 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 8.1.10 Control register 1 (CR1) Table 8-13. Control register 1 (CR1), address 0x0009 BIT 15:10 9 BIT NAME DEFAULT DESCRIPTION RESERVED 1, RW RESERVED RMII Enhanced Mode 0, RW RMII Enhanced Mode: 1 = Enable RMII Enhanced Mode 0 = RMII operates in normal mode In normal mode, If the line is not idle CRS_DV goes high. As soon as the False Carrier is detected, RX_ER is asserted and RXD is set to “2”. This situation remains for the duration of the receive event. While in enhanced mode, CRS_DV is disqualified and de-asserted when the False Carrier detected. This status also remains for the duration of the receive event. In addition in normal mode, the start of the packet is intact. Each symbol error is indicated by setting RX_ER high. The data on RXD is replaced with “1” starting with the first symbol error. While in enhanced mode, the CRS_DV is de-asserted with the first symbol error. 8 TDR AUTORUN 0, RW TDR Auto Run at link down: 1 = Enable execution of TDR procedure after link down event 0 = Disable automatic execution of TDR 7 Link Loss Recovery 0, RW Link Loss Recovery: 1 = Enable Link Loss Recovery mechanism. This mode allow recovery from short interference and continue to hold the link up for period of additional few mSec till the short interference will gone and the signal is OK. 0 = Normal Link Loss operation. Link status will go down approximately 250uSec from signal loss. 6 Fast Auto MDI-X 0, RW Fast Auto MDI/MDIX: 1 = Enable Fast Auto MDI/MDIX mode 0 = Normal Auto MDI/MDIX mode. If both link partners are configured to work in Force 100Base-TX mode (Auto-Negotiation is disabled), this mode enables Automatic MDI/MDIX resolution in a short time. 5 Robust Auto MDI-X 0, RW Robust Auto MDI-X : 1 = Enable Robust Auto MDI/MDIX resolution 0 = Normal Auto MDI/MDIX mode If link partners are configured to operational modes that are not supported by normal Auto MDI/MDIX mode (like Auto-Neg versus Force 100Base-TX or Force 100Base-TX versus Force 100Base-TX), this Robust Auto MDI/MDIX mode allows MDI/MDIX resolution and prevents deadlock. 4 Fast AN En 0, RW Fast AN En: 1 = Enable Fast Auto-Negotiation mode – The PHY auto-negotiates using Timer setting according to Fast AN Sel bits (bits 3:2 this register) 0 = Disable Fast Auto-Negotiation mode – The PHY auto-negotiates using normal Timer setting Adjusting these bits reduces the time it takes to Auto-negotiate between two PHYs. Note: When using this option care must be taken to maintain proper operation of the system. While shortening these timer intervals may not cause problems in normal operation, there are certain situations where this may lead to problems. 52 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-13. Control register 1 (CR1), address 0x0009 (continued) BIT BIT NAME 3:2 Fast AN Sel DEFAULT 0, RW DESCRIPTION Fast Auto-Negotiation Select bits: Fast AN Select Break Link Timer Link Fail Inhibit Timer Auto-Neg Wait Timer <00> 80 50 35 <01> 120 75 50 <10> 240 150 100 <11> NA NA NA Adjusting these bits reduces the time it takes to Auto-negotiate between two PHYs. In Fast AN mode, both PHYs should be configured to the same configuration. These 2 bits define the duration for each state of the Auto Negotiation process according to the table above. The new duration time must be enabled by setting “Fast AN En” - bit 4 of this register. Note: Using this mode in cases where both link partners are not configured to the same Fast Auto-negotiation configuration might produce scenarios with unexpected behavior. 1 Fast RXDV Detection 0, RW Fast RXDV Detection: 1 = Enable assertion high of RX_DV on receive packet due to detection of /J/ symbol only. If a consecutive /K/ does not appear, RX_ER is generated. 0 = Disable Fast RX_DV detection. The PHY operates in normal mode - RX_DV assertion after detection of /J/K/. 0 RESERVED 1, RW RESERVED Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 53 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 8.1.11 Control register 2 (CR2) Table 8-14. Control register 2 (CR2), address 0x000A BIT BIT NAME DEFAULT DESCRIPTION 15:14 RESERVED 0, RO RESERVED: Writes ignored, read as 0. 13:7 RESERVED 0, RW RESERVED Fast Link-Up in Parallel Detect 0, RW Fast Link-Up in Parallel Detect Mode: 6 1 = Enable Fast Link-Up time During Parallel Detection 0 = Normal Parallel Detection link establishment In Fast Auto MDI-X and in Robust Auto MDI-X modes (bits 6 and 5 in register CR1), this bit is automatically set. 5 Extended FD Ability 0, RW Extended Full-Duplex Ability: 1 = Force Full-Duplex while working with link partner in forced 100B-TX. When the PHY is set to Auto-Negotiation or Force 100B-TX and the link partner is operated in Force 100B-TX, the link is always Full Duplex 0 = Disable Extended Full Duplex Ability. Decision to work in Full Duplex or Half Duplex mode follows IEEE specification. 4 Enhanced LED Link 0, RW Isolate MII in 100BT HD 0, RW RXERR During IDLE 1, RW Odd-Nibble Detection Disable 0, RW Enhanced LED Link Functionality: 1 = LED Link is ON only when link is established in 100B-TX Full Duplex mode. 0 = LED Link is ON when link is established. 3 Isolate MII outputs when FD Link @ 100BT is not achievable: 1 = When HD link established in 100B-TX MII outputs are isolated 0 = Normal MII outputs operation 2 Detection of Receive Symbol Error During IDLE State: 1 = Enable detection of Receive symbol error during IDLE state 0 = Disable detection of Receive symbol error during IDLE state. 1 Detection of Transmit Error: 1 = Disable detection of transmit error in odd-nibble boundary 0 = Enable detection of de-assertion of TX_EN on an odd-nibble boundary. In this case TX_EN is extended by one additional TX_CLK cycle and behaves as if TX_ER were asserted during that additional cycle. 0 RMII Receive Clock 0, RW RMII Receive Clock: 1 = RMII Data (RXD [1:0]) is sampled and referenced to RX_CLK 0 = RMII Data (RXD [1:0]) is sampled and referenced to XI 54 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 8.1.12 Control Register 3 (CR3) Table 8-15. Control register 3 (CR3), address 0x000B BIT BIT NAME 15:7 RESERVED 6 Polarity Swap DEFAULT DESCRIPTION 0, RO RESERVED: Writes ignored, read as 0. 0, RW Polarity Swap: 1 = Inverted polarity on both pairs: TPTD+ ↔ TPTD-, TPRD+ ↔ TPRD0 = Normal polarity Port Mirror function: To Enable port mirroring, set bit 5 and this bit high. 5 MDI/MDIX Swap 0, RW MDI/MDIX Swap: 1 = Swap MDI pairs (Receive on TPTD pair, Transmit on TPRD pair) 0 = MDI pairs normal (Receive on TPRD pair, Transmit on TPTD pair) Port Mirror function: To Enable port mirroring, set this bit and bit 6 high. 4 RESERVED 0, RW RESERVED 3:0 Fast Link Down Mode 0, RW Fast Link Down Modes: Bit 3 Drop the link based on RX Error count of the MII interface – When a predefined number of 32 RX Error occurrences in a 10µs interval is reached, the link will be dropped. Bit 2 Drop the link based on MLT3 Errors count (Violation of the MLT3 coding in the DSP output) – When a predefined number of 20 MLT3 Error occurrences in a 10µs interval is reached, the link will be dropped. Bit 1 Drop the link based on Low SNR Threshold – When a predefined number of 20 Threshold crossing occurrences in a 10µs interval is reached, the link will be dropped. Bit 0 Drop the link based on Signal/Energy loss indication – When the Energy detector indicates Energy Loss, the link will be dropped. Typical reaction time is 10µs. The Fast Link Down function is an OR of all these 4 options, so the designer can enable combinations of these conditions. 8.2 Extended Register Addressing REGCR (0x000D) and ADDAR (0x000E) allow read/write access to the extended register set (addresses above 0x000F) using indirect addressing. • REGCR [15:14] = 00: A write to ADDAR modifies the extended register set address register. This address register must be initialized in order to access any of the registers within the extended register set. • REGCR [15:14] = 01: A read/write to ADDAR operates on the register within the extended register set selected (pointed to) by the value in the address register. The address register contents (pointer) remain unchanged. • REGCR [15:14] = 10: A read/write to ADDAR operates on the register within the extended register set selected (pointed to) by the value in the address register. After that access is complete, for both reads and writes, the value in the address register is incremented. • REGCR [15:14] = 11: A read/write to ADDAR operates on the register within the extended register set selected (pointed to) by the value in the address register. After that access is complete, for write accesses only, the value in the address register is incremented. For read accesses, the value of the address register remains unchanged. 8.2.1 Register Control Register (REGCR) This register is the MDIO Manageable MMD access control. In general, register REGCR (4:0) is the device address DEVAD that directs any accesses of the ADDAR (0x000E) register to the appropriate MMD. REGCR also contains selection bits for auto increment of the data register. This register contains the device address to be written to access the extended registers. Write 0x1F into bits 4:0 of this register. REGCR also contains selection bits (15:14) for the address auto-increment mode of ADDAR. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 55 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-16. Register Control Register (REGCR), address 0x000D BIT BIT NAME 15:14 Function 13:5 4:0 8.2.2 DEFAULT DESCRIPTION 0, RW 00 01 10 11 = Address = Data, no post increment = Data, post increment on read and write = Data, post increment on write only RESERVED 0, RO RESERVED: Writes ignored, read as 0. DEVAD 0, RW Device Address: In general, these bits [4:0] are the device address DEVAD that directs any accesses of ADDAR register (0x000E) to the appropriate MMD. Specifically, the TLK10x uses the vendor specific DEVAD [4:0] = “11111” for accesses. All accesses through registers REGCR and ADDAR should use this DEVAD. Transactions with other DEVAD are ignored. Address or Data Register (ADDAR) This register is the address/data MMD register. ADDAR is used in conjunction with REGCR register (0x000D) to provide the access by indirect read/write mechanism to the extended register set. Table 8-17. Data Register (ADDAR), address 0x000E BIT BIT NAME 15:0 Addr/data 56 DEFAULT 0, RW DESCRIPTION If REGCR register 15:14 = 00, holds the MMD DEVAD's address register, otherwise holds the MMD DEVAD's data register Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 8.3 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 PHY Status Register (PHYSTS) This register provides quick access to commonly accessed PHY control status and general information. Table 8-18. PHY Status Register (PHYSTS), address 0x0010 BIT NAME DEFAULT 15 RESERVED 0, RO RESERVED: Writes ignored, read as 0. DESCRIPTION 14 MDI-X Mode 0,RO MDI-X mode as reported by the Auto-Negotiation state machine: 1 = MDI pairs swapped (Receive on TPTD pair, Transmit on TPRD pair) 0 = MDI pairs normal (Receive on TRD pair, Transmit on TPTD pair) This bit will be affected by the settings of the AMDIX_EN and FORCE_MDIX bits in the PHYCR register. When MDIX is enabled, but not forced, this bit will update dynamically as the Auto-MDIX algorithm swaps between MDI and MDI-X configurations. 13 Receive Error Latch 0,RO/LH Receive Error Latch: 1 = Receive error event has occurred since last read of RXERCNT register (0x0015) 0 = No receive error event has occurred This bit will be cleared upon a read of the RECR register 12 Polarity Status 0,RO Polarity Status: 1 = Inverted Polarity detected 0 = Correct Polarity detected This bit is a duplication of bit 4 in the 10BTSCR register (0x001A). This bit will be cleared upon a read of the 10BTSCR register, but not upon a read of the PHYSTS register. 11 False Carrier Sense Latch 0,RO/LH False Carrier Sense Latch: 1 = False Carrier event has occurred since last read of FCSCR register (0x0014) 0 = No False Carrier event has occurred This bit will be cleared upon a read of the FCSR register. 10 Signal Detect 0,RO/LL Signal Detect: Active high 100Base-TX unconditional Signal Detect indication from PMD 9 Descrambler Lock 0,RO/LL 8 Page Received 0,RO Descrambler Lock: Active high 100Base-TX Descrambler Lock indication from PMD Link Code Word Page Received: 1 = A new Link Code Word Page has been received. This bit is a duplicate of Page Received (bit 1) in the ANER register and it is cleared on read of the ANER register (0x0006). 0 = Link Code Word Page has not been received. This bit will not be cleared upon a read of the PHYSTS register. 7 MII Interrupt 0,RO MII Interrupt Pending: 1 = Indicates that an internal interrupt is pending. Interrupt source can be determined by reading the MISR Register (0x0012). Reading the MISR will clear this Interrupt bit indication. 0 = No interrupt pending 6 Remote Fault 0,RO Remote Fault: 1 = Remote Fault condition detected. Fault criteria: notification from Link Partner of Remote Fault via Auto-Negotiation. Cleared on read of BMSR register (0x0001) or by reset. 0 = No remote fault condition detected 5 Jabber Detect 0,RO Jabber Detect: 1 = Jabber condition detected. This bit has meaning only in 10 Mb/s mode. This bit is a duplicate of the Jabber Detect bit in the BMSR register (0x0001). 0 = No Jabber This bit will not be cleared upon a read of the PHYSTS register. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 57 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-18. PHY Status Register (PHYSTS), address 0x0010 (continued) BIT 4 NAME DEFAULT Auto-Neg Status 0,RO MII Loopback Status 0,RO Duplex Status 0,RO DESCRIPTION Auto-Negotiation Status: 1 = Auto-Negotiation complete 0 = Auto-Negotiation not complete 3 MII Loopback: 1 = Loopback active (enabled) 0 = Normal operation 2 Duplex Status: 1 = Full duplex mode 0 = Half duplex mode This bit indicates duplex status and is determined from Auto-Negotiation or Forced Modes. Therefore, it is only valid if Auto-Negotiation is enabled and complete and there is a valid link or if Auto-Negotiation is disabled and there is a valid link. 1 Speed Status 0,RO Speed Status: 1 = 10 Mb/s mode 0 = 100 Mb/s mode This bit indicates the status of the speed and is determined from Auto-Negotiation or Forced Modes. Speed Status is only valid if Auto-Negotiation is enabled and complete and there is a valid link or if Auto-Negotiation is disabled and there is a valid link. 0 Link Status 0,RO Link Status: 1 = Valid link established (for either 10 or 100 Mb/s operation). This bit is a duplicate of the Link Status bit in the BMSR register (0x0001). 0 = Link not established This bit will not be cleared upon a read of the PHYSTS register. 8.4 PHY Specific Control Register (PHYSCR) This register implements the PHY Specific Control register. This register allows access to general functionality inside the PHY to enable operation in reduced power modes and control interrupt mechanism. Table 8-19. PHY Specific Control Register (PHYSCR), address 0x0011 BIT NAME DEFAULT DESCRIPTION 15 Disable PLL 0,RW Disable PLL: 1 = Disable internal clocks Circuitries 0 = Normal mode of operation Note: Clock Circuitry can be disabled only in IEEE power-down mode 14 PS Enable 0,RW Power Save Modes Enable: 1 = Enable power save modes 0 = Normal mode of operation 13:12 PS Modes 58 <00>,RW Power Save Modes: Power Mode Name Description <00> Normal Normal operation mode. PHY is fully functional <01> IEEE power down Low Power mode that shut down all internal circuitry beside SMI functionality. <10> Active Sleep Low Power Active WOL mode that shut down all internal circuitry beside SMI and energy detect functionalities. In this mode the PHY sends NLP every 1.4 Sec to wake up link-partner. Automatic power-up is done when link partner is detected. <11> Passive Sleep Low Power WOL mode that shut down all internal circuitry beside SMI and energy detect functionalities. Automatic power-up is done when link partner is detected. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-19. PHY Specific Control Register (PHYSCR), address 0x0011 (continued) BIT NAME DEFAULT DESCRIPTION 11 Scrambler Bypass 0,RW 10 RESERVED 0, RO RESERVED: Writes ignored, read as 0. 9:8 Loopback FIFO Depth <01>,RW Far-End Loopback FIFO Depth: Scrambler Bypass: 1 = Scrambler bypass enabled 0 = Scrambler bypass disabled 00 = 4 nibbles FIFO 01 = 5 nibbles FIFO 10 = 6 nibbles FIFO 11 = 8 nibbles FIFO This FIFO is used to adjust RX (recovered) clock rate to TX clock rate. FIFO depth need to be set based on expected maximum packet size and clock accuracy. Default value sets to 5 nibbles. 7:5 4 RESERVED <000>, RO RESERVED: Writes ignored, read as 0. COL FD Enable 0, RW Collision in Full-Duplex Mode: INT POL 1,RW 1 = Enable generating Collision signaling in Full Duplex 0 = Disable Collision indication in Full Duplex mode. Collision will be active in Half Duplex only. 3 Interrupt Polarity: 1 = Steady state (normal operation) is 1 logic and during interrupt is 0 logic. 0 = Steady state (normal operation) is 0 logic and during interrupt is 1 logic. 2 tint 0,RW Test Interrupt: 1 = Generate an interrupt 0 = Do not generate interrupt Forces the PHY to generate an interrupt to facilitate interrupt testing. Interrupts will continue to be generated as long as this bit remains set. 1 INT_EN 0,RW Interrupt Enable: 1 = Enable event based interrupts 0 = Disable event based interrupts Enable interrupt dependent on the event enables in the MISR register (0x0012). 0 INT_OE 0,RW Interrupt Output Enable: 1 = INT / PWDN is an Interrupt Output 0 = INT / PWDN is a Power Down Enable active low interrupt events via the INT / PWDN pin by configuring the INT / PWDN pin as an output. 8.5 MII Interrupt Status Register 1 (MISR1) This register contains events status and enables for the interrupt function. If an event has occurred since the last read of this register, the corresponding status bit will be set. If the corresponding enable bit in the register is set, an interrupt will be generated if the event occurs. The PHYSCR register (0x0011) bits 1 and 0 must also be set to allow interrupts. The status indications in this register will be set even if the interrupt is not enabled. Table 8-20. MII Interrupt Status Register 1 (MISR1), address 0x0012 BIT 15:14 NAME DEFAULT RESERVED <00>, RO DESCRIPTION RESERVED: Writes ignored, read as 0. 13 Link Status Changed INT 0,RO, COR Change of Link Status interrupt: 1 = Change of link status interrupt is pending 0 = No change of link status 12 Speed Changed INT 0,RO, COR Change of Speed Status interrupt: 1 = Change of speed status interrupt is pending 0 = No change of speed status Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 59 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-20. MII Interrupt Status Register 1 (MISR1), address 0x0012 (continued) BIT DEFAULT DESCRIPTION 11 Duplex Mode Changed INT NAME 0,RO, COR Change of duplex status interrupt: 1 = Duplex status change interrupt is pending 0 = No change of duplex status 10 Auto-Negotiation Completed INT 0,RO, COR Auto-Negotiation Complete interrupt: 1 = Auto-negotiation complete interrupt is pending. 0 = No Auto-negotiation complete event is pending 9 FC HF INT 0,RO, COR False Carrier Counter half-full interrupt: 1 = False carrier counter (Register FCSCR, address 0x0014) exceeds halffull interrupt is pending 0 = False carrier counter half-full event is not pending 8 RE HF INT 0,RO, COR Receive Error Counter half-full interrupt: 1 = Receive error counter (Register RECR, address 0x0015) exceeds half full interrupt is pending 0 = No Receive error counter half full event pending 7:6 RESERVED <00>, RO RESERVED: Writes ignored, read as 0. 5 Link Status Changed EN 0, RW Enable Interrupt on change of link status 4 Speed Changed EN 0, RW Enable Interrupt on change of speed status 3 Duplex Mode Changed EN 0, RW Enable Interrupt on change of duplex status 2 Auto-Negotiation Completed EN 0, RW Enable Interrupt on Auto-negotiation complete event 1 FC HF EN 0, RW Enable Interrupt on False Carrier Counter Register half-full event 0 RE HF EN 0, RW Enable Interrupt on Receive Error Counter Register half-full event 8.6 MII Interrupt Status Register 2 (MISR2) This register contains events status and enables for the interrupt function. If an event has occurred since the last read of this register, the corresponding status bit will be set. If the corresponding enable bit in the register is set, an interrupt will be generated if the event occurs. The PHYSCR register (0x0011) bits 1 and 0 must also be set to allow interrupts. The status indications in this register will be set even if the interrupt is not enabled. Table 8-21. MII Interrupt Status Register 2 (MISR2), address 0x0013 BIT NAME DEFAULT DESCRIPTION 15 RESERVED 0, RO 14 AN Error INT 0,RO, COR Auto-Negotiation Error Interrupt: 1 = Auto-negotiation error interrupt is pending 0 = No Auto-negotiation error event pending 13 Page Rec INT 0,RO, COR Page Receive Interrupt: 1 = Page has been received 0 = Page has not been received 12 Loopback FIFO OF/UF INT 0,RO, COR Loopback FIFO Overflow/Underflow Event Interrupt: 1 = FIFO Overflow/Underflow event interrupt pending 0 = No FIFO Overflow/Underflow event pending 11 MDI Crossover Changed INT 0,RO, COR MDI/MDIX Crossover Status Changed Interrupt: 1 = MDI crossover status changed interrupt is pending 0 = MDI crossover status has not changed 10 Sleep Mode INT 0,RO, COR Sleep Mode Event Interrupt: 1 = Sleep Mode event interrupt is pending 0 = No sleep mode event pending 9 Polarity Changed INT 0,RO, COR Polarity Changed Interrupt: 1 = Data polarity changed interrupt pending 0 = No Data polarity event pending 8 Jabber Detect INT 0,RO Jabber Detect Event Interrupt: 1 = Jabber detect event interrupt pending 0 = No Jabber detect event pending 7 RESERVED 0,RW RESERVED: Writes ignored, read as 0 6 AN Error EN 0,RW Enable Interrupt on Auto-Negotiation error event 60 RESERVED: Writes ignored, read as 0. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-21. MII Interrupt Status Register 2 (MISR2), address 0x0013 (continued) BIT NAME DEFAULT DESCRIPTION 5 Page Rec EN 0,RW Enable Interrupt on page receive event 4 Loopback FIFO OF/UF EN 0,RW Enable Interrupt on loopback FIFO overflow/underflow event 3 MDI Crossover Changed EN 0,RW Enable Interrupt on change of MDI/X status 2 Sleep Mode Event EN 0,RW Enable Interrupt sleep mode event 1 Polarity Changed EN 0,RW Enable Interrupt on change of polarity status 0 Jabber Detect EN 0,RW Enable Interrupt on Jabber detection event 8.7 False Carrier Sense Counter Register (FCSCR) This counter provides information required to implement the "False Carriers" attribute within the MAU managed object class of Clause 30 of the IEEE 802.3u specification. Table 8-22. False Carrier Sense Counter Register (FCSCR), address 0x0014 BIT NAME 15:8 RESERVED 7:0 FCSCNT 8.8 DEFAULT DESCRIPTION <0000 0000>, RO RESERVED: Writes ignored, read as 0 0,RO / COR False Carrier Event Counter: This 8-bit counter increments on every false carrier event. This counter stops when it reaches its maximum count (FFh). When the counter exceeds half full (7Fh), an interrupt event is generated. This register is cleared on read. Receiver Error Counter Register (RECR) This counter provides information required to implement the "Symbol Error During Carrier" attribute within the PHY managed object class of Clause 30 of the IEEE 802.3u specification. Table 8-23. Receiver Error Counter Register (RECR), address 0x0015 BIT 15:0 8.9 BIT NAME RX Error Count DEFAULT DESCRIPTION 0, RO, / COR RX_ER Counter: When a valid carrier is present (only while RXDV is set), and there is at least one occurrence of an invalid data symbol, this 16-bit counter increments for each receive error detected. The RX_ER counter does not count in MII loopback mode. The counter stops when it reaches its maximum count of FFFFh. When the counter exceeds half-full (7FFFh), an interrupt is generated. This register is cleared on read. BIST Control Register (BISCR) This register is used for Build-In Self Test (BIST) configuration. The BIST functionality provides Pseudo Random Bit Stream (PRBS) mechanism including packet generation generator and checker. Selection of the exact loopback point in the signal chain is also done in this register. Table 8-24. BIST Control Register (BISCR), address 0x0016 BIT NAME DEFAULT DESCRIPTION 15 RESERVED 0, RO RESERVED: Writes ignored, read as 0 14 PRBS Count Mode 0, RW PRBS Single/Continues Mode: 1 = Continuous mode, the PRBS counters reaches max count value, pulse is generated and counter starts counting from zero again. 0 = Single mode, When BIST Error Counter reaches its max value, PRBS checker stops counting. 13 Generate PRBS Packets 0, RW Generated PRBS Packets: 1 = When packet generator is enabled, generate continuous packets with PRBS data. When packet generator is disabled, PRBS checker is still enabled. 0 = When packet generator is enabled, generate single packet with constant data. PRBS gen/check is disabled. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 61 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-24. BIST Control Register (BISCR), address 0x0016 (continued) BIT NAME 12 Packet Generation Enable DEFAULT 0, RW DESCRIPTION Packet Generation Enable: 1 = Enable packet generation with PRBS data 0 = Disable packet generator 11 PRBS Checker Lock 0,RO PRBS Checker Lock Indication: 1 = PRBS checker is locked and synced on received bit stream 0 = PRBS checker is not locked 10 PRBS Checker Sync Loss 0,RO,LH PRBS Checker Sync Loss Indication: 1 = PRBS checker lose sync on received bit stream – This is an error indication 0 = PRBS checker is not locked 9 Packet Gen Status 0,RO Packet Generator Status Indication: 1 = Packet Generator is active and generate packets 0 = Packet Generator is off 8 Power Mode 0,RO Sleep Mode Indication: 1 = Indicate that the PHY is in normal power mode 0 = Indicate that the PHY is in one of the sleep modes, either active or passive 7 RESERVED 0, RO RESERVED: Writes ignored, read as 0. 6 Transmit in MII Loopback 0, RW Transmit Data in MII Loop-back Mode (valid only at 100BT): 1 = Enable transmission of the data from the MAC received on the TX pins to the line in parallel to the MII loopback to RX pins. This bit may be set only in MII Loopback mode – setting bit 14 in BMCR register (0x0000). 0 = Data is not transmitted to the line in MII loopback 5 4:0 RESERVED 0, RO RESERVED: Must be 0 Loopback Mode 0, RW Loop-back Mode Select: The PHY provides several options for Loopback that test and verify various functional blocks within the PHY. Enabling loopback mode allows in-circuit testing of the TLK10x digital and analog data path Near-end Loopback 00001 = PCS Input Loopback 00010 = PCS Output Loopback 00100 = Digital Loopback 01000 = Analog Loopback (requires 100Ω termination) Far-end Loopback: 10000 = Reverse Loopback 8.10 RMII Control and Status Register (RCSR) This register configures the RMII Mode of operation. When RMII mode is disabled, the RMII functionality is bypassed. Table 8-25. RMII Control and Status Register (RCSR), address 0x0017 NAME DEFAULT 15:6 RESERVED BIT <0000 0000 00>0,RO 5 RMII Mode 0,RW, Pin_Strap DESCRIPTION RESERVED: Writes ignored, read as 0. RMII Mode Enable: 1 = Enable RMII (Reduced MII) mode of operation 0 = Enable MII mode of operation 62 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-25. RMII Control and Status Register (RCSR), address 0x0017 (continued) BIT 4 NAME RMII Revision Select DEFAULT 0,RW DESCRIPTION RMII Revision Select: 1 = (RMII revision 1.0) CRS_DV will remain asserted until final data is transferred. CRS_DV will not toggle at the end of a packet. 0 = (RMII revision 1.2) CRS_DV will toggle at the end of a packet to indicate deassertion of CRS. 3 RMII OVFL Status 0,COR RX FIFO Over Flow Status: 1 = Normal 0 = Overflow detected 2 RMII OVFL Status 0,COR RX FIFO Under Flow Status: 1 = Normal 0 = Underflow detected 1:0 ELAST_FUB <01>,RW Receive Elasticity Buffer Size: This field controls the Receive Elasticity Buffer which allows for frequency variation tolerance between the 50MHz RMII clock and the recovered data. The following values indicate the tolerance in bits for a single packet. The minimum setting allows for standard Ethernet frame sizes at ±50ppm accuracy for both RMII and Receive clocks. For greater frequency tolerance the packet lengths may be scaled (for ±100ppm, divide the packet lengths by 2). 00 = 14 bit tolerance (up to 16800 byte packets) 01 = 2 bit tolerance (up to 2400 byte packets) 10 = 6 bit tolerance (up to 7200 byte packets) 11 = 10 bit tolerance (up to 12000 byte packets) Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 63 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 8.11 LED Control Register (LEDCR) This register provides the ability to directly manually control the Link LED output. Table 8-26. LED Control Register (LEDCR), address 0x0018 BIT NAME 15:11 RESERVED 10:9 Blink Rate DEFAULT DESCRIPTION <0000 0>, ro RESERVED: Writes ignored, read as 0. <10>,RW LED Blinking Rate (ON/OFF duration): 00 = 20Hz (50mSec) 01 = 10Hz (100mSec) 10 = 5Hz (200mSec) 11 = 2Hz (500mSec) 8 RESERVED 7 LED Link Polarity RO RESERVED 6 RESERVED 5 RESERVED 4 Drive Link LED 3 RESERVED RO RESERVED 2 RESERVED RO RESERVED 1 Link LED On/Off Setting 0 RESERVED 1, RW, Pin_Strap LED Link Polarity Setting: 1 = Active High polarity setting 0 = Active Low polarity setting Link LED polarity defined by strapping value of this pin. This register allows override of this strapping value. RO RESERVED RO RESERVED 0,RW 0,RW RO Drive LED Link to the forced On/Off setting defined in bit 1: 1 = Drive value of On/Off bit onto LED_LINK output pin 0 = Normal operation Value to force on Link LED output RESERVED 8.12 PHY Control Register (PHYCR) This register provides the ability to control and set general functionality inside the PHY. Table 8-27. PHY Control Register (PHYCR), address 0x0019 BIT NAME DEFAULT 15 Auto MDI/X Enable 1, RW, Pin_Strap Auto-MDIX Enable: 1 = Enable Auto-negotiation Auto-MDIX capability 0 = Disable Auto- negotiation Auto-MDIX capability 14 Force MDI/X 0, RW Force MDIX: 1 = Force MDI pairs to cross. (Receive on TPTD pair, Transmit on TPRD pair) 0 = Normal operation. (Transmit on TPTD pair, Receive on TPRD pair) 13 Pause RX Status 0, RO Pause Receive Negotiated Status: Indicates that pause receive should be enabled in the MAC. Based on bits [11:10] in ANAR register and bits [11:10] in ANLPAR register settings. This function shall be enabled according to IEEE 802.3 Annex 28B Table 28B-3, “Pause Resolution”, only if the Auto-Negotiated Highest Common Denominator is a full duplex technology. 12 Pause TX Status 0,RO Pause Transmit Negotiated Status: Indicates that pause transmit should be enabled in the MAC. Based on bits [11:10] in ANAR register and bits [11:10] in ANLPAR register settings. This function shall be enabled according to IEEE 802.3 Annex 28B Table 28B-3, “Pause Resolution”, only if the Auto-Negotiated Highest Common Denominator is a full duplex technology. 11 MI Link Status 0, RO MII Link Status: 1 = 100BT Full-duplex Link is active and it was established using Auto-Negotiation 0 = No active link of 100BT Full-duplex, established using Auto-Negotiation 10:8 RESERVED <000>, RO RESERVED: Writes ignored, read as 0. 7 Bypass LED Stretching 0, RW Bypass LED Stretching: 1 = Bypass LED stretching 0 = Normal LED operation Set this bit to 1 to bypass the LED stretching; the LED reflects the internal value. 6 RESERVED RO RESERVED 64 DESCRIPTION Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-27. PHY Control Register (PHYCR), address 0x0019 (continued) BIT NAME DEFAULT 5 LED CFG <0>, RW, Pin_Strap DESCRIPTION LED Configuration Modes: Mode 4:0 PHY ADDR <0000 1>, RO LED_CFG 1 1 2 0 LED_LINK ON for Good Link OFF for No Link ON for Good Link BLINK for Activity PHY Address: Strapping configuration for PHY Address. 8.13 10Base-T Status/Control Register (10BTSCR) This register provides the ability to control and read status of the PHY’s internal 10Base-T functionality. Table 8-28. 10Base-T Status/Control Register (10BTSCR), address 0x001A NAME DEFAULT 15:14 BIT RESERVED <000>, RO RESERVED: Writes ignored, read as 0. 13 Receiver TH 0,RW Lower Receiver Threshold Enable: 1 = Enable 10Base-T lower receiver threshold to allow operation with longer cables 0 = Normal 10Base-T operation Squelch <0000>,RW Squelch Configuration: Used to set the Peak Squelch ‘ON’ threshold for the 10Base-T receiver. Every step is equal to 50mV and allow raising/lowering the Squelch threshold from 200mV to 600mV. The default Squelch threshold is set to 200mV. 8 RESERVED 0, RO RESERVED: Writes ignored, read as 0. 7 NLP Disable 0,RW NLP Transmission Control: 1 = Disable transmission of NLPs 0 = Enable transmission of NLPs 6:5 RESERVED <00>, RO RESERVED: Writes ignored, read as 0. Polarity Status 0,RO 10Mb Polarity Status: 1 = Inverted Polarity detected 0 = Correct Polarity detected This bit is a duplication of bit 12 in the PHYSTS register (0x0010). Both bits will be cleared upon a read of 10BTSCR register, but not upon a read of the PHYSTS register. RESERVED <000>, RO RESERVED: Writes ignored, read as 0. 12:9 4 3:1 0 Jabber Disable 0,RW DESCRIPTION Jabber Disable: 1 = Jabber function disabled 0 = Jabber function enabled Note: This function is applicable only in 10Base-T 8.14 BIST Control and Status Register 1 (BICSR1) This register provides the total number of error bytes that was received by the PRBS checker and defines the Inter packet Gap (IPG) for the packet generator. Table 8-29. BIST Control and Status Register 1 (BICSR1), address 0x001B BIT 15:8 BIT NAME BIST Error Count DEFAULT DESCRIPTION 0, RO BIST Error Count: Holds number of erroneous bytes that were received by the PRBS checker. Value in this register is locked when write is done to bit[0] or bit[1] (see below). When PRBS Count Mode set to zero, count stops on 0xFF. See BISCR register (0x0016) for further details Note: Writing “1” to bit 15 will lock counter’s value for successive read operation and clear the BIST Error Counter. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 65 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-29. BIST Control and Status Register 1 (BICSR1), address 0x001B (continued) BIT 7:0 BIT NAME BIST IPG Length DEFAULT DESCRIPTION <0111 1101>, RW BIST IPG Length: Inter Packet Gap (IPG) Length defines the size of the gap (in bytes) between any 2 successive packets generated by the BIST. Default value is 0x7D which is equal to 125 bytes 8.15 BIST Control and Status Register2 (BICSR2) This register allows programming the length of the generated packets in bytes for the BIST mechanism. Table 8-30. BIST Control and Status Register 2 (BICSR2), address 0x001C BIT BIT NAME DEFAULT 15:11 RESERVED <0000 0>, RO 10:0 BIST Packet Length 0X5DC,RW 66 DESCRIPTION RESERVED: Writes ignored, read as 0. BIST Packet Length: Length of the generated BIST packets. The value of this register defines the size (in bytes) of every packet that generated by the BIST. Default value is 0x5DC which is equal to 1500 bytes Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 8.16 Cable Diagnostic Control Register (CDCR) Table 8-31. Cable Diagnostic Control Register (CDCR), address 0x001E BIT NAME DEFAULT FUNCTION 15 Diagnostic Start 0,RW Cable Diagnostic Process Start: 1 = Start execute cable measurement 0 = Cable Diagnostic is disabled Diagnostic Start bit is cleared with raise of Diagnostic Done indication. <000 00>,RO RESERVED: Writes ignored, read as 0. 14:10 RESERVED 9:8 Link Quality <<00>,RO Link Quality Indication <00> = Reserved <01> = Good Quality Link Indication <10> = Mid Quality Link Indication <11> = Poor Quality Link Indication The value of these bits are valid only when link is active – While reading “1” from “Link Status” bit 0 on PHYSTS register (0x0010). 7:4 RESERVED 0,RO RESERVED: Writes ignored, read as 0. 3:2 RESERVED 00>,RO RESERVED: Writes ignored, read as 0. 1 Diagnostic Done 0,RO Cable Diagnostic Process Done: 1 = Indication that cable measurement process completed 0 = Diagnostic has not completed 0 Diagnostic Fail Cable Diagnostic Process Fail: 1 = Indication that cable measurement process failed 0 = Diagnostic has not failed 0,RO 8.17 PHY Reset Control Register (PHYRCR) This register provides ability to the system to reset or restart the PHY by register access. Table 8-32. PHY Reset Control Register (PHYRCR), address 0x001F BIT NAME DEFAULT FUNCTION 15 Software Reset 0, RW,SC Software Reset: 1 = Reset PHY. Allow the system to reset the PHY using register access. This bit is self cleared and has same effect as Hardware reset pin. 0 = Normal Operation 14 Software Restart 0, RW,SC Software Restart: 1 = Reset PHY. Allow the system to restart the PHY using register access. This bit is self cleared and resets all PHY circuitry except the registers. 0 = Normal Operation <00 0000 0000 0000>, RO Writes ignored, read as 0 13:0 RESERVED 8.18 TX_CLK Phase Shift Register (TXCPSR) This register allows programming the phase of the MII transmit clock (TX_CLK pin). The TX_CLK has a fixed phase to the XI pin. However the default phase, while fixed, may not be ideal for all systems, therefore this register may be used by the system to align the reference clock (XI pin) to the TX_CLK. The phase shift value is in 4ns units. The phase shift value should be between 0 and 10 (0ns to 40ns). If value greater than 10 is written, the update value will be the written value modulo 10. Table 8-33. TX_CLK Phase Shift Register (TXCPSR), address 0x0042 BIT NAME DEFAULT 15:5 RESERVED <0000 0000 000>, RO 4 Phase Shift Enable 0,RW,SC FUNCTION RESERVED: Writes ignored, read as 0 TX Clock Phase Shift Enable: 1 = Perform Phase Shift to the TX_CLK according to the value written to Phase Shift Value in bits [4:0]. 0 = No change in TX Clock phase Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 67 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-33. TX_CLK Phase Shift Register (TXCPSR), address 0x0042 (continued) BIT NAME DEFAULT FUNCTION 3:0 Phase Shift Value <0000>,RW TX Clock Phase Shift Value: The value of this register represents the current phase shift between Reference clock at XI and MII Transmit Clock at TX_CLK. Any different value that will be written to these bits will shift TX_CLK by 4 times the difference (in nSec). For example, if the value of this register is 0x2, Writing 0x9 to this register shifts TX_CLK by 28nS (4 times 7).However, since the maximum difference between XI and TX_CLK could be 40nSec (value of 10) in case of writing value bigger than 10, the updated value is the written value modulo 10. 8.19 Voltage Regulator Control Register (VRCR) This register gives the host processor the ability to power down the voltage-regulator block of the PHY via register access. This power-down operation is available in systems operating with an external power supply. Table 8-34. Voltage Regulator Control Register (VRCR), address 0x00D0 BIT NAME DEFAULT FUNCTION 15 VRPD 0, RW, SC Voltage Regulator Power Down: 1 = Power Down. Allow the system to power down the voltage regulator block of the PHY using register access. 0 = Normal Operation. Voltage Regulator is powered and outputs voltage on the PFBOUT pin. 14:4 RESERVED <000 0000 0000>, RW RESERVED: Must be written as 0. 3:0 VR Control <0000>, RW Voltage Regulator Control This value should be ignored on read. To write to this register, perform a read followed by a write with the desired value. 8.20 Cable Diagnostic Configuration/Result Registers (TLK106) 8.20.1 ALCD Control and Results 1 (ALCDRR1) Table 8-35. ALCD Control and Results 1 (ALCDRR1), address 0x0155 BIT 15 BIT NAME alcd_start 14:13 DEFAULT <0>, SC RESERVED: Writes ignored, read as 0. TPTD Diagnostic Bypass 1 = Bypass TPTD diagnostic. TDR on TPTD pair is not executed. 0 = TDR is executed on TPTD pair alcd_done <0>, RO 11:4 alcd_out1 <0000 0000>, RO 3 RESERVED alcd_ctrl 1 = Start ALCD <00>, RO 12 2:0 DESCRIPTION <0>, RO <001>,RW alcd_out1 RESERVED: Writes ignored, read as 0 Control of ALCD Average factor 8.20.2 Cable Diagnostic Specific Control Registers (CDSCR1 - CDSCR4) Use CDSCR1 to select the channel for the cable diagnostics test. CDSCR1 contains the enable and bypass bits for the diagnostic tests, and defines the number of executed and averaged TDR sequences. CDSCR2 - CDSCR4 configure other parameters for cable diagnostics. Table 8-36. Cable Diagnostic Specific Control Register (CDSCR), address 0x0170 BIT 15 68 BIT NAME RESERVED DEFAULT 0,RO DESCRIPTION RESERVED: Writes ignored, read as 0. Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-36. Cable Diagnostic Specific Control Register (CDSCR), address 0x0170 (continued) BIT BIT NAME DEFAULT DESCRIPTION 14 Diagnostic Cross Disable 0,RW Cross TDR Diagnostic mode 1 = Disable TDR Cross mode – TDR will be executed in regular mode only 0 = Diagnostic of crossing pairs is enabled In Cross Diagnostic mode, the TDR mechanism is looking for reflection on the other pair to check short between pairs. 13 Diagnostic TPTD Bypass 0,RW TPTD Diagnostic Bypass 1 = Bypass TPTD diagnostic. TDR on TPTD pair will not be executed. 0 = TDR is executed on TPTD pair In bypass TPTD, results are available in TPRD slots. 12 Diagnostic TPRD Bypass 0,RO TPRD Diagnostic Bypass 1 = Bypass TPRD diagnostic. TDR on TPRD pair will not be executed. 0 = TDR is executed on TPRD pair 11 RESERVED 1,RW RESERVED: Must be Set to 1. 10:8 Diagnostics Average Cycles 7:0 RESERVED <110>,RW 0,RO Number Of TDR Cycles to Average: <000>: 1 TDR cycle <001>: 2 TDR cycles <010>: 4 TDR cycles <011>: 8 TDR cycles <100>: 16 TDR cycles <101>: 32 TDR cycles <110>: 64 TDR cycles (default) <111>: Reserved RESERVED: Writes ignored, read as 0. Table 8-37. Cable Diagnostic Specific Control Register 2 (CDSCR2), address 0x0171 BIT BIT NAME 15:4 RESERVED 3:0 TDR pulse control DEFAULT DESCRIPTION <1100 1000 RESERVED: Ignore on read 0101>, RW <0001>, RW Configure expected self reflection in TDR Table 8-38. Cable Diagnostic Specific Control Register 3 (CDSCR3), address 0x0173 BIT BIT NAME DEFAULT DESCRIPTION 15:8 Cable length cfg <1010 0000>, RW Configure duration of listening to detect long cable reflections 7:0 RESERVED <0001 1110>, RW RESERVED: Ignore on read Table 8-39. Cable Diagnostic Specific Control Register 4 (CDSCR4), address 0x0177 BIT BIT NAME DEFAULT DESCRIPTION 15:13 RESERVED <000>, RW RESERVED: Ignore on read 12:8 Short cables TH <0 1101>, RW TH to compensate for strong reflections in short cables 7:0 RESERVED <1001 0110>, RW RESERVED: Ignore on read 8.20.3 Cable Diagnostic Location Results Register 1 (CDLRR1) This register provides the peaks locations after execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-40. Cable Diagnostic Location Results Register 1 (CDLRR1), address 0x0180 BIT NAME 15:8 TPTD Peak Location 2 DEFAULT FUNCTION <0000 0000>, RO Location of the Second peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into distance from the PHY Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 69 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com Table 8-40. Cable Diagnostic Location Results Register 1 (CDLRR1), address 0x0180 (continued) BIT NAME DEFAULT FUNCTION 7:0 TPTD Peak Location 1 <0000 0000>, RO Location of the First peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into distance from the PHY 8.20.4 Cable Diagnostic Location Results Register 2 (CDLRR2) This register provides the peaks locations after execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-41. Cable Diagnostic Location Results Register 2 (CDLRR2), address 0x0181 DEFAULT FUNCTION 15:8 TPTD Peak Location 4 BIT NAME <0000 0000>, RO Location of the Fourth peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into distance from the PHY. 7:0 <0000 0000>, RO Location of the Third peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into distance from the PHY. TPTD Peak Location 3 8.20.5 Cable Diagnostic Location Results Register 3 (DDLRR3) This register provides the peaks locations after execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-42. Cable Diagnostic Location Results Register 3 (DDLRR3), address 0x0182 DEFAULT FUNCTION 15:8 TPRD Peak Location 1 BIT NAME <0000 0000>, RO Location of the First peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into distance from the PHY. 7:0 <0000 0000>, RO Location of the Fifth peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into distance from the PHY. TPTD Peak Location 5 8.20.6 Cable Diagnostic Location Results Register 4 (CDLRR4) This register provides the peaks locations after execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-43. Cable Diagnostic Location Results Register 4 (CDLRR4), address 0x0183 BIT NAME DEFAULT FUNCTION 15:8 TPRD Peak Location 3 <0000 0000>, RO Location of the Third peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into distance from the PHY. 7:0 <0000 0000>, RO Location of the Second peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into distance from the PHY. TPRD Peak Location 2 8.20.7 Cable Diagnostic Location Results Register 5 (CDLRR5) This register provides the peaks locations after execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-44. Cable Diagnostic Location Results Register 5 (CDLRR5), address 0x0184 DEFAULT FUNCTION 15:8 TPRD Peak Location 5 BIT <0000 0000>, RO Location of the Fifth peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into distance from the PHY. 7:0 <0000 0000>, RO Location of the Fourth peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into distance from the PHY. 70 NAME TPRD Peak Location 4 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 8.20.8 Cable Diagnostic Amplitude Results Register 1 (CDARR1) This register provides the peaks amplitude measurement after the execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-45. Cable Diagnostic Amplitude Results Register 1 (CDARR1), address 0x0185 BIT NAME DEFAULT FUNCTION 15 RESERVED 0,RO RESERVED: Writes ignored, read as 0. <000 0000>,RO Amplitude of the Second peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [15:8] in register CDLRR1 (0x180) 14:8 TPTD Peak Amplitude 2 7 RESERVED 0,RO RESERVED: Writes ignored, read as 0. 6:0 TPTD Peak Amplitude 1 <000 0000>,RO Amplitude of the First peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [7:0] in register CDLRR1 (0x180) 8.20.9 Cable Diagnostic Amplitude Results Register 2 (CDARR2) This register provides the peaks amplitude measurement after the execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-46. Cable Diagnostic Amplitude Results Register 2 (CDARR2), address 0x0186 BIT NAME DEFAULT FUNCTION 15 RESERVED 0,RO RESERVED: Writes ignored, read as 0. <000 0000>,RO Amplitude of the Fourth peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [15:8] in register CDLRR2 (0x181) 14:8 TPTD Peak Amplitude 4 7 RESERVED 0,RO RESERVED: Writes ignored, read as 0. 6:0 TPTD Peak Amplitude 3 <000 0000>,RO Amplitude of the Third peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [7:0] in register CDLRR2 (0x181) 8.20.10 Cable Diagnostic Amplitude Results Register 3 (CDARR3) This register provides the peaks amplitude measurement after the execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-47. Cable Diagnostic Amplitude Results Register 3 (CDARR3), address 0x0187 BIT NAME DEFAULT FUNCTION 15 RESERVED 0,RO RESERVED: Writes ignored, read as 0. <000 0000>,RO Amplitude of the First peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [15:8] in register CDLRR3 (0x182) 14:8 TPRD Peak Amplitude 1 7 RESERVED 0,RO RESERVED: Writes ignored, read as 0. 6:0 TPTD Peak Amplitude 5 <000 0000>,RO Amplitude of the Fifth peak discovered by the TDR mechanism on Transmit Channel (TPTD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [7:0] in register CDLRR3 (0x182) Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 71 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 8.20.11 Cable Diagnostic Amplitude Results Register 4 (CDARR4) This register provides the peaks amplitude measurement after the execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-48. Cable Diagnostic Amplitude Results Register 4 (CDARR4), address 0x0188 BIT NAME DEFAULT FUNCTION 15 RESERVED 0,RO RESERVED: Writes ignored, read as 0. <000 0000>,RO Amplitude of the Third peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [15:8] in register CDLRR4 (0x183) 14:8 TPRD Peak Amplitude 3 7 RESERVED 0,RO RESERVED: Writes ignored, read as 0. 6:0 TPRD Peak Amplitude 2 <000 0000>,RO Amplitude of the Second peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [7:0] in register CDLRR4 (0x183) 8.20.12 Cable Diagnostic Amplitude Results Register 5 (CDARR5) This register provides the peaks amplitude measurement after the execution of the TDR. The values of this register are valid after reading 1 in Diagnostic Done bit 1 in register CDCR (0x1E). Table 8-49. Cable Diagnostic Amplitude Results Register 5 (CDARR5), address 0x0189 BIT NAME DEFAULT FUNCTION 15 RESERVED 0,RO RESERVED: Writes ignored, read as 0. <000 0000>,RO Amplitude of the Fifth peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [15:8] in register CDLRR4 (0x184) 14:8 TPRD Peak Amplitude 5 7 RESERVED 0,RO RESERVED: Writes ignored, read as 0. 6:0 TPRD Peak Amplitude 4 <000 0000>,RO Amplitude of the Fourth peak discovered by the TDR mechanism on Receive Channel (TPRD). The value of these bits is translated into type of cable fault and-or interference. This amplitude value refers to peak location stored in bits [7:0] in register CDLRR4 (0x184) 8.20.13 Cable Diagnostic General Results Register (CDGRR) This register provides general measurement results after the execution of the TDR. The Cable Diagnostic software should post process this result together with other Peaks’ location and amplitude results. Table 8-50. Cable Diagnostic General Results Register (CDGRR), address 0x018A BIT NAME DEFAULT FUNCTION 15 TPTD Peak Polarity 5 0,RO Polarity of the Fifth peak discovered by the TDR mechanism on Transmit Channel (TPTD) 14 TPTD Peak Polarity 4 0,RO Polarity of the Fourth peak discovered by the TDR mechanism on Transmit Channel (TPTD) 13 TPTD Peak Polarity 3 0,RO Polarity of the Third peak discovered by the TDR mechanism on Transmit Channel (TPTD) 12 TPTD Peak Polarity 2 0,RO Polarity of the Second peak discovered by the TDR mechanism on Transmit Channel (TPTD) 11 TPTD Peak Polarity 1 0,RO Polarity of the First peak discovered by the TDR mechanism on Transmit Channel (TPTD) 10 TPRD Peak Polarity 5 0,RO Polarity of the Fifth peak discovered by the TDR mechanism on Receive Channel (TPRD) 9 TPRD Peak Polarity 4 0,RO Polarity of the Fourth peak discovered by the TDR mechanism on Receive Channel (TPRD) 8 TPRD Peak Polarity 3 0,RO Polarity of the Third peak discovered by the TDR mechanism on Receive Channel (TPRD) 7 TPRD Peak Polarity 2 0,RO Polarity of the Second peak discovered by the TDR mechanism on Receive Channel (TPRD) 6 TPRD Peak Polarity 1 0,RO Polarity of the First peak discovered by the TDR mechanism on Receive Channel (TPRD) 5 Cross Detect on TPTD 0,RO Cross Reflection were detected on TPTD. Indicate on Short between TPTD and TPRD 4 Cross Detect on TPRD 0,RO Cross Reflection were detected on TPRD. Indicate on Short between TPTD and TPRD 72 Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 Table 8-50. Cable Diagnostic General Results Register (CDGRR), address 0x018A (continued) BIT NAME DEFAULT FUNCTION 3 Above 5 TPTD Peaks 0,RO More than 5 reflections were detected on TPTD 2 Above 5 TPRD Peaks 0,RO More than 5 reflections were detected on TPRD RESERVED <00>,RO RESERVED: Writes ignored, read as 0 1:0 8.20.14 ALCD Control and Results 2 (ALCDRR2) Table 8-51. ALCD Control and Results 2 (ALCDRR2), address 0x0215 BIT BIT NAME DEFAULT DESCRIPTION 15:12 alcd_out2 <0011>, SC alcd_out2 11:0 alcd_out3 <0110 0000 alcd_out3 0000>, RW Register Block Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 73 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 9 Electrical Specifications All parameters are derived by test, statistical analysis, or design. ABSOLUTE MAXIMUM RATINGS (1) 9.1 VDD33_IO, AVDD33 Supply voltage PFBIN1, PFBIN2 DC Input voltage –0.3 to 3.8 XO DC Output voltage –0.3 to 3.8 Other outputs V –0.3 to 3.8 TJ Maximum die temperature 125 °C ±4 kV (2) Human-Body Model All pins Ethernet network pins (TD+, TD-, RD+, RD-) (3) ±16 Charged-Device Model All pins (4) ±750 ESD V Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. Tested in accordance to JEDEC Standard 22, Test Method A114. Test method based upon JEDEC Standard 22 Test Method A114, Ethernet network pins (TD+, TD-, RD+, RD-) pins stressed with respect to GND. Tested in accordance to JEDEC Standard 22, Test Method C101. 9.2 RECOMMENDED OPERATING CONDITIONS VDD33_IO, AVDD33 I/O and Analog 3.3V Supply PFBIN1, PFBIN2 Core Supply voltage TA Ambient temperature (1) MIN NOM MAX 3.0 3.3 3.6 V 1.47 1.55 1.62 V TLK105 –40 85 TLK106 –40 105 Power dissipation (2) PD (1) (2) V –0.3 to 6 Other Inputs (4) V –0.3 to 3.8 TD-, TD+, RD-, RD+ (2) (3) UNIT –0.3 to 1.8 XI (1) VALUE –0.3 to 3.8 270 UNIT °C mW Provided that DOWN_PAD, pin 33, is soldered down. See Thermal Vias Recommendation for more detail. For 100Base-TX, When internal 1.55V is used. Device is operated from single 3.3V supply only. 9.3 9.3.1 THERMAL CHARACTERISTICS TLK105 32-Pin Industrial Device (85°C) Thermal Characteristics over operating free-air temperature range (unless otherwise noted) PARAMETER CONDITIONS θJA Junction-to-ambient thermal resistance (no airflow) θJB Junction-to-board thermal resistance θJC(Top) Junction-to-case thermal resistance, Top θJC(Bottom) Junction-to-case thermal resistance, Bottom 9.3.2 74 JEDEC high-K model MIN TYP MAX UNIT 36.4 9.3 26.8 °C/W 1.7 TLK106 32-Pin Extended Temperature (105°C) Device Thermal Characteristics Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 over operating free-air temperature range (unless otherwise noted) PARAMETER CONDITIONS θJA Junction-to-ambient thermal resistance (no airflow) θJB Junction-to-board thermal resistance θJC(Top) Junction-to-case thermal resistance, Top θJC(Bottom) Junction-to-case thermal resistance, Bottom 9.4 MIN TYP JEDEC high-K model MAX UNIT 36.4 9.3 °C/W 26.8 1.7 DC CHARACTERISTICS over operating free-air temperature range (unless otherwise noted) PARAMETER VIH Input high voltage VIL Input low voltage IIH Input high current IIL Input low current VOL (1) TEST CONDITIONS Nominal VCC = VDD33_IO = 3.3V MIN TYP MAX UNIT 2.0 V (1) 0.8 V VIN = VCC 10 μA VIN = GND 10 μA Output low voltage IOL = 4 mA 0.4 V VOH Output high voltage IOH = –4 mA IOZ 3-State leakage VOUT = VCC, VOUT = GND ±10 μA RPULLUP Integrated Pullup Resistance 14.7 23.7 49.7 kΩ RPULLDOWN Integrated Pulldown Resistance 14.5 24.9 48.1 kΩ VTPTD_100 100M transmit voltage 0.95 1 1.05 V VTPTDsym 100M transmit voltage symmetry VTPTD_10 10M transmit voltage CIN1 CMOS input capacitance 5 COUT1 CMOS output capacitance 5 pF VTH1 10Base-T Receive threshold 200 mV (1) VCC – 0.5 V ±2% 2.2 2.5 2.8 V pF Nominal VCC of VDD33_IO = 3.3V Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 75 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 9.5 www.ti.com POWER SUPPLY CHARACTERISTICS The data was measured using a TLK10x evaluation board. The current from each of the power supplies is measured and the power dissipation is computed. For the single 3.3V external supply case the power dissipation across the internal linear regulator is also included. All the power dissipation numbers are measured at the nominal power supply and typical temperature of 25°C. The power needed is given both for the device only, and including the center tap of the transformer for a total system power requirement. The center tap of the transformer is normally connected to the 3.3V supply, thus the current needed may also be easily calculated. 9.5.1 Active Power PARAMETER TEST CONDITIONS FROM POWER PINS FROM TRANSFORMER CENTER TAP UNIT 100Base-TX /W Traffic (full packet 1518B rate) Single 3.3V external supply 203 73 mW 10Base-T /W Traffic (full packet 1518B rate) Single 3.3V external supply 96 211 mW 9.5.2 Power-Down Power TEST CONDITIONS (1) FROM THE POWER SUPPLIES FROM TRANSFORMER CENTER TAP UNIT IEEE PWDN Single 3.3V external supply 12 5 mW Passive Sleep Mode Single 3.3V external supply 71 5 mW Active Sleep Mode Single 3.3V external supply 71 5 mW PARAMETER (1) 76 Measured under typical conditions. Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 9.6 9.6.1 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 AC Specifications Power Up Timing Table 9-1. Power Up Timing PARAMETER t1 TEST CONDITIONS Time from powerup to hardware-configuration pin transition to output-driver function, using internal POR (RESET pin tied high) MIN TYP MAX 100 270 UNIT ms VDD Hardware RESET t1 Dual function pins Become enabled As outputs Figure 9-1. Power Up Timing NOTE It is important to choose pullup and-or pulldown resistors for each of the hardware configuration pins that provide fast RC time constants in order to latch in the proper value prior to the pin transitioning to an output driver. 9.6.2 Reset Timing Table 9-2. Reset Timing PARAMETER t1 TEST CONDITIONS XI Clock must be stable for minimum of 1ms during RESET pulse low time. RESET pulse width MIN TYP MAX 1 UNIT µs VCC XI Clock t1 Hardware RESET T0339-01 Figure 9-2. Reset Timing Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 77 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 9.6.3 www.ti.com MII Serial Management Timing Table 9-3. MII Serial Management Timing PARAMETER TEST CONDITIONS MIN TYP MAX UNIT 2.5 25 MHz 30 ns t1 MDC Frequency t2 MDC to MDIO (Output) Delay Time t3 MDIO (Input) to MDC Hold Time 10 ns t4 MDIO (Input) to MDC Setup Time 10 ns 0 MDC t1 t2 MDIO (Output) MDC t3 t4 MDIO (Input) Valid Data T0340-01 Figure 9-3. MII Serial Management Timing 9.6.4 100Mb/s MII Transmit Timing Table 9-4. 100Mb/s MII Transmit Timing PARAMETER MIN TYP MAX 100Mbs Normal mode 16 20 24 TXD[3:0], TX_EN Data Setup to TX_CLK 100Mbs Normal mode 10 ns TXD[3:0], TX_EN Data Hold from TX_CLK 100Mbs Normal mode 0 ns t1 TX_CLK High Time t2 TX_CLK Low Time t3 t4 TEST CONDITIONS UNIT ns t2 t1 TX_CLK t3 t4 TXD[3:0] TX_EN Valid Data T0341-01 Figure 9-4. 100Mb/s MII Transmit Timing 78 Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 9.6.5 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 100Mb/s MII Receive Timing Table 9-5. 100Mb/s MII Receive Timing PARAMETER (1) TEST CONDITIONS t1 RX_CLK High Time t2 RX_CLK Low Time t3 RX_CLK to RXD[3:0], RX_DV, RX_ER Delay (1) MIN TYP MAX UNIT 100Mbs Normal mode 16 20 24 ns 100Mbs Normal mode 10 30 ns RX_CLK may be held low or high for a longer period of time during transition between reference and recovered clocks. Minimum high and low times will not be violated. t1 t2 RX_CLK t3 RXD[3:0] RX_DV RX_ER Valid Data T0342-01 Figure 9-5. 100Mb/s MII Receive Timing 9.6.6 100Base-TX Transmit Packet Latency Timing Table 9-6. 100Base-TX Transmit Packet Latency Timing PARAMETER t1 (1) (2) TEST CONDITIONS MIN 100Mbs Normal mode (1) TX_CLK to PMD Output Pair Latency TYP 4.8 MAX UNIT bits (2) For Normal mode, latency is determined by measuring the time from the first rising edge of TX_CLK occurring after the assertion of TX_EN to the first bit of the 'J' code group as output from the PMD Output Pair. 1 bit time = 10ns in 100Mbs mode. 1 bit time is equal 10 nS in 100 Mb/s mode. TX_CLK TX_EN TXD t1 PMD Output Pair IDLE (J/K) DATA T0343-01 Figure 9-6. 100Base-TX Transmit Packet Latency Timing Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 79 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 9.6.7 www.ti.com 100Base-TX Transmit Packet Deassertion Timing Table 9-7. 100Base-TX Transmit Packet Deassertion Timing PARAMETER t1 TEST CONDITIONS TX_CLK to PMD Output Pair deassertion MIN 100Mbs Normal mode TYP 4.6 MAX UNIT bits TX_CLK TX_EN TXD t1 PMD Output Pair DATA DATA (T/R) (T/R) IDLE IDLE T0344-01 Figure 9-7. 100Base-TX Transmit Packet Deassertion Timing 80 Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com 9.6.8 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 100Base-TX Transmit Timing (tR/F and Jitter) Table 9-8. 100Base-TX Transmit Timing (tR/F and Jitter) PARAMETER t1 t2 (1) (2) TEST CONDITIONS MIN TYP MAX 3 4 5 ns 100Mbs tR and tF Mismatch (2) 500 ps 100Mbs PMD Output Pair Transmit Jitter 1.4 ns 100Mbs PMD Output Pair tR and tF (1) UNIT Rise and fall times taken at 10% and 90% of the +1 or -1 amplitude. Normal Mismatch is the difference between the maximum and minimum of all rise and fall times. t1 +1 rise 90% 10% PMD Output Pair 10% 90% +1 fall t1 –1 rise t1 –1 fall t1 t2 PMD Output Pair Eye Pattern t2 T0345-01 Figure 9-8. 100Base-TX Transmit Timing (tR/F and Jitter) Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 81 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 9.6.9 www.ti.com 100Base-TX Receive Packet Latency Timing Table 9-9. 100Base-TX Receive Packet Latency Timing TEST CONDITIONS (1) PARAMETER (3) MIN TYP MAX UNIT (2) t1 Carrier Sense ON Delay 100Mbs Normal mode 14 bits t2 Receive Data Latency 100Mbs Normal mode 19 bits Receive data latency (4) 100Mb normal mode with fast RXDV detection ON 15 bits t2 (1) (2) (3) (4) PMD Input Pair voltage amplitude is greater than the Signal Detect Turn-On Threshold Value. 1 bit time = 10 ns in 100Mbs mode Carrier Sense On Delay is determined by measuring the time from the first bit of the “J” code group to the assertion of Carrier Sense. Fast RXDV detection could be enabled by setting bit[1] of CR1 (address 0x0009). PMD Input Pair IDLE (J/K) Data t1 CRS t2 RXD[3:0] RX_DV RX_ER T0346-01 Figure 9-9. 100Base-TX Receive Packet Latency Timing 9.6.10 100Base-TX Receive Packet Deassertion Timing Table 9-10. 100Base-TX Receive Packet Deassertion Timing PARAMETER t1 (1) (2) TEST CONDITIONS Carrier Sense OFF Delay (1) MIN 100Mbs Normal mode TYP 19 MAX UNIT bits (2) Carrier Sense Off Delay is determined by measuring the time from the first bit of the “T” code group to the deassertion of Carrier Sense. 1 bit time = 10 ns in 100Mbs mode PMD Input Pair DATA (T/R) IDLE t1 CRS T0347-01 Figure 9-10. 100Base-TX Receive Packet Deassertion Timing 82 Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 9.6.11 10Mbs MII Transmit Timing Table 9-11. 10Mbs MII Transmit Timing PARAMETER MIN TYP MAX UNIT 10Mbs MII mode 190 200 210 ns TXD[3:0], TX_EN Data Setup to TX_CLK ↑ 10Mbs MII mode 25 ns TXD[3:0], TX_EN Data Hold from TX_CLK ↑ 10Mbs MII mode 0 ns t1 TX_CLK Low Time t2 TX_CLK High Time t3 t4 TEST CONDITIONS An attached Mac should drive the transmit signals using the positive edge of TX_CLK. As shown in Figure 9-11, the MII signals are sampled on the falling edge of TX_CLK. t2 t1 TX_CLK t4 t3 TXD[3:0] TX_EN Valid Data Figure 9-11. 10Mbs MII Transmit Timing 9.6.12 10Mb/s MII Receive Timing Table 9-12. 10Mb/s MII Receive Timing PARAMETER (1) TEST CONDITIONS MIN TYP MAX UNIT 160 200 240 ns t1 RX_CLK High Time t2 RX_CLK Low Time t3 RX_CLK rising edge delay from RXD[3:0], RX_DV Valid 10Mbs MII mode 100 ns RX_CLK to RXD[3:0], RX_DV Delay 10Mbs MII mode 100 ns t4 (1) RX_CLK may be held low for a longer period of time during transition between reference and recovered clocks. Minimum high and low times will not be violated. t1 t2 RX_CLK t3 t4 RXD[3:0] RX_DV Valid Data T0349-01 Figure 9-12. 10Mb/s MII Receive Timing Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 83 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 9.6.13 10Base-T Transmit Timing (Start of Packet) Table 9-13. 10Base-T Transmit Timing (Start of Packet) PARAMETER t1 (1) TEST CONDITIONS Transmit Output Delay from the Falling Edge of TX_CLK MIN 10Mbs MII mode TYP MAX 5.8 UNIT (1) bits (1) 1 bit time = 100ns in 10Mb/s. TX_CLK TX_EN TXD t1 PMD Output Pair Figure 9-13. 10Base-T Transmit Timing (Start of Packet) 9.6.14 10Base-T Transmit Timing (End of Packet) Table 9-14. 10Base-T Transmit Timing (End of Packet) MIN TYP t1 End of Packet High Time (with ‘0’ ending bit) PARAMETER TEST CONDITIONS 250 310 MAX UNIT ns t2 End of Packet High Time (with ‘1’ ending bit) 250 310 ns TX_CLK TX_EN t1 0 PMD Output Pair PMD Output Pair 1 0 1 t2 Figure 9-14. 10Base-T Transmit Timing (End of Packet) 84 Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 9.6.15 10Base-T Receive Timing (Start of Packet) Table 9-15. 10Base-T Receive Timing (Start of Packet) PARAMETER TEST CONDITIONS t1 Carrier Sense Turn On Delay (PMD Input Pair to CRS) t2 RX_DV Latency (1) t3 Receive Data Latency (1) MIN Measurement shown from SFD TYP MAX 550 1000 UNIT ns 14 bits 14 bits 10Base-T RX_DV Latency is measured from first bit of decoded SFD on the wire to the assertion of RX_DV 1st SFD Bit Decoded 1 0 1 0 1 0 1 0 1 0 1 1 TPRD t1 CRS RX_CLK t2 RX_DV t3 RXD[3:0] 0000 Preamble SFD Data Figure 9-15. 10Base-T Receive Timing (Start of Packet) 9.6.16 10Base-T Receive Timing (End of Packet) Table 9-16. 10Base-T Receive Timing (End of Packet) PARAMETER t1 TEST CONDITIONS MIN Carrier Sense Turn Off Delay TYP MAX 1.8 1 0 1 UNIT μs IDLE PMD Input Pair RX_CLK t1 CRS Figure 9-16. 10Base-T Receive Timing (End of Packet) Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 85 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 9.6.17 10Mb/s Jabber Timing Table 9-17. 10Mb/s Jabber Timing PARAMETER t1 Jabber Activation Time t2 Jabber Deactivation Time TEST CONDITIONS MIN TYP MAX 100 10 Mb/s MII mode UNIT ms 500 TX_EN t1 PMD Output Pair t2 COL Figure 9-17. 10Mb/s Jabber Timing 9.6.18 10Base-T Normal Link Pulse Timing Table 9-18. 10Base-T Normal Link Pulse Timing PARAMETER (1) t1 Pulse Period t2 Pulse Width (1) TEST CONDITIONS MIN 10 Mb/s MII mode TYP MAX UNIT 16 ms 100 ns Transmit timing t1 t2 Normal Link Pulse(s) T0358-01 Figure 9-18. 10Base-T Normal Link Pulse Timing 86 Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 9.6.19 Auto-Negotiation Fast Link Pulse (FLP) Timing Table 9-19. Auto-Negotiation Fast Link Pulse (FLP) Timing PARAMETER TEST CONDITIONS t1 Clock Pulse to Clock Pulse Period t2 Clock Pulse to Data Pulse Period t3 Clock, Data Pulse Width t4 FLP Burst to FLP Burst Period t5 Burst Width MIN Data = 1 TYP MAX UNIT 125 μs 62 μs 114 ns 16 ms 2 ms t1 t2 t3 t3 Fast Link Pulse(s) Data Pulse Clock Pulse Clock Pulse t4 t5 FLP Burst FLP Burst T0359-01 Figure 9-19. Auto-Negotiation Fast Link Pulse (FLP) Timing Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 87 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 9.6.20 100Base-TX Signal Detect Timing Table 9-20. 100Base-TX Signal Detect Timing MAX UNIT t1 SD Internal Turn-on Time PARAMETER TEST CONDITIONS MIN TYP 100 μs t2 Internal Turn-off Time 200 μs PMD Input Pair t1 t2 SD+ Intermal T0360-01 NOTE: The signal amplitude on PMD Input Pair must be TP-PMD compliant. Figure 9-20. 100Base-TX Signal Detect Timing 9.6.21 100Mbs Loopback Timing Table 9-21. 100Mbs Loopback Timing PARAMETER t1 TX_EN to RX_DV Loopback MIN TYP MAX 100Mbs external loopback TEST CONDITIONS 241 242 243 100Mbs external loopback – fast RX_DV mode 201 202 203 100Mbs analog loopback 232 233 234 100Mbs PCS Input loop back 120 121 122 8 9 10 100Mbs MII loop back 88 Electrical Specifications UNIT ns Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 TX_CLK TX_EN TXD[3:0] CRS t1 RX_CLK RX_DV RXD[3:0] T0361-01 (1) (2) (3) (4) Due to the nature of the descrambler function, all 100Base-TX Loopback modes cause an initial dead-time of up to 550 μs during which time no data is present at the receive MII outputs. The 100Base-TX timing specified is based on device delays after the initial 550µs dead-time. Measurement is made from the first rising edge of TX_CLK after assertion of TX_EN. External loopback was measured using very short external cable (approximately 10cm). Since MII loopback introduce extreme short roundtrip delay, some hosts would use PCS Input loopback (Mainly in 100BT). Figure 9-21. 100Mbs Loopback Timing Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 89 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 9.6.22 10Mbs Internal Loopback Timing Table 9-22. 10Mbs Internal Loopback Timing PARAMETER t1 TEST CONDITIONS TX_EN to RX_DV Loopback MIN TYP 10Mbs internal loopback mode MAX UNIT μs 1.7 TX_CLK TX_EN TXD[3:0] CRS t1 RX_CLK RX_DV RXD[3:0] T0362-01 (1) (2) Measurement is made from the first rising edge of TX_CLK after assertion of TX_EN. Analog loopback was used. Looping the TX to RX at the analog input/output stage. Figure 9-22. 10Mbs Internal Loopback Timing 9.6.23 RMII Transmit Timing Table 9-23. RMII Transmit Timing PARAMETER TEST CONDITIONS MIN 50MHz Reference Clock t1 XI Clock Period t2 TXD[1:0] and TX_EN data setup to X1 rising 1.4 t3 TXD[1:0] and TX_EN data hold to X1 rising 2.0 t4 XI Clock to PMD Output Pair Latency TYP MAX UNIT 20 ns 12 bits t1 XI t2 TXD[1:0] TX_EN t3 Valid Data t4 Symbol PMD Output Pair Figure 9-23. RMII Transmit Timing 90 Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 TLK105 TLK106 www.ti.com SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 9.6.24 RMII Receive Timing Table 9-24. RMII Receive Timing PARAMETER TEST CONDITIONS MIN XI Clock Period t2 RXD[1:0], CRS_DV, RX_DV and RX_ER output delay from XI rising t3 CRS ON delay From JK symbol on PMD Receive Pair to initial assertion of CRS_DV 17.6 t4 CRS OFF delay From TR symbol on PMD Receive Pair to initial assertion of CRS_DV 26.2 t5 RXD[1:0] and RX_ER latency From symbol on Receive Pair. * Elasticity buffer set to default value (01) 29.7 t6 RX_CLK Clock Period 50MHz “Recovered clock” while working in “RMII receive clock” mode 20 t7 RXD[1:0], CRS_DV, RX_DV and RX_ER output delay from RX_CLK rising While working in “RMII receive clock” mode 3.8 PMD Input Pair Idle 50MHz Reference Clock TYP MAX t1 (J/K) 4 (TR) Data 20 t5 10.8 14 UNIT ns bits ns Data t4 XI t2 RX_DV t1 t2 t2 t6 t7 t7 t3 CRS_DV t2 RXD[1:0] RX_ER RX_CLK t7 Figure 9-24. RMII Receive Timing NOTE 1. Per the RMII Specification, output delays assume a 25pF load. 2. CRS_DV is asserted asynchronously in order to minimize latency of control signals through the PHY. CRS_DV may toggle synchronously at the end of the packet to indicate CRS de-assertion. 3. RX_DV is synchronous to XI. While not part of the RMII specification, this signal is provided to simplify recovery of receive data. 4. “RMII receive clock” mode is not part of the RMII specification that allows synchronization of the MAC-PHY RX interface in RMII mode. Setting register 0x000A bit [0] is required to activate this mode. Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 91 TLK105 TLK106 SLLSEB8A – AUGUST 2012 – REVISED MARCH 2013 www.ti.com 9.6.25 Isolation Timing Table 9-25. Isolation Timing PARAMETER t1 TEST CONDITIONS MIN TYP MAX From Deassertion of S/W or H/W Reset to transition from Isolate to Normal mode 71 UNIT ns H/W or S/W Reset t1 ISOLATE MODE NORMAL T0365-01 Figure 9-25. Isolation Timing 9.6.26 25MHz_OUT Clock Timing Table 9-26. 25MHz_OUT Clock Timing PARAMETER t1 t2 t3 (1) TEST CONDITIONS 25MHz_OUT (1) propagation delay 25MHz_OUT (1) High Time 25MHz_OUT (1) Low Time MIN TYP Relative to XI MAX 8 MII mode 20 RMII mode 10 MII mode 20 RMII mode 10 UNIT ns ns 25MHz_OUT characteristics are dependent upon the XI input characteristics. XI t1 t2 t3 25MHz_OUT T0366-01 Figure 9-26. 25MHz_OUT Timing 92 Electrical Specifications Copyright © 2012–2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: TLK105 TLK106 PACKAGE OPTION ADDENDUM www.ti.com 10-Mar-2013 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Pins Package Qty Drawing Eco Plan Lead/Ball Finish (2) MSL Peak Temp Op Temp (°C) Top-Side Markings (3) (4) TLK105RHBR ACTIVE QFN RHB 32 3000 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR -40 to 85 TLK105 TLK105RHBT ACTIVE QFN RHB 32 250 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR -40 to 85 TLK105 TLK106RHBR ACTIVE QFN RHB 32 3000 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR -40 to 105 TLK106 TLK106RHBT ACTIVE QFN RHB 32 250 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR -40 to 105 TLK106 (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. (4) Only one of markings shown within the brackets will appear on the physical device. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. Addendum-Page 1 Samples PACKAGE OPTION ADDENDUM www.ti.com 10-Mar-2013 Addendum-Page 2 PACKAGE MATERIALS INFORMATION www.ti.com 14-Mar-2013 TAPE AND REEL INFORMATION *All dimensions are nominal Device Package Package Pins Type Drawing TLK105RHBR QFN RHB 32 SPQ Reel Reel A0 Diameter Width (mm) (mm) W1 (mm) B0 (mm) K0 (mm) P1 (mm) W Pin1 (mm) Quadrant 3000 330.0 12.4 5.3 5.3 1.5 8.0 12.0 Q2 TLK105RHBT QFN RHB 32 250 180.0 12.4 5.3 5.3 1.5 8.0 12.0 Q2 TLK106RHBR QFN RHB 32 3000 330.0 12.4 5.3 5.3 1.5 8.0 12.0 Q2 TLK106RHBT QFN RHB 32 250 180.0 12.4 5.3 5.3 1.5 8.0 12.0 Q2 Pack Materials-Page 1 PACKAGE MATERIALS INFORMATION www.ti.com 14-Mar-2013 *All dimensions are nominal Device Package Type Package Drawing Pins SPQ Length (mm) Width (mm) Height (mm) TLK105RHBR QFN RHB 32 3000 367.0 367.0 35.0 TLK105RHBT QFN RHB 32 250 210.0 185.0 35.0 TLK106RHBR QFN RHB 32 3000 367.0 367.0 35.0 TLK106RHBT QFN RHB 32 250 210.0 185.0 35.0 Pack Materials-Page 2 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use. Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of non-designated products, TI will not be responsible for any failure to meet ISO/TS16949. Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com Wireless Connectivity www.ti.com/wirelessconnectivity Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2013, Texas Instruments Incorporated