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

Why can a KSZ9031RNX with a 25 MHz crystal leave the MAC without 125 MHz?

A Gigabit Ethernet board keeps the PHY's 25 MHz passive crystal and removes a separate 125 MHz oscillator for the MAC. The plan uses the KSZ9031RNX CLK125_NDO output. The first prototypes work, while some later boards boot without a clock at the MAC. Measuring crystal activity at the PHY misses the reset setting that enables the output. An enabled output must also arrive in time for the MAC.

Separate the enable strap from the output pin

The Microchip data sheet shows that the PHY synthesizes its internal clocks from an external 25 MHz crystal or reference. CLK125_NDO can provide a fixed 125 MHz reference when selected by CLK125_EN. Pin 33 samples CLK125_EN at reset and later acts as RGMII RX_CTL. Pin 41 samples LED_MODE at reset and later carries CLK125_NDO. A resistor on the output pin may set LED mode. Measure the actual enable strap on pin 33.

Capture pin 33, reset, and the relevant supply rails. The net may have a valid pull-up on paper, but the MAC's default pulls, fixture loading, and different power-up order can affect the voltage at sampling. Check whether the MAC input already has a drive or bias in that interval. A waveform captured during normal Ethernet operation may simply show RX_CTL. Label both phases of a multiplexed pin to keep assembly and test records clear.

To isolate the cause, a comparison board can disconnect additional loading from the MAC side as intended by the design. Compare the strap voltage and whether the clock subsequently appears at pin 41. Confirm that RESET_N was exercised in a way that actually resamples the straps. Changing a strap while the PHY runs may leave the latched selection in effect. Repeat the sequence if power order changes on a board with the same 25 MHz passive crystal.

Distinguish two nets that can both show 125 MHz

RGMII RX_CLK is 125 MHz at Gigabit link speed. It runs at 25 MHz and 2.5 MHz at 100 and 10 Mb/s. The periods are 8, 40, and 400 nanoseconds respectively. CLK125_NDO is a fixed reference output option for a MAC that has a suitable reference input. If the observed rate follows the negotiated link speed, confirm that the probe is on the receive clock before using the trace to assess the fixed reference.

Microchip also describes pulse stretching on RX_CLK during a rate transition to avoid a glitch. Preserve rate-transition captures separately from fixed-reference measurements. A net that shows eight-nanosecond periods only during Gigabit operation is an unreliable substitute for an input that expects a fixed reference. Verify the intended MAC connection against its own clock pin specifications.

Check the startup dependency before removing a source

Suppose a project allocates five milliseconds from PHY reset release, including 100 microseconds of valid clock before the MAC exits reset. The PHY output must meet the project's amplitude and continuity criteria by 4.9 milliseconds. A measured arrival at 4.2 milliseconds leaves 0.7 milliseconds. At 4.95 milliseconds the output is 50 microseconds late. This example illustrates the budget. Use the selected MAC and project timing limits. If the MAC needs a clock to release the PHY from reset and that same PHY must leave reset to drive the clock, the design has a circular dependency.

On the real board with a 25 MHz passive crystal, test cold power-up and reset each device individually as well as together. Verify the fixed reference during cable removal, speed changes, and any intended power-management transitions. If the revised board fails only when the MAC powers up first, review both the strap capture and the reset dependency. Accept removing the separate oscillator only after confirming electrical levels, reference timing, and startup at the receiving pins.

Give the 25 MHz clock, strap, fixed output, and receive clock distinct fixture names. Record cable and receiver power conditions for each capture. Two frequency measurements can both read 125 MHz and still describe different nets.

If the PCB has two assembly options, check the isolation between the separate oscillator and the PHY output before qualifying the first article. A schematic can route either branch toward the same receiver, but two push-pull outputs should not be populated onto one active net. Verify the series population options or the clock selector before removing the oscillator. For an A/B test, isolate the PHY output as designed before enabling the independent source, and record which reset configuration was active. A successful MAC boot does not identify which source drove a shared node.

It also helps to trigger directly from MAC reset release and repeat the sequence. If the board powers down the PHY for energy savings while the MAC still needs a clock, the schedule must account for that state. Capture shutdown, recovery, and the interval in which the receiver requires its reference. Include them with the cold-start budget before qualifying the shared-source option.

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.