This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DP83822HF: The Linkup Status of the Basic Mode Status Register (BMSR) may be Valid at random even though the SFP module is not inserted.

Part Number: DP83822HF

This is a question related to a question I asked in the past.
https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1028429/dp83822hf-the-behavior-of-linkup-status-on-basic-mode-status-register-bmsr/3806283

When the SFP module is not inserted and the power is turned on with only the SFP case and connector in the following circuit:
DP83822HF may have a Linkup Status of Valid. (Probability: 70~ 80%)
The Basic Mode Status Register (BMSR) is 0x784D (bit2 = Valid link established).
This causes the Link/Act and Speed LEDs to light or blink.

[Block diagram]

Since the SFP module was not inserted but was linked up, we suspected a change in the input signal of the DP83822HF and measured the waveform before and after the LED's changed.
Measured point:
 (1) LED_1/GPIO1 (SD_ IN): No problem (3.3 V fixed)
 (2) TD_ P: No problem (sine wave) * However, the measurement point is the 18pin of the SFP connector.
 (3) TD_ N: No problem (sine wave) * However, the measurement point is the 19pin of the SFP connector.
 (4) RD_P: LED does not light * However, the measurement point is the 13pin of the SFP connector (Measured Point section of the block diagram).
 (5) RD_N: No error (0 V fixed) * However, the measurement point is the 12pin of the SFP connector.

From the above, it was found that when an oscilloscope is connected to 13pin of SFP Connector, it does not occur.
Also, clipping the 13pin of the SFP connector with GND did not occur.
Therefore, the LinkUp factor is considered to be the input signal to TD_Ppin.

Further, the waveform measurement of the SFP connector 13pin was continued.
Discharge from 3.3 V to 0 V was confirmed when the oscilloscope was connected.
When the power is turned on while the oscilloscope is connected, discharge occurs immediately after 3.3 V is applied. (Fig.1)
When the oscilloscope is connected after power is turned on, discharge occurs from that moment. (Fig.2)

[Waveform] ch1: RD_P(SFP Connector 13pin), ch2: DP83822HF's Reset, ch3: +3.3V

 Fig.1

 Fig.2

As a guess, the AC coupling capacitor in the RD_P signal line is charged.
From there, the noise is fed into the RD_P pin, and it is considered to be a false detection of LinkUp.
*It is not possible to measure the waveform at the moment of noise because the phenomenon does not occur when the oscilloscope is connected.
In addition, it is not possible to directly measure the RD_P pin of the DP83822HF due to the mounting status of the component.

[Question]
 (1) Is this guess correct?
 (2) In the first place, are the termination circuits of RD_P/RD_N and TX_P/TD_N correct?
 (3) In the first place, what are the conditions under which the Linkup Status becomes Valid in the 100BASE-FX condition for DP83822HF?
      If the RD_P/RD_N signal fluctuates, is it valid?
     Or is it not just a fluctuation but a valid once the negotiation is completed?
 (4) Another possibility was that it was in Loopback mode, but not from register dump results.
     Is it possible to detect LinkUp when no cables or SFP modules are connected except in Loopback mode?
 (5) Are there any measures that can be taken just by changing register settings without changing the circuit?

[Supplement]
After turning on the power, the register setting of the DP83822HF is changed to the following.
(1) Set address 0x0000 to 0x2100
     [bit12]: 0 = Disable auto-negotiation process
(2) Set address 0x000A to 0x4100
     [bit14]:1 = 100BASE-FX mode enabled
(3) Set 0x010B to address 0x0011
     [bit01]:1 = Enable event based interrupts
     [bit00] :1 = INT/PWDN_N is interrupt output
(4) Set 0x0020 to address 0x0012
     [bit05]:1 = Enable interrupt on change of link status
(5) Set 0x00A0 to address 0x0017
     [bit07]:1 = 50-MHz clock reference, CMOS-level oscillator
     [bit05]:1 = Enable RMII mode of operation
(6) Set 0x0100 to address 0x0462
     [bit10:8]:001 = LED_3 (Default: Speed, High for 100Base-TX)
(7) Set 0x0001 to address 0x0465
     [bit00]:1 = Signal Detect is Active LOW

The register dump when the problem occurs is as follows:
0000: 21 00
0001: 78 4D
0002: 20 00
0003: A2 40
0004: 00 61
0005: 00 00
0006: 00 04
0007: 20 01
0008: 00 00
0009: 00 00
000a: 41 00
000b: 10 00
000c: 00 00
000d: 40 1F
000e: 00 01
000f: 00 00
0010: 0A 85
0011: 01 0B
0012: E2 20
0013: 00 00
0014: 00 FF
0015: 00 00
0016: 01 00
0017: 00 A8
0018: 04 00
0019: 80 04
001a: 00 00
001b: 00 7D
001c: 05 EE
001d: 00 00
001e: 00 02
001f: 00 00
003e: 00 00
003f: B4 FF
0040: C1 1D
0042: 00 00
0101: 20 02
0106: B0 BB
0107: 06 05
010f: 03 00
0111: 60 03
0114: 40 0A
0116: 01 4A
0121: 19 9A
0122: 10 27
0123: 05 1C
0126: 46 1B
0129: 00 0F
0130: 47 50
0155: 00 01
0170: 0E 52
0171: C8 5C
0173: FF 1E
0177: 18 9B
0180: 00 00
0181: 00 00
0182: 00 00
0183: 00 00
0184: 00 00
0185: 00 00
0186: 00 00
0187: 00 00
0188: 00 00
0189: 00 00
018a: 00 00
0215: 01 AF
021d: 06 00
0403: 9F CF
0404: 00 20
040d: 00 08
0410: 20 00
0416: 08 70
0418: 00 00
041f: 00 00
0421: 00 07
0428: 00 00
0450: 0F 41
0456: 00 08
0460: 05 51
0461: 04 10
0462: 01 00
0463: 00 00
0465: 00 01
0467: D7 3F
0468: 00 00
0469: 00 40
04a0: 10 00
04a1: 00 00
04a2: 00 00
04a3: 00 00
04a4: 00 00
04a5: 00 00
04a6: 00 00
04a7: 00 00
04a8: 00 00
04a9: 00 00
04aa: 00 00
04ab: 00 00
04ac: 00 00
04ad: 00 00
04ae: 00 00
04af: 00 00
04b0: 00 00
04b1: 00 00
04b2: 00 00
04b3: 00 00
04b4: 00 00
04b5: 00 00
04b6: 00 00
04b7: 00 00
04b8: 00 00
04b9: 00 00
04ba: 00 00
04bb: 00 00
04bc: 00 00
04bd: 00 00
04be: 00 00
04bf: 00 00
04c0: 00 00
04c1: 00 00
04c2: 00 00
04c3: 00 00
04c4: 00 00
04c5: 00 00
04c6: 00 00
04c7: 00 00
04c8: 00 00
04c9: 00 00
04ca: 00 00
04cb: 00 00
04cc: 00 0C
04d0: 03 02
04d1: 01 8B
04d4: 72 20
04d5: FB C1
04d6: 01 C1
3000: 21 00
3001: 78 4D
3014: 00 FF
3016: 01 00
703c: 00 00
703d: 00 00

  • Hi,

    This is a large bit of information, please correct me wrong if I am misinterpreting the problem statement.

    DP83822 is in a fiber application on a PCB where it is connected to a fiber case/connector with the actual SFP module unplugged. Power is applied to the case after the PHY is up, and somehow the PHY is detecting a pseudo linkup.

    Probing the line yields figures 1 and 2 with the latter being a later time behavior of the line (RX+). When probing the line, the behavior is not realized. When connected to GND, this behavior is also not realized. So the hypothesis is somehow the line is being biased in such a state undetectable with scope to give PHY a pseudo-good link indication.

    Questions: 

    1) Is this happening on many boards? Or is this happening on single board 70-80% of the time?

    2) I noticed that PHY is being help into reset in the scope shots. Wouldn't link not be achievable in this scenario?

    3) When 3.3V is being applied into the system (in your words, to the SFP case), is the PHY also being powered on at the same time?

    4) Whenever trying to read link up in FX application, PHY needs to be soft restarted (0x1F = 0x4000). Is this pseudo link up still present afterwards?

    Comments:

    1) MDI termination looks fine.

    Sincerely,

    Gerome

  • Hi, thanks for replay.

    Your problem statement is correct.


    > 1) Is this happening on many boards? Or is this happening on single board 70-80% of the time?

     Happened many board.

     A board has a one-to-one connection between three SFP modules and the PHY,

       but the SFP modules that occur are also random and occur about 30% of the time.

    > 2) I noticed that PHY is being help into reset in the scope shots. Wouldn't link not be achievable in this scenario?

       The waveform is the same as when Reset is performed, but the LED will light only after Reset is released.
       After about 8 seconds after 3.3VON, the reset will be released, and the LED will light up within about 1 minute.

    > 3) When 3.3V is being applied into the system (in your words, to the SFP case), is the PHY also being powered on at the same time?

      3.3 V is common to all, and is supplied to the case of the PHY and the optical module, and is turned ON simultaneously.

    > 4) Whenever trying to read link up in FX application, PHY needs to be soft restarted (0x1F = 0x4000). Is this pseudo link up still present afterwards?

      Even if you run DigitalRestart with 0x1F=0x4000, the LED will light up again in about 1 minute.

    The most important thing to check is the LinkUp condition below.
    My guess is that it will LinkUp when the RD signal fluctuates. Is that correct?
    If this guess is not correct, please tell me the combination of signals that will allow the link up.

    > (3) In the first place, what are the conditions under which the Linkup Status becomes Valid in the 100BASE-FX condition for DP83822HF?
    >      If the RD_P/RD_N signal fluctuates, is it valid?
    >     Or is it not just a fluctuation but a valid once the negotiation is completed?

    Best regards.

  • Hi.

    I found the following FAQ on this forum.

    https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1272949/faq-dp83822if-fiber-link-status?tisearch=e2e-sitesearch&keymatch=DP83822HF

    It was interpreted that the LinkStatus must be reset before it can be read successfully.
    This could be interpreted as saying that LinkStatus itself is unstable, leading to this incident.
    Also, does Reset only apply to SoftReset? Can I use DigitalRestart?

    I would like to receive an answer as soon as possible based on the customer's request (due date).

    Best regards.

  • Hello,

    This is why I had asked if the behavior was still present after applying a restart of the PHY. 

    An experiment I would like to suggest is to remove the DC blocking capacitors. This would cause a direct connection between the PHY and cage and help isolate whether the issue lie in the PHY system, or in the fiber cage system as there is also components there which may be contributing to the unexpected behavior.

    Sincerely,

    Gerome

  • Hi.

    >An experiment I would like to suggest is to remove the DC blocking capacitors.

    This experiment has been conducted. (Exp2)
    I tried the following pattern, but it didn't improve everything.(Linkup and LED on)

    I simply want an answer to the Linkup condition I am asking.

    We can guess which of the following is applicable?
     (1) LinkUp when RD signal fluctuates
     (2) LinkUp when negotiation with the opposing machine is completed
     (3) If the RD signal does not change for a certain period of time, LinkUp
     (4) Other than that

  • Hi Kondo,

    This is a very unexpected result, and thus don't understand why the PHY is linking up in this state. To fully rule out the PHY, I suggest the following two experiments:

    1) Disconnect DC blocking caps and NOT short across. This would isolate the PHY from the case, and if the issue goes away, it may warrant taking a look at the case vendor.

    2) With normal setup, toggle 0xA[14] and restart the PHY via 0x1F = 0x4000. This would put the PHY into copper mode and see if there is something unexpected going on in the PHY.

    Sincerely,

    Gerome

  • HI.

    >1) Disconnect DC blocking caps and NOT short across

     It takes time and effort to prepare for the exam, so we ask that it be conducted separately.

    >2) With normal setup, toggle 0xA[14] and restart the PHY via 0x1F = 0x4000

     If bit14 is 0, the problem will not occur.
     Then, when bit14 was changed back to 1, the problem occurred.
     It remained dependent on bit14 status after DigitalRestart.

    I understand that you think the cause is our circuit design and SFP case and connector.
    However, why can't I get an answer on the condition that LinkStatus changes, which I have been asking for a while?
    This condition is only for DP83822, so it should be considered separately from our circuit design.
    Or is there an inherent problem with using it in Fiber mode, like the information in the FAQ?

     FAQ:https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1272949/faq-dp83822if-fiber-link-status?tisearch=e2e-sitesearch&keymatch=DP83822HF

  • Hi Kondo,

    As this is an unexpected behavior of the PHY, we do not have much data as to what signals may cause this pseudo-link up. The best course of action is to understand potential sources and look to mitigate them to prevent such an event. As there is no auto-negotiation, item 2 might be ruled out. We have done FX testing on our DP83822 EVM and have not seen such behavior. Thus we have reason to suspect marginality in the design related to the SFP connector.

    Sincerely,

    Gerome