Hello,

I am working on a project in which I want to implement IEEE 1588 PTP
Grandmaster.  I am using linuxptp to implement IEEE 1588. Below are the
details of my project.

PTP Grandmaster with GPS Receiver
Hardware:   AM335x ICEv2 kit

We have tested IEEE 1588 PTP as Grandmaster with hardware timestamping on
above-mentioned hardware. We have tried with below-mentioned ways

1) Using PRU's
2) Using CPTS Timer

We are getting pretty good results approx < 200ns Accuracy (With PPS) as a
Slave with above hardware and linuxptp but not getting the same accuracy as
PTP Grandmaster with the same Hardware.
We have applied below commands of linuxptp to implement IEEE 1588
Grandmaster.
1) Ran ptp4l in layer 2 P2P configuration.
ptp4l -i eth0 -2 - P -m
2) Run phc2sys with autoconfiguration.
phc2sys -a -r -r -m
3) Run phc2sys to synchronize CLOCK_REALTIME to /dev/pps0
phc2sys -d /dev/pps0 -m

As per my understanding to implement a Grandmaster we need to discipline
the PHC to GPS PPS (We have Ublox GPS with 1 PPS Out). We tried to use a
PPS-GPIO Linux driver, but the accuracy provided by this is very low in
microseconds.
Is there any way that I will get sub-microsecond accuracy.


Below are the Queries from my side

1) Is there any way we can discipline our PHC to GPS (PPS) with
sub-microsecond accuracy?
2) Is the hardware we are using is capable of disciplining PHC to GPS (PPS)
?
3) If it is not then what hardware do you suggest which can provide
nanosecond level of accuracy?

If any Hardware modification is required then we are ready to change the
Hardware and if required I will share the results for the same.

Your help will be highly appreciated.

Thanks & Regards,

*JAIRAJ SOLANKI*

Masibus Automation And Instrumentation Pvt. Ltd.
B-30, GIDC Electronics Estate, Sector - 25, Gandhinagar - 382044, Gujarat,
India.
L:+91 79 232 87 275 to 277 (Ext :246)
Email ID: jai...@masibus.com <http://mailto:jai...@masibus.com/>
W: www.masibus.com |    www.rhombusglobal.com |www.masibusuae.com
Masibus CIN – U32201GJ1987PTC009994


On Sat, Apr 4, 2020 at 1:01 PM Sandip Patel <san...@masibus.com> wrote:

> Seems ok
>
> On Sat, 4 Apr, 2020, 12:34 PM Jairaj Solanki, <jai...@masibus.com> wrote:
>
>> Hello,
>>
>> I am working on a project in which I want to implement IEEE 1588 PTP
>> Grandmaster.  I am using linuxptp to implement IEEE 1588. Below are the
>> details of my project
>>
>> PTP Grandmaster with GPS Receiver
>> Hardware:   AM335x ICEv2 kit
>>
>> We have tested IEEE 1588 PTP as Grandmaster with hardware timestamping on
>> above-mentioned hardware. We have tried with below-mentioned ways
>>
>> 1) Using PRU's
>> 2) Using CPTS Timer
>>
>> We are getting pretty good results approx < 200ns Accuracy (With PPS) as
>> a Slave with above hardware and linuxptp but not getting the same accuracy
>> as PTP Grandmaster with the same Hardware.
>> We have applied below commands of linuxptp to implement IEEE 1588
>> Grandmaster.
>> 1) Ran ptp4l in layer 2 P2P configuration.
>> ptp4l -i eth0 -2 - P -m
>> 2) Run phc2sys with autoconfiguration.
>> phc2sys -a -r -r -m
>> 3) Run phc2sys to synchronize CLOCK_REALTIME to /dev/pps0
>> phc2sys -d /dev/pps0 -m
>>
>> As per my understanding to implement a Grandmaster we need to discipline
>> the PHC to GPS PPS (We have Ublox GPS with 1 PPS Out). We tried to use a
>> PPS-GPIO Linux driver, but the accuracy provided by this is very low in
>> microseconds.
>> Is there any way that I will get sub-microsecond accuracy.
>>
>>
>> Below are the Queries from my side
>>
>> 1) Is there any way we can discipline our PHC to GPS (PPS) with
>> sub-microsecond accuracy?
>> 2) Is the hardware we are using is capable of disciplining PHC to GPS
>> (PPS) ?
>> 3) If it is not then what hardware do you suggest which can provide
>> nanosecond level of accuracy?
>>
>> If any Hardware modification is required then we are ready to change the
>> Hardware and if required I will share the results for the same.
>>
>> Your help will be highly appreciated.
>>
>> Thanks & Regards,
>>
>> *JAIRAJ SOLANKI*
>>
>> Masibus Automation And Instrumentation Pvt. Ltd.
>> B-30, GIDC Electronics Estate, Sector - 25, Gandhinagar - 382044,
>> Gujarat, India.
>> L:+91 79 232 87 275 to 277 (Ext :246)
>> Email ID: jai...@masibus.com <http://mailto:jai...@masibus.com/>
>> W: www.masibus.com |    www.rhombusglobal.com |www.masibusuae.com
>> Masibus CIN – U32201GJ1987PTC009994
>>
>>
>> On Sat, Apr 4, 2020 at 12:30 PM Sandip Patel <san...@masibus.com> wrote:
>>
>>> Just need to change in first line
>>>
>>>
>>> I am working on a project in which I want to implement IEEE 1588 PTP
>>> grand master
>>>
>>>
>>>
>>>
>>> On Sat, 4 Apr, 2020, 12:28 PM Jairaj Solanki, <jai...@masibus.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I am working on a project in which I want to implement IEEE 1588 PTP
>>>> protocol.  I am using linuxptp to implement IEEE 1588. Below are the
>>>> details of my project
>>>>
>>>> PTP Grandmaster with GPS Receiver
>>>> Hardware:   AM335x ICEv2 kit
>>>>
>>>> We have tested IEEE 1588 PTP as Grandmaster with hardware timestamping
>>>> on above mentioned hardware. We have tried with below mentioned ways
>>>>
>>>> 1) Using PRU's
>>>> 2) Using CPTS Timer
>>>>
>>>> We are getting pretty good results approx < 200ns Accuracy (With PPS)
>>>> as a Slave with above hardware and linuxptp but not getting the same
>>>> accuracy as PTP Grandmaster with the same Hardware.
>>>> We have applied below commands of linuxptp to implement IEEE 1588
>>>> Grandmaster.
>>>> 1) Ran ptp4l in layer 2 P2P configuration.
>>>> ptp4l -i eth0 -2 - P -m
>>>> 2) Run phc2sys with autoconfiguration.
>>>> phc2sys -a -r -r -m
>>>> 3) Run phc2sys to synchronize CLOCK_REALTIME to /dev/pps0
>>>> phc2sys -d /dev/pps0 -m
>>>>
>>>> As per my understanding to implement a Grandmaster we need to
>>>> discipline the PHC to GPS PPS (We have Ublox GPS with 1 PPS Out) . We tried
>>>> to use a PPS-GPIO Linux driver, but accuracy provided by this is very low
>>>> in microseconds.
>>>> Is there any way that I will get sub microsecond accuracy.
>>>>
>>>>
>>>> Below are the Queries from my side
>>>>
>>>> 1) Is there any way we can discipline our PHC to GPS (PPS) with
>>>> sub-microsecond accuracy?
>>>> 2) Is the hardware we are using is capable of disciplining PHC to GPS
>>>> (PPS) ?
>>>> 3) If it is not then what hardware do you suggest which can provide
>>>> nanosecond level of accuracy?
>>>>
>>>> If any Hardware modification is required then we are ready to change
>>>> the Hardware and if required i will share the results for the same.
>>>>
>>>> Your help will be highly appreciated.
>>>>
>>>> Thanks & Regards,
>>>>
>>>> *JAIRAJ SOLANKI*
>>>>
>>>> Masibus Automation And Instrumentation Pvt. Ltd.
>>>> B-30, GIDC Electronics Estate, Sector - 25, Gandhinagar - 382044,
>>>> Gujarat, India.
>>>> L:+91 79 232 87 275 to 277 (Ext :246)
>>>> Email ID: jai...@masibus.com <http://mailto:jai...@masibus.com/>
>>>> W: www.masibus.com |    www.rhombusglobal.com |www.masibusuae.com
>>>> Masibus CIN – U32201GJ1987PTC009994
>>>>
>>>>
>>>> On Sat, Apr 4, 2020 at 10:04 AM Harshil Thakkar <hars...@masibus.com>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am working on a project in which I want to implement IEEE 1588 PTP
>>>>> protocol.  I am using linuxptp to implement IEEE 1588. Below are the
>>>>> details of my project
>>>>>
>>>>> PTP Grandmaster with GPS Receiver
>>>>> Hardware:   AM335x ICEv2 kit
>>>>>
>>>>> We have tested IEEE 1588 PTP as Grandmaster with hardware timestamping
>>>>> on above mentioned hardware. We have tried with below mentioned ways
>>>>>
>>>>> 1) Using PRU's
>>>>> 2) Using CPTS Timer
>>>>>
>>>>> We are getting pretty good results approx < 200ns Accuracy (With PPS)
>>>>> as a Slave with above hardware and linuxptp but not getting the same
>>>>> accuracy as PTP Grandmaster with the same Hardware.
>>>>>
>>>>> We have applied below commands of linuxptp to implement IEEE 1588
>>>>> Grandmaster
>>>>>
>>>>>
>>>>>
>>>>> As per my understanding to implement a Grandmaster we need to
>>>>> discipline the PHC to GPS PPS (We have Ublox GPS with 1 PPS Out) . We 
>>>>> tried
>>>>> to use a PPS-GPIO Linux driver, but accuracy provided by this is very low
>>>>> in microseconds.
>>>>> Is there any way that I will get better accuracy then microsecond.
>>>>>
>>>>>
>>>>> Below are the Queries from my side
>>>>>
>>>>> 1) Is there any way we can discipline our PHC to GPS (PPS)?
>>>>> 2) Is the hardware we are using is capable of disciplining PHC to GPS
>>>>> (PPS) ?
>>>>> 3) If it is not then what hardware do you suggest  which can provide
>>>>> nanosecond level of accuracy?
>>>>>
>>>>> If any Hardware modification is required then we are ready to change
>>>>> the Hardware and if required i will share the results for the same.
>>>>>
>>>>> Your help will be highly appreciated.
>>>>>
>>>>> *Thank and Regards,*
>>>>> *Mr. Harshil Thakkar | Executive Engineer R & D*
>>>>> Masibus Automation And Instrumentation Pvt Ltd,
>>>>> B-30 GIDC Electronics Estate Sector-25,Gandhinagar-382044 Gujarat,India
>>>>> D : +91 79 23287275-79 (Extn 247)
>>>>> F :  +91 78 23287281
>>>>> M : +91 9512036846
>>>>> E : hars...@masibus.com
>>>>> W : www.masibus.com
>>>>> Masibus CIN - U32201GJ198PTC009994
>>>>>
>>>>>
>>>>> On Fri, Apr 3, 2020 at 1:03 PM Jairaj Solanki <jai...@masibus.com>
>>>>> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> We need to implement a Grandmaster.
>>>>>> Below are the details of what we have tried.
>>>>>> 1)We are using the AM335x ICEv2 kit (Hardware we currently own and
>>>>>> have tested on).
>>>>>> 2)There are two ways to implement PTP on this Hardware.
>>>>>> 1) Using PRU's
>>>>>> 2) Using CPTS
>>>>>> Slave Implementation on both gives pretty good results approx < 200ns
>>>>>> Accuracy (With PPS).
>>>>>>
>>>>>> To implement a Grandmaster we need to discipline the PHC to GPS PPS
>>>>>> (We have Ublox GPS with 1 PPS Out)
>>>>>> 1) We tried to use PPS-GPIO Linux driver, but accuracy provided by
>>>>>> this is very low in microseconds as it works on IRQ and the Interrupt
>>>>>> latency is very High
>>>>>>
>>>>>> Is there any way we can discipline our PHC to GPS (PPS) has anyone
>>>>>> done this?
>>>>>> Is the hardware we are using is capable to discipline PHC to GPS
>>>>>> (PPS) ?
>>>>>> If it is not then what hardware do you suggest ?
>>>>>> Is there anyone who has done this before?
>>>>>>
>>>>>> Thanks & Regards,
>>>>>>
>>>>>> *JAIRAJ SOLANKI*
>>>>>>
>>>>>> Masibus Automation And Instrumentation Pvt. Ltd.
>>>>>> B-30, GIDC Electronics Estate, Sector - 25, Gandhinagar - 382044,
>>>>>> Gujarat, India.
>>>>>> L:+91 79 232 87 275 to 277 (Ext :246)
>>>>>> Email ID: jai...@masibus.com <http://mailto:jai...@masibus.com/>
>>>>>> W: www.masibus.com |    www.rhombusglobal.com |www.masibusuae.com
>>>>>> Masibus CIN – U32201GJ1987PTC009994
>>>>>>
>>>>>>
>>>>>>  YouTube: *https://youtu.be/Sn2-cZ_Ln9E
>>>>>> <https://youtu.be/Sn2-cZ_Ln9E>*
>>>>>>
>>>>>
>>>>>
>>>>>  YouTube: *https://youtu.be/Sn2-cZ_Ln9E
>>>>> <https://youtu.be/Sn2-cZ_Ln9E>*
>>>>>
>>>>
>>>>
>>>>  YouTube: *https://youtu.be/Sn2-cZ_Ln9E <https://youtu.be/Sn2-cZ_Ln9E>*
>>>>
>>>
>>>
>>>  YouTube: *https://youtu.be/Sn2-cZ_Ln9E <https://youtu.be/Sn2-cZ_Ln9E>*
>>>
>>
>>
>>  YouTube: *https://youtu.be/Sn2-cZ_Ln9E <https://youtu.be/Sn2-cZ_Ln9E>*
>>
>
>
>  YouTube: *https://youtu.be/Sn2-cZ_Ln9E <https://youtu.be/Sn2-cZ_Ln9E>*
>

-- 


 YouTube: *https://youtu.be/Sn2-cZ_Ln9E <https://youtu.be/Sn2-cZ_Ln9E>*
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to