722960-002 25
Intel
®
Ethernet Network Adapter E810-CQDA2T
User Guide
4.7 External Timestamp Signals
The E810-CQDA2T can use external 1PPS signals filtered out by the DPLL as its own time reference.
When the DPLL is synchronized to the GNSS module or an external 1PPS source, the ts2phc tool can be
used to synchronize the time to the 1PPS signal. The configuration file needs to be edited before using
the application. You must to remember to change network_interface, accordingly to his device's
name.
Note: External Timestamp (extts) event support is only enabled on Port 0.
# export ETH=enp1s0f0
# export TS2PHC_CONFIG=/home/<USER>/linuxptp-3.1/configs/ts2phc-generic.cfg
# ts2phc -f $TS2PHC_CONFIG -s generic -m -c $ETH
# cat $TS2PHC_CONFIG
[global]
use_syslog 0
verbose 1
logging_level 7
ts2phc.pulsewidth 100000000
#For GNSS module
#ts2phc.nmea_serialport /dev/gnssX #/dev/gnssX, where X - GNSS device number
#leapfile /../<path_to_.list_leap_second_file>
[<network interface>]
ts2phc.extts_polarity
rising
Note: The phc2sys tool should not be run at the same time as ts2phc using the generic source of
ToD ( -s generic). In the default configuration, ts2phc uses hardware-generated
timestamps along with the system timer to create correction values. Running the tools in
parallel can create a feedback that breaks time synchronization. The leapfile option is
available but not necessary for the program to run. Also, the default .leap file is not
compatible with ts2phc.
Note: You might want filter the 1PPS timestamps till the DPLL locked. See Section 4.12, “1PPS
Signals from E810 Device to DPLL”.
4.8 Periodic Outputs from DPLL (SMA and U.FL Pins)
The E810-CQDA2T supports two periodic output channels (SMA1 or U.FL1 and SMA2). Channels can be
enabled independently and output 1PPS generated by the embedded DPLL. 1PPS outputs are
synchronized to the reference input driving the DPLL1. Users can read the current reference signal
driving the 1PPS subsystem by running the following command:
# dmesg | grep <DPLL1> state changed" | grep locked | tail -1
[ 342.850270] ice 0000:01:00.0: DPLL1 state changed to: locked, pin GNSS-1PPS
The following configurations of 1PPS outputs are supported:
1. SMA1 as 1PPS output:
# echo 2 1 > /sys/class/net/$ETH/device/ptp/ptp*/pins/SMA1
2. U.FL1 as 1PPS output:
# echo 2 1 > /sys/class/net/$ETH/device/ptp/ptp*/pins/U.FL1