I am testing GPTP on a TI board which has CPSW driver. I am running gptp daemons on two separate TI boards using a Point-To-Point connection. I have written an application which will read the GPTP daemon shared memory and will try to calculate the synchronized master clock using the parameters defined in that shared memory.
I am doing the calculations in the below way:
Local Clock = System Clock - Local-To-System Phase Offset
Master Clock = Local Clock - Master-To-Local Phase Offset
Kindly let me know if this is the right way of calculating the Master Clock/Timestamp.
If there is some flaw in my understanding, please let me know the correct way.
Hi,
I am testing GPTP on a TI board which has CPSW driver. I am running gptp daemons on two separate TI boards using a Point-To-Point connection. I have written an application which will read the GPTP daemon shared memory and will try to calculate the synchronized master clock using the parameters defined in that shared memory.
I am doing the calculations in the below way: Local Clock = System Clock - Local-To-System Phase Offset Master Clock = Local Clock - Master-To-Local Phase Offset
Kindly let me know if this is the right way of calculating the Master Clock/Timestamp.
If there is some flaw in my understanding, please let me know the correct way.
Thanks in Advance.
Regards, Mandar