Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Digital Interfaces and Clock Division

Can a LAN7800 25 MHz crystal be replaced by 24 MHz just because the register lists it?

No. The LAN7800 COM_REF_FREQ field lists an encoding for 24 MHz, but its note states that the Gigabit Ethernet PHY requires 25 MHz and 24 MHz is not a valid operational setting. Design and purchasing should follow the fixed 25 MHz reference requirement, not treat a register encoding as permission to use another crystal frequency.

1. Encodable does not mean supported

The common-block register can express a value without qualifying the USB, PHY, and internal timing paths for it. The apparent conflict is resolved by reading the field's restriction alongside the clocking chapter. The datasheet rules out 24 MHz as a valid running configuration; a driver setting does not remove that restriction.

ObservationWhat it establishes
COM_REF_FREQ lists 24 MHzAn encoding exists, not operating permission
Fixed 25 MHz reference requirementThe intended operating design
The host sometimes detects the deviceNot proof of a valid PHY or clock implementation
The board works after restoring 25 MHzCheck the receiver and complete data path before release

USB enumeration, line-side link, and end-to-end traffic are separate evidence. Restore the documented reference before investigating network configuration, drivers, supply, or reset. An intermittent success at an unsupported frequency does not qualify production.

2. The difference is not ordinary tolerance

The difference is 1 MHz, or 4% relative to 25 MHz: 40,000 ppm. This illustrates why it is not a tolerance substitution; it does not predict that every internal clock or protocol rate will be off by exactly that percentage. The device may fail outright or show only partial behavior.

Do not allocate the full total budget to every term

The crystal recommendation describes a ±50 ppm total budget and says to combine the initial and temperature terms while allowing for aging. Do not use the visible maximum independently for every term. Account for actual loading and life conditions. For an oscillator specification that already combines several effects, verify what it includes so voltage, temperature, load, or aging are not omitted or counted twice.

3. A 25 MHz reference can be wired in two distinct ways

A passive crystal goes across XI and XO with the matching load circuit. A driven single-ended source goes to XI with XO open. The manual specifies continuous external input for normal operation and states input level and duty-cycle conditions. Do not connect a source to both pins or populate passive and driven paths simultaneously. Document the correct population for each board version.

Verify the real receiver waveform

A connector or distribution output may not represent what arrives at LAN7800 XI. Trace the actual circuit and fitted links, then check level, duty cycle, and startup. Minimize probe loading on a passive circuit. For a driven source verify actual input levels rather than relying on the part label. Keep supply, cables, and firmware unchanged for before-and-after comparison.

In some low-power states the device turns off internal PLLs and derived clocks. This is not an instruction to remove the external reference. If suspend/resume matters, check the intended power state and source availability. Verify recovery separately instead of assuming that upstream clock gating is supported.

4. Prevent same-package purchasing mistakes

Epson's SG-210STF table lists X1G004171040500 for 24 MHz and X1G004171040700 for 25 MHz. Package, family, and output type can look similar. Use these as frequency identification examples, not as proof that the 25 MHz version has been qualified for a particular LAN7800 board. A driven design also needs supply, logic levels, loading, enable, and system tests. Keep these separate from any passive crystal version.

Put the exact frequency and role on the BOM. Keep full order codes and sampled incoming frequency records. Do not combine all same-outline parts in an automatic replacement group. A shortage substitution at the wrong frequency can appear later as intermittent networking, not just a missing clock.

Distinguish replacing a discontinued part from sharing a reference with another subsystem. The first can use matching frequency and electrical conditions followed by board validation. The second must meet both consumers' requirements; a source offering only 24 MHz is not an unchanged substitution here.

For a mixed lot, segregate the assemblies and verify the fitted frequency before rework. Restore the approved reference rather than using a register setting as a temporary release. If some corrected boards still fail, retain their history and check soldering, waveform, reset, and host connection separately. A second problem does not prove the original 24 MHz configuration was supported.

5. Leave a reproducible acceptance record

Record the original clock method, measurement point, supply, and normal USB and Ethernet behavior. Repeat full cold start, steady operation, and the required suspend/resume tests after replacement. Neither a link light nor a host device listing by itself proves traffic. Save the data-transfer conditions with the result.

The change record should say that 25 MHz is the valid reference and that the 24 MHz encoding is not permission to operate there. Approve driven and passive circuit options separately, and check even same-frequency replacements against their actual conditions.

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.