25MHz reference clock output from ENET0 block of iMX8XL/DXL

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

25MHz reference clock output from ENET0 block of iMX8XL/DXL

806件の閲覧回数
chirag_patel1
Contributor I

Hello, we want to get rid of 25MHz PHY crystal and wondering if

-- iMX8XL/DXL can output this reference clock to inject into XI pin of the PHY.

-- What pin would this clock output be available on?

--  What Alternate function enables this function?

--  How to set this output clk freq to 25MHz? (PLL multiplier/divider values, register address)

Thanks in advance!

0 件の賞賛
返信
1 返信

739件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

The pin is ENET0_REFCLK_125M_25M.

Please refer to NXP released BSP, there is SC_P_ENET0_REFCLK_125M_25M_CONN_ENET0_REFCLK_125M_25M. We do not use this by default, but it is included in the code.

Please set IOMUX for SC_P_ENET0_REFCLK_125M_25M_CONN_ENET0_REFCLK_125M_25M.

Then use the following SCFW API function call to enable the 25MHz clock output on that pin:

 

sc_misc_set_control(ipc, SC_R_ENET_0, SC_C_SEL_125, 0);  // 0=25Mhz, 1=125MHz

sc_misc_set_control(ipc, SC_R_ENET_0, SC_C_DISABLE_125, 0); 

0 件の賞賛
返信