S32K388 RMII Reference Clock

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

S32K388 RMII Reference Clock

Jump to solution
1,868 Views
javivalero
Contributor I

Good Morning, 

I have an issue with the S32K388 on the RMII interface of a custom board. 

The S32K388 is setup as the MAC and is connected to a PHY. 

The issue is related with 50MHz reference clock because I want to generate it internally and send it to the PHY using the gmac1_mii_rmii_rgmii_tx_clk pin. All the examples that I have found use an external crystal oscillator (ex. S32K324 MII mode - NXP Community) but I think it is not necessarily required after reading this in the RM:

javivalero_0-1731062915303.png

I wasn't able to find in the RM how achieve it. 

Any help would be appreciated!

Thanks in advance!

 

0 Kudos
Reply
1 Solution
1,755 Views
PavelL
NXP Employee
NXP Employee

Hi @javivalero ,

In theory, it is possible to generate the clock reference from the internal PLL and connect it to the gmac1_mii_rmii_rgmii_tx_clk (PTC1) pin. However this was thought for RGMII mode, not RMII.

Best regards,

Pavel

View solution in original post

0 Kudos
Reply
2 Replies
1,756 Views
PavelL
NXP Employee
NXP Employee

Hi @javivalero ,

In theory, it is possible to generate the clock reference from the internal PLL and connect it to the gmac1_mii_rmii_rgmii_tx_clk (PTC1) pin. However this was thought for RGMII mode, not RMII.

Best regards,

Pavel

0 Kudos
Reply
1,776 Views
PavelL
NXP Employee
NXP Employee

Hi @javivalero ,

what PHY are you using? Could you shared schematic of your board?

Best regards,

Pavel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1991074%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K388%20RMII%20Reference%20Clock%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1991074%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EGood%20Morning%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20an%20issue%20with%20the%20S32K388%20on%20the%20RMII%20interface%20of%20a%20custom%20board.%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20S32K388%20is%20setup%20as%20the%20MAC%20and%20is%20connected%20to%20a%20PHY.%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20issue%20is%20related%20with%20%3CSTRONG%3E50MHz%20reference%20clock%3C%2FSTRONG%3E%20because%20I%20want%20to%20generate%20it%20internally%20and%20send%20it%20to%20the%20PHY%20using%20the%20%3CSTRONG%3Egmac1_mii_rmii_rgmii_tx_clk%26nbsp%3B%3C%2FSTRONG%3Epin.%20All%20the%20examples%20that%20I%20have%20found%20use%20an%20external%20crystal%20oscillator%20(ex.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K324-MII-mode%2Fm-p%2F1694886%22%20target%3D%22_blank%22%3ES32K324%20MII%20mode%20-%20NXP%20Community)%3C%2FA%3E%26nbsp%3Bbut%20I%20think%20it%20is%20not%20necessarily%20required%20after%20reading%20this%20in%20the%20RM%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22javivalero_0-1731062915303.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22javivalero_0-1731062915303.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F309438i0EF0A9189AD2A2D8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22javivalero_0-1731062915303.png%22%20alt%3D%22javivalero_0-1731062915303.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20wasn't%20able%20to%20find%20in%20the%20RM%20how%20achieve%20it.%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated!%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1995242%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K388%20RMII%20Reference%20Clock%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1995242%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%2F243093%22%20target%3D%22_blank%22%3E%40javivalero%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20theory%2C%20it%20is%20possible%20to%20generate%20the%20clock%20reference%20from%20the%20internal%20PLL%20and%20connect%20it%20to%20the%20gmac1_mii_rmii_rgmii_tx_clk%20(PTC1)%20pin.%20However%20this%20was%20thought%20for%20RGMII%20mode%2C%20not%20RMII.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPavel%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K388%20RMII%20Reference%20Clock%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992663%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%2F243093%22%20target%3D%22_blank%22%3E%40javivalero%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3Ewhat%20PHY%20are%20you%20using%3F%20Could%20you%20shared%20schematic%20of%20your%20board%3F%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E