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.

DP83867IS: Compliance test on all 4 ethernet pairs

Part Number: DP83867IS

Hello,

I'm currently trying to test all pairs/channels of a DP83867IS with a 1000Base-T connection with the LeCroy QualiPHY QPHY-ENET.

I tried the commands given in SNLA239A, page 12-13. This works fine for channel 1, but I'm having trouble to get the PHY test mode waveforms on channels 2 - 4.

When powering up or resetting the PHY, the link pulses can be seen on Channel 2. Channel 3 and 4 does not show any signal.

When specifying a test mode (e.g. setting Reg 0x0009 = 0x3B00 //Test Mode 1), the link pulses on channel 2 stops.

Setting the output to all channels with "Reg 0x0025 = 0x0480 //output test mode to all channels" does not change anything.

Is there any command missing to send the test waveforms on all 4 ethernet pairs or is this not possible?

Best regards,

Christian

  • Hi Christian,

    Your problem probably has to do with the extended register space access. Register 0x25 is in the extended register space, and as such you need to use the methods described in the DP83867IS datasheet section "8.4.2.1 Extended Address Space Access"

    If you are using uboot, or some other Linux software tool, then the MDIO controller may not be using the proper access method by default.

    Best Regards,
  • Thank you for the information, this solved my problem!

    Maybe this might helpfull for someone, here are my uboot commands:

    • reset PHY
      • mii write 7 1f 8000
    • 1000 Base-TMode
      • mii write 7 0 0140
    • forced MDI Mode
      • mii write 7 10 5008
    • Set test mode 1
      • mii write 7 9 3b00
    • indirectly set output to all channels (Reg 0x0025 = 0x0480). First set the register to 0x0025
      • mii write 7 d 001f
      • mii write 7 e 0025
    • now set the data for register 0x0025 to 0x0480
      • mii write 7 d 401f
      • mii write 7 e 0480
    • set the proprietary register for the test mode (Reg 0x01D5 = 0xF508)
      • mii write 7 d 001f
      • mii write 7 e 01D5
      • mii write 7 d 401f
      • mii write 7 e F508

    Best Regards,

    Christian