Hi,
We are using Mavell PHY 88E1112 in P1021 Customized board. 88E1112 has two shared interface, one is using to connect Copper and another one to connect SFP. Both interface are connecting to MAC via SGMII port. Copper interface and SFP interface is failed to detect any link on fiber or copper SFP module. But we are able read and write the PHY registers via MDC.MDIO bus.
Can any one share details about How to establish the PHY link and how to debug if link not succeeded .
Regards,
Brahmam.
Hi,
There is initialization steps in P1021RM.pdf, read section 15.13.1.4 SGMII Interface support. You could also refer to AN3869 Implementing SGMII interfaces on the PowerQUICC III:
For SGMII, please pay attention to below note in reference manual:
SGMII mode utilizes the internal TBI PHY. The internal TBI
PHY only auto-negotiates at 1 Gbps. However, 10 Mbps and
100 Mbps speeds are supported in SGMII mode. It is
recommended that the external PHY inform the MAC if the
desired link speed is not 1 Gbps. Software can perform MII
management cycles to determine the external PHY link speed
and program ECNTRL and MACCFG2 accordingly.
May I ask if the link failure is detected on 88E1112 side?
Have a great day,
Lunmin
Hi luminliang,
Thanks for your reply,
Link failure at PHY 88E1112 side. We're able read and Initialize the PHY using MDC/MDIO bus.
Regards,
Brahmam.