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

Why does a KSZ9477S port at 10 Mb/s fail PTP acceptance while its 25 MHz oscillator is healthy?

A small industrial switch uses a 25 MHz active oscillator as the KSZ9477S reference. Timing verification passes at 100 Mb/s and 1 Gb/s. An older link negotiates 10 Mb/s, and ordinary data still passes, but the timing results no longer have the same meaning. First check actual port speeds and the hardware timestamp mode. A stable local reference can keep internal time without changing which link modes the hardware supports. Verify basic data transfer and timing behavior individually.

The reference stays constant while the port mode changes

Microchip specifies a 25 MHz reference. An external oscillator drives XI with XO open, and the manufacturer recommends the same AVDDH supply as the oscillator input circuit. Check levels and the circuit when qualifying a replacement. If XI is unchanged when the link slows, the oscillator frequency is not an explanation for the new operating mode. Read the actual speed status on the PHY port. A desired speed in software and an illuminated link indicator do not substitute for the negotiated value.

The IEEE 1588 section requires PHY ports to operate at 100 Mb/s or 1 Gb/s for this feature and says 10 Mb/s is incompatible. Verify the documented rates for the test ports first. Traffic continuing at 10 Mb/s cannot requalify the hardware timing path. The source does not establish one particular error code for every such case. If the application's policy allows data to continue, it can indicate that network timing is unqualified while the link operates at that rate.

Reference periods and line rate measure different things

A nominal 25 MHz clock period is 40 ns. The PTP clock diagram also shows subnanosecond accumulation and subphase logic driven by 125 MHz. Fine arithmetic fields support adjustment, not a claim that network synchronization has the same accuracy. Measure actual timing in a supported rate and protocol mode. The local clock can continue incrementing without proving that a particular event message was processed by the hardware.

For an illustrative rate comparison, eight bits occupy 80 ns at 100 Mb/s and 800 ns at 10 Mb/s. These are nominal line transmission intervals. They do not show that the oscillator changed or that timestamp error increases by a factor of ten. The documented result for this part is a different support boundary. Record speed and timestamp status together before investigating oscillator jitter.

Exercise rate changes with traceable packets

Start with a supported link rate and known timing messages. Capture the actual speed of every test port, relevant message identifiers, hardware state, and local clock observations. Then negotiate 10 Mb/s on an isolated test link. Verify ordinary data operation separately from how the application marks timing validity. Restore 100 Mb/s or 1 Gb/s and repeat the complete procedure. Identify the first valid observation after recovery rather than reusing one saved from before the speed change.

When evaluating another 25 MHz active oscillator, keep the PTP mode and tested ports fixed. Verify the received reference and the actual hardware records. For a single-port failure, preserve that port's negotiated rate and state first. For correlated failures, review common configuration and supplies. The ability to transfer ordinary frames alone does not qualify timing. These conditions are specific to KSZ9477S.

Give every renegotiated link epoch a separate identifier. Attach the first qualifying timing result to that identifier, so software cannot use a cached status result from before a transition. Keep the original capture as well as the user-visible log.

After restoring a supported rate, verify that the device's time-message detection and hardware processing are still enabled. Transparent-clock delay mode, ordinary-clock role, and one-step versus two-step processing affect which messages and status matter. A test expecting a follow-up message from a two-step setup can still report a false failure after recovery if the configuration has changed. Keep the protocol settings fixed during a rate-only comparison. Save the peer's state and the switch's own status so the test can distinguish unsupported speed from disabled timing or incorrect packet interpretation.

References

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.