A service instrument can print startup logs after a controller replacement, and its 12 MHz quartz crystal appears to oscillate. Plugging in the USB cable still fails to enumerate it. The CPU and USB subsystem have separate clock branches. Before changing the crystal, establish the sources of the CPU, main oscillator and USB clocks and check which PLL and divider are actually connected.
Check the internal frequency as well as the output
NXP's UM10360 describes the dedicated PLL1 path. With PLL1 connected, its output is the main oscillator frequency multiplied by the integer M. A 12 MHz crystal requires M of 4 to obtain 48 MHz, so MSEL encodes 3. The internal current-controlled oscillator runs at twice P times the desired USB clock. NXP gives a range of 156 to 320 MHz at that node. P of 2 gives 192 MHz and is encoded as binary 01 in PSEL. P of 1 would imply only 96 MHz at the internal oscillator, even though the output formula still reads 12 times 4. That setting is outside its allowed operating conditions.
A 16 MHz or 24 MHz reference can also generate nominal 48 MHz in this path with a multiplier of 3 or 2, respectively. Both require different MSEL values. Leaving the multiplier of 4 would imply 64 or 96 MHz in arithmetic. That is not a valid output guarantee. A 20 MHz crystal can fall within the main oscillator's normal frequency range, but 48 divided by 20 is 2.4. It cannot give 48 MHz through this dedicated integer-multiplier path. Another reference frequency requires a fresh review of allowed clock paths, the input interface and system constraints.
Read the accepted configuration, lock and connection status
A firmware configuration screen or macro is only part of the evidence. Read the PLL1 status to distinguish the programmed and applied settings and check enable, lock and connection. Follow the feed and lock procedure in the manual. A production initialization should time out and record which status never arrived. When PLL1 is not connected, USB can be clocked from the alternate division path. Check the active PLL0 and USBCLKCFG settings for that mode instead of assuming the dedicated multiplier describes both cases.
Read back the main oscillator enable and ready state as well. A waveform near the crystal shows that oscillation was present at the time of probing. The CPU may still be running from the internal RC source or a different earlier selection. Test a true cold boot and a software restart independently. A debugger can keep the system powered, and replugging an interface may not reset all clock state. Capture the sequence from supply rise through oscillator ready, PLL lock and USB enable. A single final register dump can hide a transient startup fault.
Bring the USB clock to the test point
The LPC1768 CLKOUT can select the main oscillator, CPU and USB clocks among its sources and apply an integer divisor up to sixteen. On a test board with that output available, measure the main oscillator first, then choose the USB source and divide by four. The latter result is also nominally 12 MHz. Capture the selection and divisor with the reading. Two identical frequency readings with no path information do not show that two different nodes were measured. A different divisor can make the distinction visible while preserving the required clock inside the USB subsystem.
For a hypothetical +30 ppm reference error, 12 MHz is high by about 360 Hz. After correct multiplication, 48 MHz is high by about 1,440 Hz. Dividing by four gives a 360 Hz increase again because the fractional error is still 30 ppm. A difference of several megahertz points toward an incorrect reference or divider before crystal tolerance. A valid steady-state reading does not rule out a brief clock interruption as USB is enabled, and a clock measurement does not cover USB signals, power or protocol. If startup itself is in question, follow the documented loading and oscillator tests and use a measurement point that minimizes probe loading.
If the USB branch is stable, use a known-good short cable and two previously validated hosts. Record when the device sees a bus reset or its first control request. With no observed reset, inspect power, connection and peripheral initialization. A failure after a particular descriptor request warrants comparing the firmware and protocol record. That helps assign the case without blaming the crystal lot for every enumeration failure.
For service procurement, keep the full 12 MHz crystal part number, load, equivalent series resistance, temperature grade and data-sheet revision. Engineering should retain the good board's USB clock route, PLL and reset observations. If an active 12 MHz oscillator is proposed, review the external-clock input circuit, coupling and levels specified for this design. Requalify the board under the same conditions. A reference that fails to start or falls outside budget supports investigating the oscillator circuit. A steady reference combined with an unconnected PLL or a large divider-related error calls for a clock setup check first.
