This patch introduces a new ts2phc source using a PHC device. There are multiple use cases for such a master. By connecting pins of two or more separate PHC devices together, one may act as the source, and the others may be synchronized to it in hardware. In this way, "just a bunch of devices" together forms a Transparent Clock. If the master clock is synchronized to a global time source (like a PPS from a GPS), then the system becomes a mutli-port Grand Master or a Boundary Clock with GM capability. Signed-off-by: Richard Cochran <richardcochran@gmail.com>
28 lines
688 B
INI
28 lines
688 B
INI
#
|
|
# This example shows ts2phc keeping a group of three Intel i210 cards
|
|
# synchronized to each other in order to form a Transparent Clock.
|
|
# The cards are configured to use their SDP0 pins connected in
|
|
# hardware. Here eth3 and eth4 will be slaved to eth6.
|
|
#
|
|
# Important! The polarity is set to "both" because the i210 always
|
|
# time stamps both the rising and the falling edges of the input
|
|
# signal.
|
|
#
|
|
[global]
|
|
use_syslog 0
|
|
verbose 1
|
|
logging_level 6
|
|
ts2phc.pulsewidth 500000000
|
|
[eth6]
|
|
ts2phc.channel 0
|
|
ts2phc.master 1
|
|
ts2phc.pin_index 0
|
|
[eth3]
|
|
ts2phc.channel 0
|
|
ts2phc.extts_polarity both
|
|
ts2phc.pin_index 0
|
|
[eth4]
|
|
ts2phc.channel 0
|
|
ts2phc.extts_polarity both
|
|
ts2phc.pin_index 0
|