SLLSEB8C August   2012  – April  2016 TLK105 , TLK106

PRODUCTION DATA.  

  1. Introduction
    1. 1.1 Features
    2. 1.2 Applications
    3. 1.3 Device Overview
      1. 1.3.1 Electrostatic Discharge Caution
  2. Pin Descriptions
    1. 2.1 Pin Layout
    2. 2.2 Serial Management Interface (SMI)
    3. 2.3 MAC Data Interface
    4. 2.4 10Mbs and 100Mbs PMD Interface
    5. 2.5 Clock Interface
    6. 2.6 LED Interface
    7. 2.7 Reset and Power Down
    8. 2.8 Power and Bias Connections
  3. Hardware Configuration
    1. 3.1  Bootstrap Configuration
    2. 3.2  Power Supply Configuration
      1. 3.2.1 Single Supply Operation
      2. 3.2.2 Dual Supply Operation
      3. 3.2.3 Variable IO Voltage
    3. 3.3  IO Pins Hi-Z State During Reset
    4. 3.4  Auto-Negotiation
    5. 3.5  Auto-MDIX
    6. 3.6  MII Isolate Mode
    7. 3.7  PHY Address
    8. 3.8  LED Interface
    9. 3.9  Loopback Functionality
      1. 3.9.1 Near-End Loopback
      2. 3.9.2 Far-End Loopback
    10. 3.10 BIST
    11. 3.11 Cable Diagnostics
      1. 3.11.1 TDR
      2. 3.11.2 ALCD
  4. Interfaces
    1. 4.1 Media Independent Interface (MII)
    2. 4.2 Reduced Media Independent Interface (RMII)
    3. 4.3 Serial Management Interface
      1. 4.3.1 Extended Address Space Access
        1. 4.3.1.1 Write Address Operation
        2. 4.3.1.2 Read Address Operation
        3. 4.3.1.3 Write (no post increment) Operation
        4. 4.3.1.4 Read (no post increment) Operation
        5. 4.3.1.5 Write (post increment) Operation
        6. 4.3.1.6 Read (post increment) Operation
  5. Architecture
    1. 5.1 100Base-TX Transmit Path
      1. 5.1.1 MII Transmit Error Code Forwarding
      2. 5.1.2 4-Bit to 5-Bit Encoding
      3. 5.1.3 Scrambler
      4. 5.1.4 NRZI and MLT-3 Encoding
      5. 5.1.5 Digital to Analog Converter
    2. 5.2 100Base-TX Receive Path
      1. 5.2.1  Analog Front End
      2. 5.2.2  Adaptive Equalizer
      3. 5.2.3  Baseline Wander Correction
      4. 5.2.4  NRZI and MLT-3 Decoding
      5. 5.2.5  Descrambler
      6. 5.2.6  5B/4B Decoder and Nibble Alignment
      7. 5.2.7  Timing Loop and Clock Recovery
      8. 5.2.8  Phase-Locked Loops (PLL)
      9. 5.2.9  Link Monitor
      10. 5.2.10 Signal Detect
      11. 5.2.11 Bad SSD Detection
    3. 5.3 10Base-T Receive Path
      1. 5.3.1 10M Receive Input and Squelch
      2. 5.3.2 Collision Detection
      3. 5.3.3 Carrier Sense
      4. 5.3.4 Jabber Function
      5. 5.3.5 Automatic Link Polarity Detection and Correction
      6. 5.3.6 10Base-T Transmit and Receive Filtering
      7. 5.3.7 10Base-T Operational Modes
    4. 5.4 Auto Negotiation
      1. 5.4.1 Operation
      2. 5.4.2 Initialization and Restart
      3. 5.4.3 Next Page Support
    5. 5.5 Link Down Functionality
  6. Reset and Power Down Operation
    1. 6.1 Hardware Reset
    2. 6.2 Software Reset
    3. 6.3 Power Down/Interrupt
      1. 6.3.1 Power Down Control Mode
      2. 6.3.2 Interrupt Mechanisms
    4. 6.4 Power Save Modes
  7. Design Guidelines
    1. 7.1 TPI Network Circuit
    2. 7.2 Clock In (XI) Requirements
      1. 7.2.1 Oscillator
      2. 7.2.2 Crystal
    3. 7.3 Thermal Vias Recommendation
  8. Register Block
    1. 8.1 Register Definition
      1. 8.1.1  Basic Mode Control Register (BMCR)
      2. 8.1.2  Basic Mode Status Register (BMSR)
      3. 8.1.3  PHY Identifier Register 1 (PHYIDR1)
      4. 8.1.4  PHY Identifier Register 2 (PHYIDR2)
      5. 8.1.5  Auto-Negotiation Advertisement Register (ANAR)
      6. 8.1.6  Auto-Negotiation Link Partner Ability Register (ANLPAR) (BASE Page)
      7. 8.1.7  Auto-Negotiate Expansion Register (ANER)
      8. 8.1.8  Auto-Negotiate Next Page Transmit Register (ANNPTR)
      9. 8.1.9  Auto-Negotiation Link Partner Ability Next Page Register (ANLNPTR)
      10. 8.1.10 Control register 1 (CR1)
      11. 8.1.11 Control register 2 (CR2)
      12. 8.1.12 Control Register 3 (CR3)
      13. 8.1.13 Extended Register Addressing
        1. 8.1.13.1 Register Control Register (REGCR)
        2. 8.1.13.2 Address or Data Register (ADDAR)
      14. 8.1.14 PHY Status Register (PHYSTS)
      15. 8.1.15 PHY Specific Control Register (PHYSCR)
      16. 8.1.16 MII Interrupt Status Register 1 (MISR1)
      17. 8.1.17 MII Interrupt Status Register 2 (MISR2)
      18. 8.1.18 False Carrier Sense Counter Register (FCSCR)
      19. 8.1.19 Receiver Error Counter Register (RECR)
      20. 8.1.20 BIST Control Register (BISCR)
      21. 8.1.21 RMII Control and Status Register (RCSR)
      22. 8.1.22 LED Control Register (LEDCR)
      23. 8.1.23 PHY Control Register (PHYCR)
      24. 8.1.24 10Base-T Status/Control Register (10BTSCR)
      25. 8.1.25 BIST Control and Status Register 1 (BICSR1)
      26. 8.1.26 BIST Control and Status Register2 (BICSR2)
    2. 8.2 Cable Diagnostic Control Register (CDCR)
    3. 8.3 PHY Reset Control Register (PHYRCR)
    4. 8.4 Compliance Test register (COMPTR)
    5. 8.5 TX_CLK Phase Shift Register (TXCPSR)
    6. 8.6 Power Back Off Control Register (PWRBOCR)
    7. 8.7 Voltage Regulator Control Register (VRCR)
    8. 8.8 Cable Diagnostic Configuration/Result Registers
      1. 8.8.1  ALCD Control and Results 1 (ALCDRR1)
      2. 8.8.2  Cable Diagnostic Specific Control Registers (CDSCR1 - CDSCR4)
      3. 8.8.3  Cable Diagnostic Location Results Register 1 (CDLRR1)
      4. 8.8.4  Cable Diagnostic Location Results Register 2 (CDLRR2)
      5. 8.8.5  Cable Diagnostic Location Results Register 3 (DDLRR3)
      6. 8.8.6  Cable Diagnostic Location Results Register 4 (CDLRR4)
      7. 8.8.7  Cable Diagnostic Location Results Register 5 (CDLRR5)
      8. 8.8.8  Cable Diagnostic Amplitude Results Register 1 (CDARR1)
      9. 8.8.9  Cable Diagnostic Amplitude Results Register 2 (CDARR2)
      10. 8.8.10 Cable Diagnostic Amplitude Results Register 3 (CDARR3)
      11. 8.8.11 Cable Diagnostic Amplitude Results Register 4 (CDARR4)
      12. 8.8.12 Cable Diagnostic Amplitude Results Register 5 (CDARR5)
      13. 8.8.13 Cable Diagnostic General Results Register (CDGRR)
      14. 8.8.14 ALCD Control and Results 2 (ALCDRR2)
  9. Electrical Specifications
    1. 9.1 Absolute Maximum Ratings
    2. 9.2 ESD Ratings
    3. 9.3 Recommended Operating Conditions
    4. 9.4 145
      1. 9.4.1 TLK105 32-Pin Industrial Device (85°C) Thermal Characteristics
    5. 9.5 TLK106 32-Pin Extended Temperature (105°C) Device Thermal Characteristics
    6. 9.6 DC Characteristics, VDD_IO
    7. 9.7 DC Characteristics
    8. 9.8 Power Supply Characteristics
      1. 9.8.1 Active Power, Single Supply Operation
      2. 9.8.2 Active Power, Dual Supply Operation
      3. 9.8.3 Power-Down Power
    9. 9.9 AC Specifications
      1. 9.9.1  Power Up Timing
      2. 9.9.2  Reset Timing
      3. 9.9.3  MII Serial Management Timing
      4. 9.9.4  100Mb/s MII Transmit Timing
      5. 9.9.5  100Mb/s MII Receive Timing
      6. 9.9.6  100Base-TX Transmit Packet Latency Timing
      7. 9.9.7  100Base-TX Transmit Packet Deassertion Timing
      8. 9.9.8  100Base-TX Transmit Timing (tR/F and Jitter)
      9. 9.9.9  100Base-TX Receive Packet Latency Timing
      10. 9.9.10 100Base-TX Receive Packet Deassertion Timing
      11. 9.9.11 10Mbs MII Transmit Timing
      12. 9.9.12 10Mb/s MII Receive Timing
      13. 9.9.13 10Base-T Transmit Timing (Start of Packet)
      14. 9.9.14 10Base-T Transmit Timing (End of Packet)
      15. 9.9.15 10Base-T Receive Timing (Start of Packet)
      16. 9.9.16 10Base-T Receive Timing (End of Packet)
      17. 9.9.17 10Mb/s Jabber Timing
      18. 9.9.18 10Base-T Normal Link Pulse Timing
      19. 9.9.19 Auto-Negotiation Fast Link Pulse (FLP) Timing
      20. 9.9.20 100Base-TX Signal Detect Timing
      21. 9.9.21 100Mbs Loopback Timing
      22. 9.9.22 10Mbs Internal Loopback Timing
      23. 9.9.23 RMII Transmit Timing
      24. 9.9.24 RMII Receive Timing
      25. 9.9.25 Isolation Timing
  10. 10Revision History

パッケージ・オプション

デバイスごとのパッケージ図は、PDF版データシートをご参照ください。

メカニカル・データ(パッケージ|ピン)
  • RHB|32
サーマルパッド・メカニカル・データ
発注情報

3 Hardware Configuration

This section includes information on the various configuration options available with the TLK10x. The configuration options described below include:

  • 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

3.1 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.

Table 3-1 Strap Options

PIN TYPE
NAME NO. DESCRIPTION
PHYAD0 (COL)
PHYAD1 (RXD_0)
PHYAD2 (RXD_1)
PHYAD3 (RXD_2)
PHYAD4 (RXD_3)
29
30
31
32
1
S, O, PD / PU 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 Address values 0 (<00000>) through 31 (<11111>). PHYAD[4:1] pins have weak internal 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 LED Configuration: 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.
AMDIX_EN (RX_ER) 28 S, O, PU Auto-MDIX Enable: This option sets the Auto-MDIX mode. By default, it enables Auto-MDIX. An external pull-down 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, connect the TLK10x supply pins as shown in Figure 3-1.

TLK105 TLK106 singpwr2_tlk106_llseb8.gif Figure 3-1 Power Connections for Single Supply Operation

3.2.2 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).

TLK105 TLK106 multipwr_tlk106_llseb8.gif 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 PFBIN2 must be operational less than 100ms after 3.3V rises to detect the internal RESET.

3.2.3 Variable IO Voltage

The TLK10x digital IO pins can operate with a variable supply voltage. While the primary applications will use 3.3V, VDD_IO can also operate on 2.5V, and for MII mode only, VDD_IO of 1.8V can be used as well. For more details, see Section 9.6.

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).

PIN NAME TYPE INTERNAL PU/PD PIN NAME TYPE Internal PU/PD
TXD_3 IO PD COL IO PU
TX_EN IO PD RXD_0 IO PD
INT/PWDN IO PU RXD_1 IO PD
LED_LINK IO PU RXD_2 IO PD
MDIO IO RXD_3 IO PD
RX_DV IO PD TX_CLK O
CRS IO PU RX_CLK O
RX_ER IO PU

3.4 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-2. 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-2 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 Auto-Negotiation 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.

3.6 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-3.

Table 3-3 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).

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).

TLK105 TLK106 phyadd_cfg_lls901.gif Figure 3-3 Illustrative PHYAD Configuration Example

3.8 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-4.

Table 3-4 LED Mode Select

MODE LED_CFG[0]
(BIT 5) or (PIN 27)
LED_LINK
1 1 ON for Good Link
OFF for No Link
2 0 ON for Good Link
BLINK for Activity

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. Enabling Enhanced LED Link via the CR2 register (0x0A) bit 4 overrides the LED blinking functionality of the PHYCR register (0x0019) bit 5. The Link LED will not blink for activity when Enhanced LED Link is enabled.

See Figure 3-4 for an example of AN_0 connections to external components. In this example, the configuration results in Full-Duplex advertised.

TLK105 TLK106 ledcfg_llseb8.gif Figure 3-4 AN Pin Configuration and LED Loading Example

3.9 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.

TLK105 TLK106 nelb_lls931.gif 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-5 describes the available operational modes for each loop mode:

Table 3-5 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. For proper operation in Analog Loopback mode, attach 100Ω terminations 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 does not apply for external-loopback mode. For selected loopback Delay propagation timing please see Section 9.9.21.

3.9.2 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.

TLK105 TLK106 felb_lls931.gif 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-6 describes the operating modes for Far-End Loopback.

Table 3-6 Far-End Loopback Modes

OPERATIONAL MAC INT. MII MODE RMII MODE
Operational Setting Force/ANEG 10/100 Force/ANEG 10

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 loopback 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 TLK10x 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 TLK10x 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 TLK10x 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 TLK10x 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 TLK10x also uses data averaging to reduce noise and improve accuracy. The TLK10x can record up to five reflections within the tested pair. If more than 5 reflections are recorded, the TLK10x 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 TLK10x TDR can measure cables up to 200m in length.

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 TLK10x 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 TLK10x 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).