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

Why does KSZ9131MNX lose MDIO after power-saving even though its 25 MHz crystal is good?

Ordinary software power-down (SPD) and manually selecting the extra option that disables the crystal oscillator are distinct states. In ordinary SPD, Microchip says the crystal oscillator keeps running and the PHY's management interface and standard registers remain usable. With the extra oscillator-off option, that interface loses its clock. Further MDIO commands cannot recover it; an independent pin reset or power cycle is required. Establish the configured mode before replacing a crystal.

Identify when the management interface stops responding

Put cold power-up, assembly and firmware identity, first device-ID read, entry into SPD, attempted exit and post-reset results on one timeline. If the interface never responds, check power, reset, address, clock and wiring. If it works normally and stops after one firmware transition, investigate the actual mode and supply state around that transition. Reconnecting a network cable will not restore a management interface that has lost its local timing source.

MDIO/MDC is a management interface, not the application data path. A link LED or continuing host logs do not establish that management accesses succeed after the transition. Record standard register results, indirect management access and network data state separately.

Why do some registers remain accessible in ordinary SPD?

Ordinary SPD retains the crystal oscillator and PLL while cutting off some internal high-speed clocks. The management interface uses the crystal clock, so standard locations 0 through 31 remain accessible and settings are retained on an ordinary exit. Indirect MMD spaces have further restrictions. MMD address space 1 is not available; access to other spaces depends on the clock-gating override. Verify address space before comparing different drivers' results.

ObservationReference or management stateFirst check
Normal operation followed by ordinary SPDCrystal runs and standard registers remain accessibleVerify address space and normal exit
125 MHz output absent in ordinary SPDThe output may be gatedDoes not establish loss of 25 MHz oscillation
Extra crystal oscillator shutdownManagement access unavailableCheck independent reset or power-cycle path
Access restored after a resetReference and management operate againRecheck configuration rather than assuming retention

The 125 MHz output does not directly indicate crystal operation

If the board uses CLK125_NDO to supply another circuit, the output can disappear in ordinary SPD even while the crystal runs. Interpret it against the state and output enable option. Test evidence for the local reference, standard registers and the far end of the 125 MHz signal separately. Verify that the recovery controller is not itself dependent on a clock or rail that vanishes; otherwise it cannot perform the promised recovery.

Why is a second software exit command not enough?

Microchip treats extra PLL shutdown and extra crystal shutdown separately. It explicitly warns that because the MII management interface uses the crystal clock, it becomes inaccessible after crystal shutdown and needs pin reset or a power cycle. Ordinary SPD's exit-by-software behavior does not extend to this option. The recovery design must include reapplying the relevant port configuration after reset. Do not substitute cable removal for electrically cycling the device.

Keep an independent recovery path before testing

Do not experiment by turning off the oscillator on an installed system that is carrying traffic. On a dedicated prototype, establish the reset path and then test power-saving policies separately. Record software recovery for ordinary SPD. For the extra option, record independent recovery, post-reset configuration and time to restored service. Reading the device ID once after reset does not prove that the end equipment's network function is restored. If the reset signal cannot be controlled independently, document that as a design limitation.

When should you investigate the 25 MHz crystal?

If cold power-up fails or observed behavior does not match the configured state, verify the populated component and circuit. Internal clock timing in KSZ9131MNX is derived from an external 25 MHz crystal or reference. Determine whether the schematic and actual assembly use a passive resonator or a driven source. NDK's NX3225SA standard passive family covers 25 MHz, but a specific alternate still needs load, ESR, drive, temperature and footprint review. A family sheet does not qualify an assembled board.

Use a supported low-loading measurement method or an observation point that does not disturb startup. If both boards run reliably until the same software transition, fix or verify the power-management policy first. If the replacement fails across power states, isolate material lot, load, supply and temperature one at a time. Identify the measured state in every report: a 25 MHz result before low-power entry does not prove what happened afterward.

Choose a power policy that the product can recover from

If the product needs routine management access, ordinary SPD is the first option I would validate. Extra crystal shutdown calls for an independent recovery path and a measured power benefit. Record reference type, management requirements and the recovery mechanism together. Include pre-sleep configuration, address spaces, downstream clock loads and recovered application traffic in acceptance. Lower current alone does not establish readiness for production.

Compare policies under the same supply, data activity and downstream loads. Do not attribute a saving from a disabled LED or another power rail to the crystal. The recovery delay and the initial condition of clocked downstream devices can also change. Record those costs alongside the power results before choosing a mode.

Keep these comparisons with the matching software revision so a future failure can be traced quickly.

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.