i.MX RT1060 EVK Ethernet RMII Clock (Input Mode)

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

i.MX RT1060 EVK Ethernet RMII Clock (Input Mode)

ソリューションへジャンプ
1,322件の閲覧回数
accatpaliz
Contributor II

I am using RMII Interface to communicate with phy ic (lan8720).

enet example in sdk generates clock for enet phy (project: evkmimxrt1060_enet_txrx_transfer)

it is the code used in sdk for clock initialization:

void BOARD_InitModuleClock(void)
{
/* Set 50MHz output clock required by PHY. */
const clock_enet_pll_config_t config = {.enableClkOutput = true, .loopDivider = 1};
CLOCK_InitEnetPll(&config);

/* Output 50M clock to PHY. */
IOMUXC_EnableMode(IOMUXC_GPR, kIOMUXC_GPR_ENET1TxClkOutputDir, true);
}

now i want to use external 50MHz oscillator and share it between ethernet phy and mac.

i guess i need to change 

kIOMUXC_GPR_ENET1TxClkOutputDir   to   kIOMUXC_GPR_ENET1RefClkMode

but is it enough? or should i make other changes to use clock as mac input?

is there any example using clock as input i can referred to? (preferably with my lan8720 module or somewhat like it)

0 件の賞賛
返信
1 解決策
1,311件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) But is it enough? or should i make other changes to use clock as mac input?
-- Yes, further, it's unnecessary to configure the ref_enetpll actually.
2) Is there any example using clock as input i can referred to? (preferably with my lan8720 module or somewhat like it)
-- No.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,312件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) But is it enough? or should i make other changes to use clock as mac input?
-- Yes, further, it's unnecessary to configure the ref_enetpll actually.
2) Is there any example using clock as input i can referred to? (preferably with my lan8720 module or somewhat like it)
-- No.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信