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

Pericom crystal reference for LAN9354: Why does disabling the 1588 clock take two writes?

Because 1588_DIS is not an ordinary write-once enable bit. The LAN9354 datasheet states that bit 25 in PMT_CTRL at 084h must be written as one twice consecutively to disable clocks for the entire 1588 unit. Writing zero resets the sequence. If the 25 MHz quartz reference is healthy but the driver issued only one bus write, the clock domain can remain active. That is not a reason to replace the crystal or to stop the switch's master reference.

Verify what reached the device, not how many times the source code calls write

A driver layer may coalesce two identical writes. A separate task can also update the whole register between the writes and put zero into the target bit. Neither sequence satisfies the documented requirement. Use the driver's controlled register access and serialize changes to PMT_CTRL while issuing the two actual writes. Preserve the unrelated controls and status fields as required by the rest of the register specification. If only one timestamp unit must be disabled, review its separate clock control rather than shutting down the entire 1588 block.

Qualify the target clock domain independently of the crystal

On a legacy board using a Pericom-line FW 25 MHz resonator, verify the exact part and oscillator circuit. In an approved test state, capture the two bus writes, the resulting readback, and the function of the timestamp unit before and after the operation. If timestamping is required during live operation, use a controlled service window and recheck timestamp and network operation after restoring the normal setup. A continuing 25 MHz reference does not disprove that the 1588 branch was gated, and lower board current alone does not demonstrate that the correct clock domain was disabled.

Related selection guide: MERLIN Crystal Timing: Checking LAN9354 counter rollover against the counter width and 25 MHz reference | Crystal & Oscillator Handbook

Resource link: https://www.mecxtal.com.cn/en/handbook/25mhz-xo-lan9354-counter-wrap.html

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.