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

Why can't an ADIN1100 keep its 25 MHz crystal when switching from MII to RMII?

A new processor saves pins by switching a single-pair Ethernet board to RMII. The ADIN1100, its 25 MHz crystal and load capacitors stay on the board. Management reads work, yet selecting RMII does not get data across. RMII on the ADIN1100 requires an external 50 MHz clock at XTAL_I/CLK_IN. The wire protocol is still 10BASE-T1L, but the host interface and reference topology have changed.

Identify the driver and reset sequence

ADI's RMII section specifies that the 50 MHz clock can come from the MAC or an external reference. It serves both transmit and receive. If the MAC drives it, make that the line's sole driver. Check whether reset, driver loading or power saving disables that output. If the PHY needs a valid clock in one of those states, start the MAC output earlier or use an independently starting reference. With an external source driving both chips, qualify levels, fanout, sequencing and powered-off behavior at both receivers.

The ADIN1100 defaults to RMII when the configuration pins float. ADI recommends configuring the interface with hardware pins because clock and pin mappings differ. Record the straps on each board revision and the driver's subsequent writes. Two populations of a shared PCB also need different assembly records. Identify crystal or external 50 MHz population and map the firmware's mode check to the board identifier.

Fifty megahertz also times the host data path

The period is 20 ns. A hypothetical 1.8 ns difference between clock arrival at the two receivers is 9% of a period. Depending on launch and capture edges, that skew can help one timing term and reduce the other. Assign the sign for each direction. Oscillator ppm does not express this delay. Two pins can have the same frequency and see different edge times. Probe near the receivers and account for thresholds, terminations, and paths inaccessible to measurement.

A 25 MHz crystal that meets all temperature limits still does not provide the specified RMII clock. If using a doubler, qualify the real active path and its startup relative to PHY reset. Replacing an older 25 MHz active reference with a 50 MHz source also requires checking the previous load, buffer and power-domain behavior. For build options, document each allowed source and frequency and prevent simultaneous drivers. Avoid leaving a long inactive branch connected to the active path.

Test a cold start without relying on the previous board

Start with the cable unplugged. Capture PHY reset and 50 MHz input from power-on, and record when the reference becomes valid, reset releases, and software reads the actual interface mode. Then plug in the cable, establish a link, and transmit in each direction. If the cable link comes up but the host sees no data, save the interface clock, data traces and pin mapping. Repeat through sleep, clock return, and driver initialization if applicable. A cable link can persist independently of some host interface states.

Record source specifications and receiver edges, power and reset timing, and bidirectional traffic separately. Use a complete power cycle. Resetting the PHY with a debugger attached and MAC clock output already running can miss a first-power-up failure. Keep the interface specification with the oscillator order and tie straps, firmware readback and traces to the PCB revision.

If the host supplies the clock, perform a controlled interruption using the allowed product sequence without cutting the supply. Record the PHY's behavior and recovery conditions. Determine whether data recovers automatically or whether both the PHY and host peripheral require reset. Document reset ownership and order. If an external source remains on for standby monitoring, include that state in the system power test instead of applying estimates from host-clock shutdown.

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.