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

Can a 10 MHz Crystal Replace 8 MHz on an STM32F103C8T6? Not for Its On-Chip USB

The STM32F103C8T6 HSE oscillator accepts 10 MHz, but its documented HSE-derived PLL path cannot produce the 48 MHz required by on-chip USB from that input. If the product uses on-chip USB for programming or communications, retaining the original 8 MHz design is the better repair choice. A design without that USB requirement can evaluate 10 MHz, but must recalculate clock and peripheral settings and qualify startup. This conclusion applies to the stated device, not every STM32 family.

Why does successful 10 MHz oscillation not prove USB compatibility?

ST's STM32F103x8/xB datasheet specifies a 4 to 16 MHz HSE crystal range. The oscillator's frequency range is not the range accepted by each peripheral. On-chip USB needs 48 MHz from the HSE-derived PLL path. In the reference manual, HSE can reach the PLL directly or divided by two. The PLL multiplies by an integer. USB takes the PLL output directly or divides it by 1.5. This is a ratio limit, not a bad crystal lot or inadequate crystal tolerance.

HSE and PLL pathIllustrationOn-chip USB result
8 MHz direct8 × 9 ÷ 1.5Nominal 48 MHz
12 MHz direct12 × 6 ÷ 1.5Nominal 48 MHz, hardware still needs qualification
10 MHz directInteger times 10 MHz must reach 48 or 72 MHzNo integer factor
10 MHz divided by twoInteger times 5 MHz must reach 48 or 72 MHzNo integer factor

The two required PLL outputs follow from the two USB divider options; an approximate frequency does not qualify the interface. Do not confuse PLL output with every CPU or bus clock. First check mathematical feasibility, then the board, accuracy and peripheral behavior. Use the exact ordering number and appropriate documentation for another STM32 device.

What happens if you keep the original 8 MHz firmware?

With the original direct-input ×9 PLL setting, changing 8 MHz to 10 MHz gives a paper result of 90 MHz rather than 72 MHz. This is not a setting to try under power or a promise that the PLL would run outside its limits. If firmware falls back to another source, an LED or UART may still show activity although the CPU is not using the intended clock. Determine clock-tree feasibility and actual source before interpreting hardware symptoms. A running LED does not prove USB operation.

Which USB programming path is actually in use?

A standalone USB-to-UART bridge can enumerate on the host without proving anything about the STM32F103's on-chip USB. Distinguish the MCU USB pins, a separate bridge and a debug interface. Success on one programming path does not qualify another. If no interface appears, establish which device should enumerate, then check clock, power, reset and the physical USB connection. If the equipment never needs on-chip USB, do not treat USB alone as the test for every redesign.

Why isn't the 12 MHz arithmetic a purchasing approval?

12 × 6 ÷ 1.5 = 48 MHz is one nominally feasible combination. Verify HSE and PLL configuration, system timing, temperature, supply sequence, oscillator margin and load. Other modules may depend on the former timebase and need their own check. Changing a qualified frequency can invalidate existing acceptance evidence. Register 12 MHz as a redesign candidate rather than ordering it as a direct service substitute.

Can low ESR or a smaller case fix the missing clock ratio?

No. The Japanese KDS DSX321G 1.0 mm family lists 400 Ω maximum ESR in the band containing 8 MHz and 150 Ω in the band containing 10 MHz. These figures and the offered loads help screen the oscillator loop. Lower ESR cannot add a missing PLL multiplier. The figures are upper limits rather than measurements of a sample. Confirm height, effective loading, drive and complete part number, and do not consolidate original and proposed stock by outline alone.

What evidence should a revised design preserve?

Record original function, revision, processor part number, crystal and interface requirements. If USB is required, show that the clock tree can produce a nominal 48 MHz before measuring accuracy, enumeration and transfers. If USB is not used, a different clock still calls for checking timers, UART and scheduled tasks. Work from an authorized development board with a recorded baseline rather than experimenting on production stock or equipment in service. Vary one condition at a time.

What should service and purchasing write?

For repair: “STM32F103C8T6, on-chip USB required; restore the approved 8 MHz crystal and associated circuitry. 10 MHz is not a direct replacement.” A 12 MHz design is a separate change requiring supply, load, full part number, revised firmware and USB qualification. Do not remove the functional requirement because 10 MHz parts are already available or cheaper. Consider existing stock for equipment without this USB requirement only after the exact board has been qualified.

A common repair case is a missing crystal with only a frequency abbreviation beside its pads. “8M” alone does not identify a passive crystal, an active oscillator or another labeled node. Reconcile the controlled BOM, schematic and a working board of the same revision before choosing the spare. A passive unit uses the MCU's amplifier and loading network; an active source needs its own supply and compatible output. When documentation is incomplete, establish whether the goal is restoration rather than redesign. Without approved firmware or clock changes, fitting the part and seeing it oscillate are not enough to qualify the repair.

Verify the complete processor identity at the inspection station, especially when the maker mark or suffix is unclear. Keep documentation applicability separate from the symptom. For example, if normal battery operation is fine and failure occurs only when connecting USB, reproduce those exact conditions. Record whether the product used on-chip USB and which device the host actually detected. A different revision that programs through an external bridge is not evidence for this one. For a planned release, verify cold startup through stable data transfer. Include sequencing if external equipment must become ready as well.

Give purchasing the original load and tolerance, and do not mix different nominal frequencies under one label. Preserve markings and quarantine mismatched lots until they can be traced to the order. Engineering then evaluates an identified alternate and the warehouse knows exactly which revision can use it.

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.