A controller with an 8 MHz crystal in a 5032 package starts reliably at room temperature. In a cold chamber some attempts exceed the time allowed in firmware. Before ordering another lot, isolate which interval grew. The external oscillator may be slow to settle, the MCU may spend extra time switching clocks, or the first transaction may be waiting on another peripheral. Timing those events separately makes a crystal swap easier to interpret.
Put the time markers on one capture
Record the MCU supply ramp, the external oscillator enable, clock-ready indication and first application transaction on a common timebase. Where the chip allows it, check frequency at a buffered clock output. Diagnostic firmware can also toggle a pin after reading the clock-ready flag. Record the status polling interval and the timebase used by the firmware. The first packet includes any time spent locking a PLL, initializing peripherals and scheduling the transfer, so give it a separate column.
In a hypothetical capture referenced to the power switch, VDD crosses the project's threshold at 0.8 ms, firmware enables the oscillator at 1.4 ms, the ready flag appears at 5.2 ms and the first frame leaves at 9.7 ms. Enable to ready is about 3.8 ms. Supply threshold to first frame is 8.9 ms. The first interval helps characterize the oscillator in this setup. The second describes an end-to-end product delay. An example of the same timing distinction appears in ST's STM32C562xx data sheet. It defines 8 MHz HSE startup from software enable to stable oscillation and gives a typical result for its stated test conditions. Use the actual host data sheet to choose equivalent markers and test points.
Swap two crystals between two boards
Label two boards of the same revision A and B. Choose crystal 1 from a unit that reproduces the issue and crystal 2 from a known working unit. Run A1 and B2 first, photograph the original assemblies and record both part numbers and lots. Then build A2 and B1. A swap reworks the joints as well as moving the crystal, so use the same rework procedure and inspect the pads. If the issue disappears after reassembly, restore the original pairing and see whether the change coincided with rework. A socket or long temporary wire can also change the test load.
Allow each pairing to reach the test temperature before cycling. Use the same discharge threshold, off interval, supply ramp and scope trigger. Check whether a debugger or interface cable feeds power back into the board. Record soft resets separately because the crystal may keep running through them. Set the clock-ready limit from the product timing budget and keep a longer observation window so delayed starts can be distinguished from attempts where no ready indication appears.
| Pairing | Attempts over 6 ms | Ready times for on-time starts |
|---|---|---|
| A1 | 6/30 | 2.0–5.8 ms |
| B2 | 0/30 | 1.5–3.0 ms |
| A2 | 0/30 | 1.4–2.8 ms |
| B1 | 5/30 | 1.9–5.6 ms |
The table assumes a board temperature of −25 °C and identical supply settings. The 6 ms limit is an example of a project requirement from enable to clock ready. The delays follow crystal 1, so retain it and select samples from its lot for ESR testing under the relevant load and drive conditions. If both crystals had been slow on board A, the next comparisons would be the ramp, oscillator configuration, joints and load components on that board. If only A1 failed, retain that pairing for matching tests. Even with 30 independent trials under identical conditions, zero observed failures puts the one-sided 95% upper bound at about 9.5%. Repeated starts on one specimen alone give limited evidence about different production lots.
Use the result to write a supplier request and a board test
Ask for the full ordering code, lot and maximum ESR at 8 MHz with its measurement load, drive and temperature. If the only reported value is at room temperature, record that gap and request cold measurements or agreed samples. On the board, review effective load capacitance, any programmed capacitor setting and the oscillator startup configuration. TI's C28x/F29x application note identifies both crystal ESR at low temperature and reduced negative resistance at low supply as conditions to investigate. Use the test procedure supplied for the actual MCU.
Recheck frequency, drive and startup after any change to gain or capacitance. Tie any approved replacement to the board revision, firmware and installed capacitors. Also compare the vibration mode, rated load, tolerance, height and land pattern before issuing an alternate. The 5032 package identifies the approximate dimensions. The pairing and test record determine suitability.
See the STM32C562xx HSE timing definition and TI SDAA503, sections 6.4 and 7. To investigate a pairing with little startup margin, follow MERLIN’s power-cycled startup margin example.
