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.

WEBENCH® Tools/DP83867ERGZ-R-EVM: xilinx

Part Number: DP83867ERGZ-R-EVM

Tool/software: WEBENCH® Design Tools

Hi,

I'm working with a chip DP83867ERGZT. 1000BASE.RGMII

By MII I ask and read the following registers:
1. CTRL (h001F) <--- h8000, read 0. (reset with registers).
2. BMCR (h0) <- h0140, polling = h0140. (set 1000BASE).
3. PHYCR (h0010) <--- hf068. (dis SGMII), poll = hf068
4. CFG1 (h0009) <--- h1b00 (or h0300), the poll = h1b00.( show ability).
5. CFG3 (h001E) <--- hcb02, the poll = hcb02.
6. BISCR (h0016) <--- h0. (but here I set the digital loopback - everything works, ie. the data is returned.
7. RGMIICTL (h0032) <--- h00d3, the poll = h00d3, (RGMII ENABLE).
8. RGMIIDCTL
9. CTRL (h001f) <--- h4000 (soft restart).
Further I read BMSR (h0001), PHYSTS (H0011), STS2 (h0017) - everything is fine.
but I read STS1 (h000A) and get 0.
what's wrong?

with regards

Sergey

  • excuse me,
    when I write down everything that I indicated, then I read
    STS1 (h000A) and get h4000.
    0 was for other values.
  • I also tried the analog loopback mode. the data is returned.
    but I can not connect to a remote computer.
  • Hello Sergey,

    What link partner are you using for running the test in the original post? Is it different than the remote connector you mention is the 3rd post?

    Does the PHY connect with the remote computer in default register configuration? The default configuration is as follows,

    Register address   Data

    0x00                       0x1140

    0x09                       0x0300

    0x10                       0x5048

    0x16                       0x0000

    -Regards,

    Aniruddha

  • Hello Aniruddha,

    The following is obtained. After programming, the links disappear. I removed the programming ie. remained default settings. But there is specified AUTO-NEGOTIATION ENABLE via Strap. Everything worked. And link, and communication with the computer. I checked only the mode of issuing to the computer.
    So it turns out that the error is present in the programming of registers.

    -Regards,

    Sergey.

  • Hi Sergey,

    I would recommend leaving auto-negotiation enabled. Autoneg is controlled through RX_CTRL and in this case RX_CTRL should be strapped to mode 3. Please refer to the datasheet strap table for more information.

    -Regards,
    Aniruddha

  • Hi Aniruddha,

    I left the auto-negotiation mode. Transmission delays are also generated through the strap. Now everything works.
    but I would like to understand what is wrong with programming.

    -Regards,

    Sergey

  • Hi Sergey,

    By writing 0x0140 to register 0x00, the auto-negotiation was disabled. If the link partner is in auto-negotiation mode then this can result in no link. I would recommend leaving the PHY in auti-negotiation for 1G operation.

    -Regards,
    Aniruddha