一旦伺服处于锁定状态( s2 ),除非 pi_offset_const 在配置文件中将该选项设置为正值,否则时钟将不会步进(仅缓慢调整)。该 freq 值是时钟的频率调整,以十亿分之一 (ppb) 为单位。路径延迟值是从主站发送的同步消息的估计延迟(以纳秒为单位)。端口 0 是用于本地 PTP 管理的 Unix 域套接字。端口 1 是 eth...
sanity_freq_limit The maximum allowed frequency offset between uncorrected clock and the system monotonic clock in parts per billion (ppb). This is used as a sanity check of the synchronized clock. When a larger offset is measured, a warning message will be printed and the servo will be rese...
ptp4l[-AEP246HSLmqsv] [-fconfig] [-pphc-device] [-lprint-level] [-iinterface] [long-options]... DESCRIPTION ptp4lis an implementation of the Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux. It implements Boundary Clock (BC), Ordinary Clock (OC), and Transpar...
(ppb). This is an additional limit to the maximum allowed by the hardware. When set to 0, the hardware limit will be used. The default is 900000000 (90%). This option used to be called .BR pi_max_frequency . .TP .B sanity_freq_limit The maximum allowed frequency offset ...
*/ case SERVO_LOCKED: case SERVO_LOCKED_STABLE: clockadj_set_freq(clock->clkid, -ppb); if (clock->clkid == CLOCK_REALTIME) sysclk_set_sync();44 changes: 39 additions & 5 deletions 44 port.c Original file line numberDiff line numberDiff line change @@ -1110,10 +1110,12 @@ ...