PLL not locking causing WR degradation to PTP
In about 1 out of 5-10 restarts of WRPC the PLL is not locking.
With the timeout set to 15sec, if PLL locking takes too long, the timer times out and re-triggers PLL lock. The second lock is successful. In the dev version of WRPC, when the WR_S_LOCK_TIMEOUT_MS
was increased from 15 to 60 seconds, then the WR handshaking fails and WR link is degraded to PTP (later promotion to WR is not possible).
Changing WR_M_LOCK_TIMEOUT_MS
on the master side (to e.g. 60) also fixes the problem, but it is not possible to guarantee that the WRS uses the increased value. Which will cause problems with backward compatibility.