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.

DP83865 Software Reset issue

Other Parts Discussed in Thread: DP83865

HI,


First Iam new to Ethernet phy world, my question might be basic for you. Iam trying to reset the DP83865 by writing 1 to bit 15 in the BMCR and wait until that bit clears it self. When done the BMSR bit 2 reads 1 regardless of how many times I read it. Reg 0x11 reads 0x418 after the software reset indicating no link. My question is why the BMSR indicates there is a good link and LINK_AN says there is no link? what is the correct sequence for software reset?

Thank you,

P.S:

Here is a registers dump for before and after the reset:

Before:

[0]: 0x1000
[0x1]: 0x796d
[0x2]: 0x2000
[0x3]: 0x5c7a
[0x4]: 0x1e1
[0x5]: 0xc1e1
[0x6]: 0xd
[0x7]: 0x1
[0x8]: 0x4bf3
[0x9]: 0x300
[0xa]: 0x3c00
[0xf]: 0x3000
[0x10]: 0xc442
[0x11]: 0x36
[0x12]: 0xb200
[0x13]: 0x1
[0x14]: 0
[0x15]: 0
[0x16]: 0
[0x17]: 0
[0x18]: 0x66
[0x19]: 0
[0x1a]: 0x8000
[0x1d]: 0x8000
[0x1e]: 0x34
[0x1f]: 0x2

After:

[0]: 0x1000
[0x1]: 0x794d
[0x2]: 0x2000
[0x3]: 0x5c7a
[0x4]: 0x1e1
[0x5]: 0
[0x6]: 0x4
[0x7]: 0x1
[0x8]: 0
[0x9]: 0x300
[0xa]: 0
[0xf]: 0x3000
[0x10]: 0xc442
[0x11]: 0x418
[0x12]: 0xb200
[0x13]: 0x1
[0x14]: 0
[0x15]: 0
[0x16]: 0
[0x17]: 0
[0x18]: 0
[0x19]: 0
[0x1a]: 0
[0x1d]: 0
[0x1e]: 0x34
[0x1f]: 0x2

  • Let's see if we can simplify the setup. To start with, let's test the link with Non-Compliant Mode disabled.

    If you want to test this with the software reset, you will need to change the strap on the board. If you would prefer to leave the strap value for now, you can clear bit 9 of the Auxiliary Control Register (AUX_CTRL) address 0x12 (18’d) and re-start Auto-Negotiation by writing 0x1200 to the Basic Mode Control Register (BMCR) address 0x00.

    Patrick