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

The DP83848 still has a 25 MHz oscillator. Why did its transmit clock drop to 2.5 MHz?

A DP83848 board reports a 25 MHz transmit clock when connected to an office switch. With a fixture that negotiates the slower mode, that pin measures 2.5 MHz while the oscillator continues at 25 MHz. X1 supplies the PHY reference. The MII TX_CLK output changes with the operating rate. Selecting a replacement oscillator from the interface output would confuse a link mode with the oscillator specification.

Four bits per cycle explain both rates

TI defines MII TX_CLK as a PHY output derived from the 25 MHz reference. It runs at 25 MHz in 100 Mb/s mode and 2.5 MHz in 10 Mb/s mode. The MAC presents four TXD bits per clock with TX_EN. Thus 25 million four-bit transfers per second give 100 Mb/s and 2.5 million give 10 Mb/s. Periods are 40 ns and 400 ns. Real payload excludes protocol overhead. The bus width and cycle still explain the tenfold change. Check RX_CLK and RX_DV separately if measuring the receive side. They are another signal path.

RMII uses a different clock arrangement. The documented configuration requires an external 50 MHz CMOS reference at X1. MII TX_CLK no longer supplies the original timing. Check the installed straps and configuration readback before applying either measurement rule. A link indicator is evidence at the PHY side, but it does not prove which host interface is configured. Read the applicable resolved rate for the exact suffix and identify whether the reading was captured before or after negotiation.

Select the oscillator against X1

For external 25 MHz CMOS in MII, the DP83848x data sheet shows the source connected to X1 with X2 open. A board that used a two-terminal crystal cannot carry that circuit unchanged into the active-oscillator population. The 0.005% reference requirement corresponds to 50 ppm. At 25 MHz that is 1,250 Hz. A divide-by-ten transmit clock retains the fractional error, equivalent to 125 Hz at 2.5 MHz. Verify the actual reference independently with a suitable instrument. Treat the downstream clock as evidence for the mode.

Apply the reference input's electrical and timing specifications. A shared nominal supply does not establish input compatibility. Probe X1 using a suitable low-load setup and save the probe and waveform conditions. For TX_CLK, check at the MAC and verify input levels and timing relative to data. A MAC that incorrectly schedules data from a fixed 25 MHz assumption could fail in the slower mode despite a valid oscillator. Confirm software state and actual timing after the change.

Test both modes and transitions between them

Use a bench link partner that supports each intended rate. Verify the 25 MHz reference first, then save TX_CLK, TX_EN and data in 10 and 100 Mb/s modes. Transmit known frames and record the resolved rates and packet results separately. Then renegotiate using the product's supported sequence. Capture how the clock and data logic recover. Define which transitions the MAC is expected to ignore while rate changes.

For a failure only at the slower rate, hold oscillator and board fixed while changing link partner conditions. Compare MAC timing and the actual valid signals before changing the source. The test record should name interface mode, negotiated rate, the MAC clock waveform and the real traffic result. The oscillator order still specifies 25 MHz, active output and X1 requirements. Keep enough evidence for the next technician to interpret a 2.5 MHz observation.

Keep one controlled comparison that separates frequency measurement from protocol tracing. A counter timed by the board clock can show an accurate ratio while cancelling the shared absolute error. Use an independent calibrated timebase for the reference. In an example, 500 Hz high at 25 MHz is 20 ppm. An ideal divide-by-ten clock is then about 50 Hz high at 2.5 MHz. If a second instrument rounds it to exactly 2.5 MHz, check frequency extraction and displayed resolution before calling it a board difference.

Observe TX_EN and data during a recognizable transmission and during an inactive interval. Record pin and net identifiers so a nearby clock output cannot be mistaken for the data-interface clock. If software displays a high rate while the actual TX clock is in the low mode, keep a timed register read and trace to determine when rate changes reached the transmit path. The record can identify which mode carried the final frame before a fault.

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.