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