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

TXC 7M 25 MHz crystal running: why does the LAN9252 return stale interrupt status after a write?

A ready host interface does not guarantee that an internal register change is visible immediately. Microchip lists minimum write-to-read intervals for specific pairs of accesses on the LAN9252. If a faster host driver reads too soon, the returned value can be stale even though the 25 MHz reference and interface signals are working correctly.

Use the row for the exact register pair. In Table 5-2, a write to INT_STS followed by a read of INT_STS requires 170 ns. A write to INT_STS followed by a read of IRQ_CFG requires 180 ns. The general 45 ns entry does not replace those special cases. The manufacturer lists four dummy BYTE_TEST reads for both examples at a 45 ns access cycle. Extra reads are not required if the actual interval is already sufficient.

On a running board, capture the final write cycle and the subsequent read together with IRQ. In 8- or 16-bit host cycles, time from the last byte or word that completes the DWORD. Compare the old driver with one that satisfies the minimum interval while keeping the interrupt source unchanged. If the problem remains with correct timing, check for a newly asserted event or a faulty register access. Confirm the exact oscillator circuit separately. Crystal startup, host readiness and write-to-read timing need separate acceptance results, particularly after a host-interface speed change.

Related selection guide: MERLIN Crystal Timing: Using IRQ and reset records to investigate clock readiness during LAN9252 cold boot

Resource link: https://www.mecxtal.com.cn/en/handbook/25mhz-crystal-lan9252-irq-monitor.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.