Do not start by adding a 48 MHz crystal. CC2531 uses an internal 48 MHz PLL for USB. First select and stabilize the crystal reference, then enable the USB PLL and wait for lock. If cold enumeration works but the device fails after host suspend, check power mode and PLL disable and restart order first. A running CPU does not prove the USB clock is ready.
1. The three frequencies do not describe three similar components
The board's 32 MHz crystal supplies the high-speed crystal reference. Internal 16 MHz RC offers another system-clock source. USB uses the dedicated internal 48 MHz PLL. A 48 MHz USB requirement does not imply an external oscillator was left off the board. Identify physical components on the schematic and then trace internal clocks separately.
| Observation | Interpretation |
|---|---|
| Firmware runs | The CPU has a usable clock |
| The 32 MHz crystal oscillates | Verify that the system has actually selected the stable source |
| The USB PLL is enabled | Still wait for PLL_LOCKED |
| The host recognizes and communicates with the device | A separate functional result to verify |
UART output or an indicator can establish basic wakeup without confirming USB. Label both events separately in logs. If the final outcome is assessed by the host, preserve the board and host records.
2. Verify which power mode suspend actually uses
TI's USB suspend guidance permits PM1 but warns against PM2 and PM3 because they reset the USB controller. If the product must resume its existing USB behavior, check that a common power-saving routine has not selected a deeper mode. A user setting saying “power saving enabled” does not expose the real branch. If deeper sleep is intentional, specify the expected host rediscovery behavior separately from PM1 resume.
Verify shutdown and restart of the PLL in order
Before PM1 the guide calls for disabling the USB PLL and waiting for its lock flag to clear. When returning to active mode, enable it and wait for lock before accessing other USB registers. USBCTRL is the stated exception. Record system wakeup, stable clock selection, and PLL lock as separate milestones. An interrupt handler can otherwise access endpoints too early even when the passive crystal is fine.
Check where debug prints occur relative to the PLL wait. Some USB flags clear when read, so collect the register evidence according to the documented behavior rather than repeatedly reading and erasing it. Compare passing and failing sequences before removing any checks.
3. Oscillation alone does not prove the system selected it
TI requires the crystal source to be selected and stable before enabling the USB PLL. Visible oscillation is not the same as completed clock selection. Verify status rather than only the requested settings. Check the actual lock flag rather than only the enable bit. A high-capacitance probe on a passive crystal can disturb the circuit.
Divide troubleshooting into three phases
Record cold connection, suspend entry, and resume separately. Include the system reference and USB PLL state for each. If cold connection and resume both fail, check crystal and supply. If only a deep state fails, check whether the controller reset. If PM1 also fails, inspect completed PLL shutdown and the lock wait on resume. This narrows the diagnosis without ruling out connector, host, driver, or wiring problems.
“Not recognized” can mean no visible device or a visible device the application cannot open. The former directs attention to enumeration and electrical events; the latter can also involve interface state and transfers. Match host and board timestamps to see which side changed state first.
4. If replacing the crystal, check the existing circuit
Epson lists a 32 MHz, 16 pF FA-20H, Q24FA20H00234, in its CC2530 and CC2531 application information. The 16 pF is the crystal load, not a capacitor value to place on each side or qualification for every board. Verify package, load, ESR, and temperature, and retain the approved original part as a baseline.
A same-frequency part in the existing capacitor network does not guarantee cold startup and resume. Compare both paths at the same temperatures and supply conditions. Record crystal and PLL readiness, not just one passing capture. If software accessed USB before lock, a component change might alter how often it fails rather than fix the cause. If the source never stabilizes, inspect assembly and the reference path directly.
5. Release against explicit evidence
Log the exact CC2531 and 32 MHz crystal identities, source selection and stability, USB PLL enable and lock, power mode, and host result. Distinguish host suspend/resume, system reset, and unplug/replug. Repeat cold start and resume under the validated conditions. Do not count manual reconnection as a pass for a path expected to preserve the connection.
If failure occurs only on another computer, keep board, cable, and firmware fixed while comparing host behavior. Then try a known-good board on that same host and cable. Record whether the connection was preserved, reset on timeout, or restored later. Judge slow recovery against the product's actual timing and interaction requirements.
Keep the same enumeration, suspend, and resume regression tests after changes to power-management code. Label fixture and firmware revisions to avoid qualifying only one development board. If host logs are unavailable, collect device-side lock and recovery events before concluding that replacement material is needed.
The 48 MHz USB clock is not a missing external part. Verify the 32 MHz reference, USB PLL lock, and suspend/resume sequence before changing the crystal.
