SNLA428 june   2023 DP83826E

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Time Domain Reflectometry
    1. 1.1 Example Connections
      1. 1.1.1 Open Circuit Cable
      2. 1.1.2 Short Circuit Cable
  5. 2TDR Implementation
    1. 2.1 DP83826 TDR Configuration
    2. 2.2 TDR Algorithm
      1. 2.2.1 TDR Algorithm Example Flow
      2. 2.2.2 TDR Algorithm Matlab Example Code
  6. 3Summary
  7. 4References

DP83826 TDR Configuration

The DP83826 can support 150 meter and above cable reach. Long cable reach causes the transmitted signal to face higher attenuation with cable length, so the gain and other settings need to be tweaked with cable length to achieve reliable fault detection using TDR. The cable is assumed to be divided into the following five segments:

  • Segment 1: 0 m to 10 m
  • Segment 2: 10 m to 20 m
  • Segment 3: 20 m to 40 m
  • Segment 4: 40 m to 80 m
  • Segment 5: 80 m to 190 m

In order to a run complete TDR simulation, data from all five segments must be collected. Each segment requires a different set of register writes and segment 1 requires two register writes.

A fault can only be detected by the PHY's TDR if a fault (open or short) is introduced to the circuit. Follow these steps to run TDR:

  1. Configure registers 0x170, 0x173, 0x175, 0x178, 0x416, 0x411, 0x456, and 0x1E to the corresponding values for Segment 1A shown in the Table 2-1. The registers used for configuration are extended registers. To configure extended registers, see the DP83826 Deterministic, Low-Latency, Low-Power, 10/100 Mbps, Industrial Ethernet PHY, data sheet for more information.
  2. Confirm that TDR has finished running for that segment by checking 0x001E[1] = 1.
  3. Read registers 0x180, 0x185, and 0x18A and fill out the corresponding row of the Table 2-5. The order of the rows of the table does not correspond to the order of the segments.
  4. Repeat Step 1, 2 and 3 for segments 1B, 2, 3, 4, and 5 in that order. You may choose to only run TDR for certain segments. For instance, if your cable is 20m, you may fill out the rows for Segment 4 and 5 with zeros.
  5. Process the data collected using the TDR Algorithm described in the next section to determine the fault location and type.
Table 2-1 Register Configurations for Each Segment
Register Value
Segment 1A Segment 1B Segment 2 Segment 3 Segment 4 Segment 5
0x170 0x5C12 0x5C12 0x5C22 0x5E32 0x5E42 0x5E52
0x173 0xD00 0x0D0C 0x0D13 0x1A20 0x343A 0x8F6E
0x175 0x1007 0x1007 0x1007 0x1007 0x100A 0x100D
0x178 0x002 0x0002 0x0002 0x0002 0x0002 0x0006
0x416 0x1FA0 0x1FA0 0x1FA0 0x1FA0 0x1FA0 0x1F90
0x411 0x0813 0x0813 0x0813 0x0815 0x0816 0x816
0x456 0x0608 0x0608 0x0608 0x0608 0x0608 0x0608
0x01E 0x8102 0x8102 0x8102 0x8102 0x8102 0x8102
Table 2-2 TDR Data Table
Segment peak_index (0x180) peak_value (0x185) peak_sign (0x18A)
2
3
4
5
1B
1A