摘要 |
Method of synchronizing clocks between a first reference clock and a second clock to be slaved on the frequency of the reference clock, the two sharing a common clock, this method comprising the following steps: calculation of the integer part of the timestamp using the reference clock and the common clock; generation of a system clock local to the reference clock; calculation of the phase shift between the system clock signal and the reference clock signal; calculation of the phase shift between the system clock signal and the common clock signal; calculation of the decimal part of the timestamp; sending of the decimal timestamp to the second clock; slaving of the second clock using the common clock and the timestamp received. |