GMAC0_MII_RMII_RGMII_MDC

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

GMAC0_MII_RMII_RGMII_MDC

1,121件の閲覧回数
myehiash
Contributor I

On S32K388 How to configure the MDC?

and for the following function:

Std_ReturnType Eth_43_GMAC_ReadMmd ( \
                              uint8 CtrlIdx,\
                              uint8 TrcvIdx, \
                              uint8 Mmd, \
                              uint16 RegAddress,\
                              uint16 *RegValPtr
                           )
We need support on how to use it and more detailed description for the parameters. 

0 件の賞賛
返信
1 返信

1,062件の閲覧回数
Nhi_Nguyen
NXP Employee
NXP Employee

Hi @myehiash ,

For current status, we just can connect to PHY through pin strapping for S32K388 board

Nhi_Nguyen_0-1709791829169.pngNhi_Nguyen_1-1709791870762.pngNhi_Nguyen_2-1709791897215.png

After that, PHY is in RGMII, 1Gbps.

To configure MDC, you just need to configure pin MDC as output. Clock provided from GMAC through this pin.

For the function Eth_43_GMAC_ReadMmd to support PHY transceiver support clause 45. You can read this information in PHY datasheet, like:

Nhi_Nguyen_3-1709792170093.pngNhi_Nguyen_4-1709792192559.png

Description of parameters:

- CtrlIdx: ETH controller index

- TrcvIdx: PHY transceiver's address.

- Mmd:  1 (MMD1),  3 (MMD3), 30 (MMD30)

RegAddress: address of register that you want to write or read. You can read this value in datasheet.

- *RegValPtr : store value read from PHY.

 

Best regards,

Nhi

0 件の賞賛
返信