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

Why does LAN9354 IRQ become a clock when the 25 MHz TXC crystal is working?

Check the LAN9354 clock-output test mode before blaming the crystal or the interrupt source. Microchip DS00001926B section 8.2.9 says the IRQ_CLK_SELECT setting can route the crystal clock to the IRQ pin for observation. The register description says this is a system-debug facility, not a functional clock output. A board using a 25 MHz TXC 7M candidate can therefore show a continuous waveform on that pin without generating the expected interrupt signal.

A practical failure occurs when lab code enables the clock observation mode and its configuration is reused in an assembly test or the main firmware. An interrupt handler may then see activity unrelated to the intended event. Keep the oscillator and power configuration unchanged and read IRQ_CFG at offset 0x054, bit 1. Also check the configured driver type. Microchip recommends push-pull for clock observation; do not casually use a push-pull setting on a line wired to share open-drain interrupt outputs.

Keep two separate test records. First, observe the clock in a controlled engineering test. Then restore the production IRQ selection and intended electrical configuration. Trigger one known interrupt through the normal system path and correlate the status bit, pin state and handler action. Reading a register successfully is not proof that the physical interrupt path works. Seeing 25 MHz on IRQ in the debug mode does not establish interrupt behavior either.

Qualify the oscillator on the exact 7M ordering option and load, independently of the firmware test. If normal interrupt function returns after restoring the configuration, do not record the debug setting as a crystal-lot failure.

Related selection guide: MERLIN Crystal Timing: Quartz crystals

Resource link: https://www.mecxtal.com.cn/en/products/quartz-crystals.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.