2367133_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2367133_en-US

2367133_en-US

MDIO APIs in S32k344 RTD?

Hi there,

My custom board connects S32K344 EMAC's MDIO to SJA1110's SMI_AP interface. I'd like to configure SJA1110's internal 100BASE-T1 PHYs through MDIO interface, but I couldn't find any MDIO read/write APIs in real-time driver package. Can you tell me where those APIs are?

Thanks,

Charles

Re: MDIO APIs in S32k344 RTD?

Hello @cmnxp ,

The MDIO access APIs are available in the S32K3 RTD, but they are provided under the GMAC driver rather than as a separate standalone MDIO module. In the GMAC RTD API, the relevant functions are Gmac_Ip_MDIOWrite() and Gmac_Ip_MDIORead().

For your specific use case with SJA1110 SMI_AP, please note that the internal 100BASE-T1 PHY subsystem is managed through a Clause 45 register map, so you will typically need the Clause 45 APIs - Gmac_Ip_MDIOReadMMD(), Gmac_Ip_MDIOWriteMMD().

Best regards,

Pavel

Re: MDIO APIs in S32k344 RTD?

Hello @cmnxp ,

Yes, there's usually one SMI interface per EMAC/GMAC.

Best regards,

Pavel

Re: MDIO APIs in S32k344 RTD?

Hi Pavel,

Thanks for your quick reply. So that means S32K344 only has one MDIO interface which is used for both EMAC and GMAC, correct?

Regards,

Charles

タグ(1)
評価なし
バージョン履歴
最終更新日:
水曜日
更新者: