Hi Yuri,
How to set the gpio pin, and make the timestamp count?
I used "echo 1 > /gpio/pin16/value" command, but it shows the error message
"echo write error operation not permitted". My device still catch the same
timestamp message again and again.
Thanks for your helping.
Best regard,
Jeffrey
2017-05-24 13:15 GMT+08:00 Yuri <admin@community.nxp.com>:
NXP Community
<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
Re: using the PTP-1588 Timing feature on the MX6
reply from Yuri Muhin
<https://community.nxp.com/people/Yuri?et=watches.email.thread> in *i.MX
Community* - View the full discussion
<https://community.nxp.com/message/908226?commentID=908226&et=watches.email.thread#comment-908226>
Hello,
GPIO_16 for IEEE-1588 timestamp operation may be configured in device tree section.
Below is example, when it is used as external clock source ENET_REF_CLK :
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------