ptp_slave_ntp_fallback.cfg

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2022-10-18
Revision
1.0 English

This file shows how to configure sfptpd to act as a PTP slave, with fallback to NTP:

  • An NTP sync module is instantiated using the sync_module option:
    • The key-id and key-value are set for authenticating with NTP using the ntp_key option.
  • A PTP sync module is instantiated using the sync_module option.
  • The PTP sync module is configured to act as a PTP slave by using the ptp_mode option.
  • The slave also has ptp_tx_latency and ptp_rx_latency options that can be used to compensate for latency through the interface (see PPS Measurements).
  • Any PTP traffic is transmitted using hybrid mode by using the ptp_network_mode option (see Hybrid Mode).