Hi NXP Community,
I want to dirve an external PHY via SJA1110. The SMI interface of the PHY is connected to the S32G, and the SGMII interface of the PHY is connect to the SJA1110. As shown in the following figure:
So the PHY driver is in the S32G. Confirm by the dump PHY register:
1.The PHY is in link up state.
2.The PHY works in fixed 1000M, full duplex mode.
3.The PHY's SGMII control register indicates SGMII is link down.
I did the following configuration on the SJA1110 side(SJA1110 project use 'switch_config_s32g_vnp_rdb'):
But now the SGMII interface between SJA1110 and PHY is not communicating successfully. I would like to confirm the following:
1.Whether the connection topology is faulty?
2.How can I modify SJA1110 if it is not faulty?
Hi @Alex_mjl,
The connection topology looks fine - however, is there a reason of connecting SMI to S32G ? It could be connected to the SJA1110 and you will have access to Phy registers from the SJA1110.
Regarding the configuration in the SJA1110, I see some wrong settings the phy config structure - if your pin strappings are correct you need only to configure the internal SGMII of SJA1110 (as attached).
Let me know if you still have any questions.
regards,
Sabeur