Check whether the microcontroller itself enabled spread spectrum before replacing the resonator. Consider an STM32F407 board using a 16 MHz NDK NX3225SA crystal for HSE. The STM32F407 can route HSE or the main PLL clock to MCO1, and ST specifies that the spread-spectrum function in RCC_SSCGR applies to the main PLL. A periodic sweep on the PLL path without the same sweep on HSE points first to configuration.
Verify the clock routed to the test pin
In a diagnostic build, route HSE to MCO1 and record the prescaler and observed frequency variation. Select the PLL clock next and choose a prescaler suitable for the pin and instrument. For example, with a nominal 160 MHz main PLL clock, division by five makes the nominal MCO1 result 32 MHz. The HSE and PLL traces naturally differ in center frequency, so compare the patterns of variation, not the absolute difference between 16 and 32 MHz. These numbers illustrate routing; they are not a prescription for a peripheral clock.
Read back SSCGEN and the relevant configuration in RCC_SSCGR. For a controlled comparison with spreading disabled, use an alternate startup configuration or follow ST’s documented sequence to switch away from an in-use PLL before changing it. ST requires the register to be written before enabling the main PLL or after disabling it. Use the same board supply and measurement chain. If the HSE baseline stays in place and the periodic variation on the PLL output disappears with spread disabled, changing the crystal does not address the mechanism. If both traces show the anomaly, investigate the shared reference, supply and test setup separately.
Record the populated crystal, the selected MCO path and the final peripheral clock source as separate items. A good HSE trace is not a test of the peripheral, and a diagnostic comparison with spreading off does not establish that the system can ship with it disabled. Recheck the actual device timing and emissions requirements before changing the production setting.
Related selection guide: MERLIN Crystal Timing: Quartz crystals
Resource link: https://www.mecxtal.com.cn/en/products/quartz-crystals.html
