How to dirve an external PHY in SJA1110?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to dirve an external PHY in SJA1110?

280 Views
Alex_mjl
Contributor II

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:

Alex_mjl_0-1704173236325.png

    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'):

Alex_mjl_1-1704173685755.pngAlex_mjl_2-1704173731988.png

    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?

0 Kudos
1 Reply

254 Views
Sabeur
NXP Employee
NXP Employee

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).

Sabeur_1-1704363881372.png

Let me know if you still have any questions.

 

regards,

Sabeur

 

 

0 Kudos