ENET_TCCR0 not giving timer capture

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

ENET_TCCR0 not giving timer capture

560 Views
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

Labels (3)
0 Kudos
1 Reply

445 Views
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 Kudos