S32K358 - GMAC Clock Configuration

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

S32K358 - GMAC Clock Configuration

Jump to solution
2,362 Views

Hi Everyone,

I have a few questions regarding the GMAC clocking configuration.

In my setup, PTB3 is configured as an output pin for RGMII_TXCLK, and PTC16 is configured as an input pin for RGMII_RXCLK. This configuration is confirmed from the attached Excel sheet.

According to the pin descriptions:

  • PTB3 can function as either an input or output for GMAC0_MII_RMII_RGMII_TX_CLK

             sathishkumar_sunmugavel_0-1760251864899.png

  • PTC16 can function as an input for GMAC0_MII_RGMII_RX_CLK.

             sathishkumar_sunmugavel_1-1760251936647.png

I am using the RGMII interface, which requires a 125 MHz clock input for both EMAC_CLK_RX and EMAC_CLK_TX. From my understanding, only EMAC_MII_RMII_TX_CLK can be used as the clock input.

If this understanding is incorrect, please clarify how these two clocks should be provided.

  • EMAC_MII_RMII_TX_CLK → MC_CGM_MUX7 → EMAC_CLK_RX

  • EMAC_MII_RMII_TX_CLK → MC_CGM_MUX8 → EMAC_CLK_TX

sathishkumar_sunmugavel_2-1760252344261.png

 

Up to this point, everything is clear. However, the table below is a bit confusing as it lists the source, destination clock, and port details.

  1. The IBE bit is set for all the listed ports — could you please explain what this indicates?

  2. PTC16 appears to be used between GMAC_MII_RGMII_RX_CLK and GMAC_TS_CLK but I used PTC16 as RGMII Rx clock pin — could you clarify this connection?

  3. Based on my understanding, PTB3 and PTC16 can be used as the RGMII Tx/Rx clock pins connected to the PHY. Additionally, the clock source EMAC_MII_RMII_TX_CLK is internally connected to EMAC_CLK_RX and EMAC_CLK_TX through MUX7 and MUX8, respectively. However, the information in the table seems inconsistent with this understanding — could you please clarify?

    sathishkumar_sunmugavel_3-1760253362178.png

     

Best Regards,
Sathish.

Tags (3)
0 Kudos
Reply
1 Solution
2,312 Views
PavelL
NXP Employee
NXP Employee

Hello @sathishkumar_sunmugavel ,

Please find answers to your questions below. FYI, you use S32K3 RM Rev 6, the latest one is Rev. 11.

I run successfully RGMII 100Mbps on S32K358EVB-Q289, with external TJA1103 on SABRE connector.

1. Here's screenshot of Pins:

PavelL_0-1760353715569.png

2. Clocks can be tricky a little bit. RGMII TX_CLK shall be an output, RGMII RX_CLK shall be an input. There's an internal divider 2, so TX_CLK need to be doubled. 

PavelL_1-1760353859390.png

For GMAC 1Gbps change the clocks accordingly: 25MHz -> 125MHz ; 50MHz -> 250MHz

3. And the last point, it's necessary to set up clock muxes also in your code, before gmac init. I do it usually as the very first rows in the code:

PavelL_2-1760354079287.png

I do not use Table 116 (in RM Rev 6).

Best regards,

Pavel

View solution in original post

0 Kudos
Reply
5 Replies
2,313 Views
PavelL
NXP Employee
NXP Employee

Hello @sathishkumar_sunmugavel ,

Please find answers to your questions below. FYI, you use S32K3 RM Rev 6, the latest one is Rev. 11.

I run successfully RGMII 100Mbps on S32K358EVB-Q289, with external TJA1103 on SABRE connector.

1. Here's screenshot of Pins:

PavelL_0-1760353715569.png

2. Clocks can be tricky a little bit. RGMII TX_CLK shall be an output, RGMII RX_CLK shall be an input. There's an internal divider 2, so TX_CLK need to be doubled. 

PavelL_1-1760353859390.png

For GMAC 1Gbps change the clocks accordingly: 25MHz -> 125MHz ; 50MHz -> 250MHz

3. And the last point, it's necessary to set up clock muxes also in your code, before gmac init. I do it usually as the very first rows in the code:

PavelL_2-1760354079287.png

I do not use Table 116 (in RM Rev 6).

Best regards,

Pavel

0 Kudos
Reply
2,291 Views

Hi @PavelL 

Thank you so much for the valuable inputs. The issue is resolved after adding the below line. 

IP_DCM_GPR->DCMRWF1|=DCM_GPR_DCMRWF1_MAC_CONF_SEL(0x01) |DCM_GPR_DCMRWF1_MAC_TX_RMII_CLK_LPBCK_EN_MASK;
 
But could you please confirm why this tx clock loop back is required?

Best Regards,
Sathish.
0 Kudos
Reply
2,286 Views
PavelL
NXP Employee
NXP Employee

Hello @sathishkumar_sunmugavel ,

This is related to the GMAC IP from Synopsys.

This bit allows the MAC to internally loop back its own TX clock as the input clock - which is necessary to initialize MAC in RGMII mode.

Best regards,

Pavel

2,089 Views

Hi @PavelL 

Got it. Thanks!!!

0 Kudos
Reply
2,344 Views

There is no PHY in my setup. It's MAC-MAC connection. 

sathishkumar_sunmugavel_0-1760258913178.png


1. In that case, Do I need to consider this PHY_INTF_SEL signal input to GMAC module?
2. Can I use PLL_AUX_CLK with 125MHz for both CLK_TX_I and CLK_RX_I?
3. CLK_TX_I and CLK_RX_I are connected by internal muxing, and PTB3 should be configured as output from GMAC for RGMII TX_CLK and PTC16 should be configured as input to GMAC RGMII RX_CLK. Is this understanding, correct?

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2184368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K358%20-%20GMAC%20Clock%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Everyone%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20few%20questions%20regarding%20the%20GMAC%20clocking%20configuration.%3C%2FP%3E%3CP%3EIn%20my%20setup%2C%20%3CSTRONG%3EPTB3%3C%2FSTRONG%3E%20is%20configured%20as%20an%20%3CSTRONG%3Eoutput%20pin%3C%2FSTRONG%3E%20for%20%3CSTRONG%3ERGMII_TXCLK%3C%2FSTRONG%3E%2C%20and%20%3CSTRONG%3EPTC16%3C%2FSTRONG%3E%20is%20configured%20as%20an%20%3CSTRONG%3Einput%20pin%3C%2FSTRONG%3E%20for%20%3CSTRONG%3ERGMII_RXCLK%3C%2FSTRONG%3E.%20This%20configuration%20is%20confirmed%20from%20the%20attached%20Excel%20sheet.%3C%2FP%3E%3CP%3EAccording%20to%20the%20pin%20descriptions%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSTRONG%3EPTB3%3C%2FSTRONG%3E%20can%20function%20as%20either%20an%20%3CSTRONG%3Einput%20or%20output%3C%2FSTRONG%3E%20for%20%3CSTRONG%3EGMAC0_MII_RMII_RGMII_TX_CLK%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sathishkumar_sunmugavel_0-1760251864899.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sathishkumar_sunmugavel_0-1760251864899.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360377i3A61F8898F5380B3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22sathishkumar_sunmugavel_0-1760251864899.png%22%20alt%3D%22sathishkumar_sunmugavel_0-1760251864899.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EPTC16%3C%2FSTRONG%3E%20can%20function%20as%20an%20%3CSTRONG%3Einput%3C%2FSTRONG%3E%20for%20%3CSTRONG%3EGMAC0_MII_RGMII_RX_CLK%3C%2FSTRONG%3E.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sathishkumar_sunmugavel_1-1760251936647.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sathishkumar_sunmugavel_1-1760251936647.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360378i1E01BB4DDC027BCB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22sathishkumar_sunmugavel_1-1760251936647.png%22%20alt%3D%22sathishkumar_sunmugavel_1-1760251936647.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20am%20using%20the%20%3CSTRONG%3ERGMII%20interface%3C%2FSTRONG%3E%2C%20which%20requires%20a%20%3CSTRONG%3E125%20MHz%20clock%20input%3C%2FSTRONG%3E%20for%20both%20%3CSTRONG%3EEMAC_CLK_RX%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EEMAC_CLK_TX%3C%2FSTRONG%3E.%26nbsp%3BFrom%20my%20understanding%2C%20only%20%3CSTRONG%3EEMAC_MII_RMII_TX_CLK%3C%2FSTRONG%3E%20can%20be%20used%20as%20the%20clock%20input.%3C%2FP%3E%3CP%3EIf%20this%20understanding%20is%20incorrect%2C%20please%20clarify%20how%20these%20two%20clocks%20should%20be%20provided.%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSTRONG%3EEMAC_MII_RMII_TX_CLK%20%E2%86%92%20MC_CGM_MUX7%20%E2%86%92%20EMAC_CLK_RX%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EEMAC_MII_RMII_TX_CLK%20%E2%86%92%20MC_CGM_MUX8%20%E2%86%92%20EMAC_CLK_TX%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sathishkumar_sunmugavel_2-1760252344261.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sathishkumar_sunmugavel_2-1760252344261.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360379iFCBDDEE7982F76C5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22sathishkumar_sunmugavel_2-1760252344261.png%22%20alt%3D%22sathishkumar_sunmugavel_2-1760252344261.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EUp%20to%20this%20point%2C%20everything%20is%20clear.%20However%2C%20the%20table%20below%20is%20a%20bit%20confusing%20as%20it%20lists%20the%20source%2C%20destination%20clock%2C%20and%20port%20details.%3C%2FP%3E%3COL%3E%3CLI%3E%3CP%3EThe%20%3CSTRONG%3EIBE%20bit%3C%2FSTRONG%3E%20is%20set%20for%20all%20the%20listed%20ports%20%E2%80%94%20could%20you%20please%20explain%20what%20this%20indicates%3F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSTRONG%3EPTC16%3C%2FSTRONG%3E%20appears%20to%20be%20used%20between%20%3CSTRONG%3EGMAC_MII_RGMII_RX_CLK%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EGMAC_TS_CLK%26nbsp%3B%3C%2FSTRONG%3Ebut%20I%20used%20PTC16%20as%20RGMII%20Rx%20clock%20pin%26nbsp%3B%3CSPAN%3E%E2%80%94%20could%20you%20clarify%20this%20connection%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EBased%20on%20my%20understanding%2C%20%3CSTRONG%3EPTB3%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EPTC16%3C%2FSTRONG%3E%26nbsp%3Bcan%20be%20used%20as%20the%20%3CSTRONG%3ERGMII%20Tx%2FRx%20clock%20pins%3C%2FSTRONG%3E%20connected%20to%20the%20PHY.%26nbsp%3BAdditionally%2C%20the%20clock%20source%20%3CSTRONG%3EEMAC_MII_RMII_TX_CLK%3C%2FSTRONG%3E%20is%20internally%20connected%20to%20%3CSTRONG%3EEMAC_CLK_RX%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EEMAC_CLK_TX%3C%2FSTRONG%3E%20through%20%3CSTRONG%3EMUX7%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EMUX8%3C%2FSTRONG%3E%2C%20respectively.%26nbsp%3BHowever%2C%20the%20information%20in%20the%20table%20seems%20inconsistent%20with%20this%20understanding%20%E2%80%94%20could%20you%20please%20clarify%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sathishkumar_sunmugavel_3-1760253362178.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sathishkumar_sunmugavel_3-1760253362178.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360380i83E483A9736F5D2D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22sathishkumar_sunmugavel_3-1760253362178.png%22%20alt%3D%22sathishkumar_sunmugavel_3-1760253362178.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EBest%20Regards%2C%3CBR%20%2F%3ESathish.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2197202%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K358%20-%20GMAC%20Clock%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2197202%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233505%22%20target%3D%22_blank%22%3E%40PavelL%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EGot%20it.%20Thanks!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2185378%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K358%20-%20GMAC%20Clock%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2185378%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248322%22%20target%3D%22_blank%22%3E%40sathishkumar_sunmugavel%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThis%20is%20related%20to%20the%20GMAC%20IP%20from%20Synopsys.%3C%2FP%3E%0A%3CP%3EThis%20bit%20allows%20the%20MAC%20to%20internally%20loop%20back%20its%20own%20TX%20clock%20as%20the%20input%20clock%20-%20which%20is%20necessary%20to%20initialize%20MAC%20in%20RGMII%20mode.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2185319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K358%20-%20GMAC%20Clock%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2185319%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233505%22%20target%3D%22_blank%22%3E%40PavelL%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20so%20much%20for%20the%20valuable%20inputs.%20The%20issue%20is%20resolved%20after%20adding%20the%20below%20line.%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CEM%3EIP_DCM_GPR-%26gt%3BDCMRWF1%7C%3DDCM_GPR_DCMRWF1_MAC_CONF_SEL(0x01)%20%7CDCM_GPR_DCMRWF1_MAC_TX_RMII_CLK_LPBCK_EN_MASK%3B%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EBut%20could%20you%20please%20confirm%20why%20this%20tx%20clock%20loop%20back%20is%20required%3F%3CEM%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FEM%3EBest%20Regards%2C%3CBR%20%2F%3ESathish.%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184820%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K358%20-%20GMAC%20Clock%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184820%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248322%22%20target%3D%22_blank%22%3E%40sathishkumar_sunmugavel%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EPlease%20find%20answers%20to%20your%20questions%20below.%20FYI%2C%20you%20use%20S32K3%20RM%20Rev%206%2C%20the%20latest%20one%20is%20Rev.%2011.%3C%2FP%3E%0A%3CP%3EI%20run%20successfully%20RGMII%20100Mbps%20on%26nbsp%3BS32K358EVB-Q289%2C%20with%20external%20TJA1103%20on%20SABRE%20connector.%3C%2FP%3E%0A%3CP%3E1.%20Here's%20screenshot%20of%20Pins%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PavelL_0-1760353715569.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PavelL_0-1760353715569.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360468i5449985CA62CB5CF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PavelL_0-1760353715569.png%22%20alt%3D%22PavelL_0-1760353715569.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E2.%20Clocks%20can%20be%20tricky%20a%20little%20bit.%20RGMII%20TX_CLK%20shall%20be%20an%20output%2C%20RGMII%20RX_CLK%20shall%20be%20an%20input.%26nbsp%3BThere's%20an%20internal%20divider%202%2C%20so%20TX_CLK%20need%20to%20be%20doubled.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PavelL_1-1760353859390.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PavelL_1-1760353859390.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360470iEB29310FB9DAF58E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PavelL_1-1760353859390.png%22%20alt%3D%22PavelL_1-1760353859390.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFor%20GMAC%201Gbps%20change%20the%20clocks%20accordingly%3A%2025MHz%20-%26gt%3B%20125MHz%20%3B%2050MHz%20-%26gt%3B%20250MHz%3C%2FP%3E%0A%3CP%3E3.%20And%20the%20last%20point%2C%20it's%20necessary%20to%20set%20up%20clock%20muxes%20also%20in%20your%20code%2C%20before%20gmac%20init.%20I%20do%20it%20usually%20as%20the%20very%20first%20rows%20in%20the%20code%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PavelL_2-1760354079287.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PavelL_2-1760354079287.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360471iA68264F3D32428BC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PavelL_2-1760354079287.png%22%20alt%3D%22PavelL_2-1760354079287.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20do%20not%20use%20Table%20116%20(in%20RM%20Rev%206).%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184375%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K358%20-%20GMAC%20Clock%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184375%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThere%20is%20no%20PHY%20in%20my%20setup.%20It's%20MAC-MAC%20connection.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sathishkumar_sunmugavel_0-1760258913178.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sathishkumar_sunmugavel_0-1760258913178.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360382i3D022D8CA9324A73%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22sathishkumar_sunmugavel_0-1760258913178.png%22%20alt%3D%22sathishkumar_sunmugavel_0-1760258913178.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E1.%20In%20that%20case%2C%20Do%20I%20need%20to%20consider%20this%26nbsp%3BPHY_INTF_SEL%20signal%20input%20to%20GMAC%20module%3F%3CBR%20%2F%3E2.%20Can%20I%20use%26nbsp%3BPLL_AUX_CLK%20with%20125MHz%20for%20both%26nbsp%3BCLK_TX_I%20and%26nbsp%3BCLK_RX_I%3F%3CBR%20%2F%3E3.%20CLK_TX_I%20and%26nbsp%3BCLK_RX_I%20are%20connected%20by%20internal%20muxing%2C%20and%20PTB3%20should%20be%20configured%20as%20output%20from%20GMAC%20for%20RGMII%20TX_CLK%20and%20PTC16%20should%20be%20configured%20as%20input%20to%20GMAC%20RGMII%20RX_CLK.%20Is%20this%20understanding%2C%20correct%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E