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

LPC11U24 Runs with a 16 MHz Crystal: Why Doesn't USB Programming Show a Drive?

For the LPC11U24's on-chip ROM USB ISP, 16 MHz does not replace the required external 12 MHz crystal. NXP's LPC11U3x/2x/1x manual requires the external 12 MHz reference for this boot path. The application may start and a UART or debugger may still communicate without proving the USB ISP clock is correct. If production or service needs the ROM's USB programming interface, restore and verify its external 12 MHz path, then check entry selection and the USB link.

Why can the MCU start while USB programming fails?

After power-up or reset, the LPC11U24 can start from its internal RC oscillator, the IRC, and application software can later change sources. The family system oscillator covers approximately 1 to 25 MHz. That range does not mean the ROM programmer accepts every such crystal. Although the IRC is nominally 12 MHz, it does not substitute for the external crystal required by USB ISP. The ROM boot path runs before the application and is subject to its own documented conditions.

CheckApplicable evidence
CPU starts on power-upCheck initial IRC and reset; this does not establish the external crystal
Application system clockVerify actual frequency range, source and application settings
ROM USB ISP enumerationUse external 12 MHz on LPC11U24 and verify board-level entry conditions
Application USB functionQualify its own firmware and clocks separately from ROM ISP

This is specific to the LPC11U24 under NXP's stated manual, not to every similarly named LPC device. Other members can have different crystal-less or recovery designs. A product formerly programmed only via debug might never have qualified ROM USB recovery. Add it explicitly to acceptance if it becomes a service requirement.

What should be changed when going from 16 to 12 MHz?

Identify whether the original design uses a passive crystal or an active source, and verify the XTALIN and XTALOUT routing. For the passive external crystal path, identify a 12 MHz fundamental unit and check load, temperature, tolerance and resistance. The NXP/Epson LPC11Uxx matching report includes a 12 MHz, 10 pF Epson FA-238V example with external Cg and Cd each 7 pF. This is stronger evidence than a family range, but still tied to the evaluated part and test conditions. It is not a universal pair of capacitor values for any 12 MHz crystal.

Why does the 10 pF crystal example use two 7 pF capacitors?

The crystal's specified load is the effective load it sees, not the value printed on either capacitor. Two ideal 7 pF capacitors contribute 3.5 pF in a simplified series-equivalent calculation; the IC and board also contribute. Do not treat the difference as the exact parasitics of every LPC11U24 PCB. Start with the documented pairing and validate actual board deviation and startup at the relevant voltages and temperature corners. Ensure purchasing can trace the same exact device rather than just outline and frequency.

What if the host still does not display a drive after fitting 12 MHz?

Distinguish failing to enter USB ISP from entering and failing to enumerate. NXP documentation separates ISP entry from the USB path. Check the relevant boot-selection pins, VBUS detection and actual levels at reset on the exact board. A static measurement long after reset does not necessarily reveal what was sampled. Establish a baseline with a known-good cable and host port, then check power and USB connections. If the device being seen comes from application USB rather than ROM ISP, identify the boot path before interpreting that result.

Why identify the source of a visible 12 MHz signal?

The internal IRC is also nominally 12 MHz. A 12 MHz signal at a configurable output does not prove the crystal started unless that output is known to select the external path. Observe an identified clock route and avoid loading the crystal nodes appreciably. Where existing diagnostics are available, preserve source configuration and observed state without rewriting unrelated firmware on service units. Record the time, observation point and clock source so the next technician can explain CPU activity without a valid USB reference.

What application timing needs verification after the change?

Recheck CPU and peripheral dividers if the original software assumed 16 MHz. If an unchanged setting simply multiplies its input, moving from 16 to 12 MHz gives three quarters of the prior rate. In an illustrative setting multiplying 16 MHz to 48 MHz, the same multiplier would give 36 MHz from 12 MHz. This is not a claim that particular PLL configurations are valid; it shows why hardware and constants must agree. Verify the actual UART timing, scheduled tasks and other clock-dependent functions separately.

Keep two acceptance results: ROM USB ISP enumeration independent of the loaded application, and startup and operation of production firmware. If the host shows a drive, verify that it is the intended target before writing anything. In service, stay within authorized operations and do not change a working configuration merely to demonstrate a clock. Record repeatability, board revision and supply conditions for both results. That helps separate a broken recovery path from an application timing mistake.

What should purchasing and the test station write down?

State “LPC11U24 ROM USB ISP, 12 MHz external fundamental passive crystal,” with the approved exact part and load. Keep cable, host and firmware diagnosis separate from the part option. A common frequency is not enough if the load is unknown. Where a working board of the same revision exists, start from its verified crystal and layout. Until measured validation is complete, CPU activity or an unexplained 12 MHz reading is not evidence of restored USB programming.

Label service records with board revision, exact MCU, external crystal frequency, and whether USB ISP must be available immediately after a power cycle. Do not release a production board using results from a development unit. The development unit may include boot jumpers, resistors or detection circuits absent from the production layout. Distinguish an application that runs without a maintenance entrance from hardware that fails to start at all. If only one host fails to show a drive, preserve a controlled comparison from another and confirm it is the ROM's device, not one presented by application firmware.

If one material is intended for multiple functions, add a dedicated USB ISP check. The hardware owner provides the external crystal and load, firmware records application clocks and timing, and production records the entry state and host identification. Each record establishes only its own test. A missing field should remain unverified rather than borrowing someone else's conclusion. The resulting record lets a later maintainer distinguish a board fix from firmware work that needs its own retest.

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.