ENET_TCCR0 not giving timer capture

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

ENET_TCCR0 not giving timer capture

897件の閲覧回数
hasanmahmood513
Contributor I

Hi,
I want to use the hardware timestamps to sync my 1588 clock with the 1pps clock from the gps. I am trying to get the hardware timestamps of 1588. I am using ENET1_EVENT0_IN. I configured the pinmux to the ALT4 function of EVENT0_IN. I configured the TCSR0 register for input capture. As far as I understand from the reference manual, when I read the ENET_TCCR0 register it should give me the timer timestamp right ? Or is there something I am missing ?

The 1 pps signal is also connected with the ENET1_EVENT0_IN and is working perfectly. Any help would be greatly appreciated.

Regards,
Hasan

ラベル(3)
0 件の賞賛
返信
1 返信

782件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Hasan

may be helpful to look at

How to get IEEE 1588 1PPS on i.MX6Q? 

unit test and sect.4.3 ENET IEEE-1588 attached Linux Manual

FSL-UT-IEEE1588-001.txt\doc\misc\test - imx-test - i.MX Driver Test Application Software 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信