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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

712 次查看
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 项奖励
回复
1 回复

581 次查看
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 项奖励
回复