PTP clock source on RT106x

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

PTP clock source on RT106x

540件の閲覧回数
glaukos
Contributor II

Hi there,

 

I am trying to implement PTP on a RT1064. Chapter 41 on the 10/100-Mbps Ethernet MAC (ENET) of the RT1064 Reference Manual suggests that the adjustable timer module can be clocked with various frequencies.

By default, the adjustable timer module is clocked by a 25MHz clock. This gives a resolution of 40ns. I would like to clock the adjustable timer module with a higher frequency, to achieve a greater resolution and therefore higher accuracy.

I suspect that currently the adjustable timer module is clocked from the ENET_25M_REF_CLK. Is it possible to change the source clock of the adjustable timer module? I have not found anything on it in the Reference Manual.

Thank you for your help.

ラベル(1)
タグ(4)
3 返答(返信)

487件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

 

You can use config tools to change the frequency and source of ref clock.

Omar_Anguiano_0-1721693367687.png

Best regards,
Omar

 

0 件の賞賛
返信

476件の閲覧回数
glaukos
Contributor II

Hello Omar,

 

thank you for your reply.

If I understand you correctly, you recommend changing ENET_REF_CLK to achieve a higher frequency adjustable timer module. However, my observation is that the adjustable timer module is clocked from ENET_25M_REF_CLK, not ENET_REF_CLK. Changing ENET_REF_CLK has therefore no effect on the adjustable timer module. ENET_25M_REF_CLK is fixed to 25MHz and cannot be changed.

If you know how to change the source of the adjustable timer module from ENET_25M_REF_CLK to ENET_REF_CLK or ENET_125M_CLK, please let me know.

 

Kind regards

 

0 件の賞賛
返信

446件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

You can use another clock source for Enet_ref such as the 125Hz source wich frequency can be updated. To do that please use Config tool in MCUXPresso. 

Best regards,
Omar

0 件の賞賛
返信