i.MX6 SoloX: Reading and piloting the PTP Hardware Clock (PHC)

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

i.MX6 SoloX: Reading and piloting the PTP Hardware Clock (PHC)

跳至解决方案
1,644 次查看
xav
Contributor II

Hi,

I'm in the planning stage of my project, and it seems the i.MX6 SoloX would fit the bill perfectly.

But I would need two things:

- being able to retrieve the clock signal from the PHC on INET1

- (optionally) being able to pilot the the PHC on INET2 from an external clock

From the datasheet 1588_EVENT1OUT and friends seem to do what I want, but I couldn't find some documentation on how to use them, and a google search didn't show anything else than that datasheet. Could somebody helpfully point me at the relevant doc ?

Thanks,

     Xav

标签 (1)
标记 (3)
0 项奖励
1 解答
1,235 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Xavier

one can look at sect.24.6.10 IEEE 1588 functions

i.MX6SX Reference Manual (rev.0  2/2015)

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SXRM.pdf

and attached Linux Manual Chapter 46 ENET IEEE-1588 Driver.

software example in imx-test-3.14.28-1.0.0 .. /misc/doc/FSL-UT-IEEE1588-001.txt :

http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.14.28-1.0.0/

IXXAT [Evaluation Kits for IEEE1588]

Best regards

igor

在原帖中查看解决方案

3 回复数
1,236 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Xavier

one can look at sect.24.6.10 IEEE 1588 functions

i.MX6SX Reference Manual (rev.0  2/2015)

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SXRM.pdf

and attached Linux Manual Chapter 46 ENET IEEE-1588 Driver.

software example in imx-test-3.14.28-1.0.0 .. /misc/doc/FSL-UT-IEEE1588-001.txt :

http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.14.28-1.0.0/

IXXAT [Evaluation Kits for IEEE1588]

Best regards

igor

1,235 次查看
pengjing918
Contributor II

FSL-UT-IEEE1588-001.txt

Run the IXXX stack: ./ptp_main -d -o -m -l -w -z

There is no ./ptp_main executable or source code in imx-test-3.14.28-1.0.0.tar.gz

IXXAT [Evaluation Kits for IEEE1588] This link cannot be downloaded, prompting the following error:
   404 - File or directory not found

0 项奖励
1,235 次查看
xav
Contributor II

Thanks Igor, lots to read and it seems everything's in there.

0 项奖励