Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

How to set the KSZ9567R PTP temporary-rate duration with a SaRonix-eCera crystal

Program the temporary-rate duration on the KSZ9567R as a count of 25 MHz clock cycles, not milliseconds. The 32-bit field is split between the high word at 0x0510–0x0511 and the low word at 0x0512–0x0513. During that window the switch applies a programmed sub-nanosecond correction on each clock cycle. That changes the PTP time accumulator, not the actual quartz frequency. A short correction and a continuing frequency adjustment solve different problems.

For a 100 ms window, a nominal 25 MHz timebase requires 2,500,000 cycles, or 0x002625A0. The high word is 0x0026 and the low word is 0x25A0. Writing the number 100 instead gives only 4 microseconds at nominal frequency. A better-tolerance crystal will not fix a unit conversion error. For precise measurements account separately for actual timebase error. The window length alone also does not tell you the total time correction; that depends on the amount and sign applied at each cycle.

Keep the amount, direction, duration and operating mode distinct in the implementation and test log. Microchip places direction and temporary-mode control in the sub-nanosecond rate high word; continuous adjustment uses separate mode control. Read the programmed words back with the access size and byte order required by the management interface rather than trusting an application-side constant.

Compare the PTP clock against a common laboratory reference before, during and after the adjustment. The relevant signature is a temporary change in slope. An ongoing correction after the intended window calls for checking continuous mode and the system servo. For a board using a historical SaRonix-eCera FQ crystal, verify the full 25 MHz part number, specified load and oscillator margin separately. None of those checks replaces register validation.

Related selection guide: MERLIN Crystal Timing: Requalifying KSZ9477S PTP at 10 Mb/s with the same 25 MHz oscillator

Resource link: https://www.mecxtal.com.cn/en/handbook/25mhz-xo-ksz9477-ptp-link-rate.html

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.