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

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

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

Jump to solution
2,078 Views
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

Labels (1)
Tags (3)
0 Kudos
Reply
1 Solution
1,669 Views
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

View solution in original post

3 Replies
1,670 Views
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,669 Views
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 Kudos
Reply
1,669 Views
xav
Contributor II

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

0 Kudos
Reply