SNLA364C March   2021  – June 2022 DP83TD510E

 

  1.   Abstract
  2.   Trademarks
  3. Introduction
  4. 1-V and 2.4-V p2p Mode Scripts
  5. Time-Domain Reflectometry
    1. 3.1 TDR Application Startup
      1. 3.1.1 TDR_CFG (Address = 0x001E) [Reset = 0x0000]
      2. 3.1.2 TDR_Fault_Status (Address = 0x030C) [Reset = 0x0000]
    2. 3.2 TDR Test Procedure
  6. Active Link Cable Diagnostics
    1. 4.1 ALCD Application Startup
    2. 4.2 ALCD Test Procedure
      1. 4.2.1 Cable Calibration
      2. 4.2.2 Cable Quality Measurement
  7. Signal Quality Indicator
    1. 5.1 SQI Application Startup
      1. 5.1.1 MSE Detection (Address = 0x0A85 ) [Reset = 0x0000]
    2. 5.2 SQI Test Procedure
  8. Cable Diagnostics Summary
  9. Loopback Modes
    1. 7.1 BISCR (Address = 0x0016) [Reset = 0x0100]
  10. Pseudo-Random Bit Sequence Functions
    1. 8.1 PRBS_CFG_1 (Address = 0x0119) [Reset = 0x0574]
    2. 8.2 PRBS_STATUS_4 (Address = 0x011F) [Reset = 0x0000]
  11. USB to MDIO Procedure
  12. 10IEEE 802.3cg PMA Compliance
  13. 11Revision History

Pseudo-Random Bit Sequence Functions

The DP83TD510E incorporates a Pseudo-Random Bit Sequence (PRBS) generator and checker to allow for Built-in Self-Test (BIST), as well as a cable diagnostic tool. The PRBS circuity can be utilized for internal loopback modes or to send data over the MAC or MDI interfaces. The PRBS simulates pseudo-random data transfer scenarios in the format of real packets and Inter-Packet Gap (IPG) on the lines. The PRBS allows the designer control over the packet length and IPG to simulate expected throughputs of the application. The PRBS is implemented with independent transmit and receive paths, with the transmit block capable of generating a continuous stream of a pseudo-random sequence.

The receive status of whether the PRBS checker is locked to the incoming bit stream, whether the PRBS has lost sync, and whether the packet generator is busy, can be read from the PRBS_STATUS_4 register (0x011F). 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 error counter in the PRBS_STATUS_4 register. The number of received packets is stored in PRBS_STATUS_2 (0x011D).

Note:

Note: The value stored in any PRBS packet or byte counting register is updated when a write is made to register 0x011F bit[0] or bit[1].

The PRBS test can be put in a continuous packet generation mode by using the PRBS_CFG_1 register (0x0119). In continuous mode, when one of the PRBS counters reaches the maximum value, the counter starts counting from zero again.

Enable continuous PRBS generator:
Begin 
//Enable continuous PRBS generator/checker over Copper TX/RX
//Note the link partner should be in reverse loopback mode for PRBS checker to have data stream to evaluate
0119 0557
End
PRBS receive data checker: 
Begin
//Write 0x011F[0] to latch packet, error counter values
011F 0001
//Read 0x011F for generator status, sync lock, bit errors
//0x011F = 0x0B00 is indicative of PRBS lock and no errors, passing result
011F
End