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

LAN8742A stops REFCLKO in power-down. What clock lets the MAC wait for it?

A board uses a 25 MHz crystal at the LAN8742A and takes 50 MHz RMII timing from its REFCLKO. Traffic works during assembly test. After firmware enables energy-detect power-down, unplugging and reconnecting the cable can leave the PHY awake while the MAC fails to resume. A recovery state machine driven by the stopped 50 MHz may be waiting for an event it cannot process. Record management access, cable state, RMII activity and application readiness separately.

The crystal and the RMII output have separate states

Microchip describes deriving a 50 MHz MAC reference from a 25 MHz fundamental crystal in REF_CLK Out mode. REFCLKO shares the ordinary nINT pin, and the manual says the 50 MHz output stops in General Power-Down and Energy Detect Power-Down. Crystal activity alone does not establish REFCLKO availability. EDPD responds to valid energy on the line. General power-down is controlled by its management setting. Test and label the actual state.

Identify which logic can read the PHY or request recovery, which logic waits for stable 50 MHz and which begins exchanging data. The PHY management interface remains active in the documented conditions. Whether the controller's management peripheral still has a clock is a board question. Capture MDC in the stopped-clock interval and confirm whether register reads are fresh. If another output is available for wake signaling, verify the actual wiring and device configuration. The shared REFCLKO pin cannot also function as the ordinary nINT in this mode.

Separate recovery terms before moving the clock source

At 50 MHz one nominal cycle is 20 ns. If the design requires observing 256 stable cycles before releasing the MAC, that interval is 5.12 µs after the reference is present. It does not include energy detection, PHY restart or link establishment. A measured 4 ms from cable insertion to clock return dwarfs the short qualification interval. Track detection, clock return, host qualification, link and data readiness individually before deciding where improvement is possible.

If the MAC cannot tolerate a clock interruption, consider a reference architecture that remains powered using the documented REF_CLK In mode. Verify clock ownership, actual clock availability in low power and the load at both receivers. An always-on reference allows management or MAC logic to remain timed while the PHY uses a supported power-saving mode. It changes power, wiring and wake options. Avoid connecting a second driver to the existing clock output net or reusing 25 MHz electrical assumptions for a 50 MHz input.

Capture both power-down paths

Unplug the cable through the production EDPD entry path. Record PHY clock output, MAC clock at its pin, MDC and a controller recovery marker. Reconnect and record link and first confirmed data transfer on the same timeline. Separately enter General Power-Down and recover using the supported controls. If ordering differs, handle them independently. Also test repeated wake after reset or timeout so stale readiness cannot qualify a later attempt.

Preserve source, straps, management clock while PHY output is stopped, wake event and the criterion for admitting RMII traffic. Qualify the crystal under its specified operating conditions. For low-power operation, show which clock comes back first, what verifies it and which event authorizes the MAC to transmit.

If a GPIO signals wake, verify that the pin and its receiving logic remain powered while the reference is absent.

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.