Check the negotiated gigabit role, not only frequency
Do not assume the KSZ9031RNX optional CLK125_NDO output meets all RGMII dual-edge timing requirements in all link states. The manufacturer erratum notes wide duty-cycle variation on optional pin 41 when the device links in 1000BASE-T slave mode. The affected output does not meet the erratum's 45% to 55% duty-cycle criterion. A MAC that depends on both rising- and falling-edge setup or hold cannot qualify it just by reading 125 MHz. This is neither failure of the local 25 MHz crystal to oscillate nor a blanket statement about every speed, role and clock pin.
If a product works with one switch and sometimes fails with another, record actual link speed, PHY role and reference duty cycle together before blaming the erratum or replacing a crystal. Testing in one link configuration does not cover different negotiation outcomes.
Locate the clocks on the schematic
| Network or pin | Role | What to test |
|---|---|---|
| Local PHY 25 MHz crystal network | Local oscillator reference | Oscillation, not downstream timing |
| CLK125_NDO, pin 41 | Optional 125 MHz reference output | Clock delivered to the actual MAC input |
| RGMII RX_CLK | PHY receive-path timing to MAC | Receive-path clock, not the optional output |
| MAC transmit clock path | Depends on its clock architecture | Whether it uses both edges or a PLL |
Why can the frequency counter look right?
At 125 MHz the nominal period is 8 ns. Duty cycle of 45% to 55% corresponds to 3.6 to 4.4 ns for the high interval, with the same range for low, at a common threshold. A hypothetical 35%/65% waveform can still repeat every 8 ns but leave only 2.8 ns on one side. That is an illustration, not a stated worst case. At the MAC receiver, use the relevant thresholds and sufficient bandwidth to capture shortest high and low times over multiple cycles, not just average duty cycle.
Do not convert the 25 MHz crystal frequency tolerance into a 125 MHz duty-cycle difference. Cycle duration and how it is split between high and low are distinct. A more accurate crystal can be useful without resolving this particular erratum.
Which alternatives should you consider?
If the MAC needs a reference for a direct dual-edge path, prioritize an independent clock source qualified for the MAC input. Verify levels, jitter or phase requirements, startup and loading. The erratum also mentions a MAC on-chip PLL that locks to the selected input edge as a possible approach. Confirm the actual MAC structure in its documentation and validate lock and recovery; do not assume every MAC has that behavior.
Another workaround applies only if the local PHY can always be master at gigabit and the known link partner can always be configured as slave. With interchangeable customer switches and uncontrolled peers, do not assume that condition. When testing forced roles, verify both ends can establish the link. A result with one fixed connection does not qualify unconstrained operation.
Separate crystal verification from the erratum
Trace the local crystal network, pin 41 and the real MAC clock input. Test no-link, gigabit master and gigabit slave cases, verifying the negotiated role rather than relying on indicator LEDs or intended settings. A missing output at cold startup and changing duty cycle after link-up are different faults. The former can require enable and reset checks, while the latter calls for role and timing evidence.
Qualify the crystal separately
Epson's FA-238 Q22FA23801819xx document lists a 25 MHz, 16 pF passive crystal. This is an example of why purchasing needs the exact specification, not a claim of validated compatibility. Check the actual PHY oscillator loading, ESR, drive level, frequency budget and temperature. Avoid modifying a high-impedance node with a probe during initial validation. Passing a crystal startup check does not qualify each 125 MHz receiver point.
Keep waveform and link evidence separately. Use matching instrumentation in both roles and capture actual receiver high and low intervals, input conditions and traffic results. A low-load connectivity check can miss a timing boundary, while a waveform alone does not establish that the relevant data path works.
Treat 25 MHz and 125 MHz as separate purchasing requirements
Identify the local 25 MHz crystal and the MAC 125 MHz provisioning independently. Some designs retain the local crystal and add a suitable independent MAC source; others use a documented input architecture that has been verified. Record allowed roles, the MAC timing path, whether link partners may vary and actual acceptance data. If the negotiable role cannot be constrained, this erratum matters more than matching a frequency label.
If a field problem changes with link partner, hold board, firmware and measurement reference fixed and save evidence in both states. Replacing the crystal while changing soldering, probing and test conditions cannot isolate the cause. Knowing which clock actually drives each path is what lets you choose between a component replacement, a clock-distribution change and a constrained connection.
When qualifying an independent clock, document that the PHY retains its local crystal reference and that the MAC source has its own specification and startup conditions. Even when both use one regulator, verify supply at each device. If the root cause is linked-state waveform behavior rather than failed crystal startup, do not close a repair as a passive-crystal replacement. Record the affected direction, role, measurement setup and link-partner constraints. With the independent source, retest the previously working master role as well as slave operation to avoid overlooking a new timing difference.
