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

An STM32 can omit the high-speed crystal in USB device mode. Can host mode use the same design?

USB device mode works when connected to a computer, so the team plans to keep the crystal-free BOM when adding host mode. ST’s AN4879 full-speed USB guidance says some crystal-less USB device implementations can calibrate the internal 48 MHz oscillator using start-of-frame signaling from the bus. That depends on an external host supplying the reference. The clock-source relationship changes when the product itself is the host.

Identify which device already has a clock before the first frame

Compare the exact MCU’s clock tree, supported USB roles, and calibration sources. A USB device can derive timing from the bus in supported configurations, while a USB host is responsible for generating frame timing. The manufacturer’s note also explains that the relevant path for calibrating the internal 48 MHz oscillator against a low-speed external clock does not by itself establish USB host clock accuracy. Passing a device-mode test on one development board does not qualify both roles.

With HSE and the main PLL, choose the external crystal from the supported MCU input frequencies, PLL configurations, and USB branch requirements. The crystal need not run at 48 MHz. In an architecture with a separate high-speed PHY, also check the PHY and ULPI clock directions. List the required internal USB clock, the frequency of the fitted external crystal, and available calibration signals separately in the design review.

Test connection, cold power-on, suspend, and resume separately for both roles. In host mode, test the devices the product will actually support and run sustained transfers. Record who produces the reference, when it is available, and which board was tested. If one build ships only device functionality, qualify the crystal omission for that role. Reopen clock selection before adding OTG or host support.ST AN4879 USB clock design guidance

Send us a part number or your requirements

Brand, frequency, quantity and delivery target — a useful place to start.

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.