using the PTP-1588 Timing feature on the MX6 : GPIO_16

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

using the PTP-1588 Timing feature on the MX6 : GPIO_16

493 Views
chengshiunlee
Contributor I

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>

0 Kudos
1 Reply

362 Views
Yuri
NXP Employee
NXP Employee

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 :

imx6qdl-microsom-ar8035.dtsi\dts\boot\arm\arch - kernel/git/next/linux-next.git - The linux-next int... 

Have a great day,
Yuri

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

0 Kudos