Not as the first step. ST lists TXC 7B-12.000MAAJ-T at X1 on the AEK-MCU-C1MLIT1. In AN5752, ST distinguishes two clock-monitor faults for the SPC582B. Fault 51 covers the external oscillator path, including frequency issues or missing XTAL/EXTAL connections. Fault 52 concerns the monitored PLL_0 PHI output outside its allowed range. Both involve clocks, but each points the first inspection to a different place.
Retain the context before clearing flags
If fault 51 appears by itself on a cold start, save the snapshot and inspect X1 assembly and the external oscillator path alongside reset, supply, and temperature. If only fault 52 appears and a nonintrusive check confirms a valid 12 MHz reference, review PLL selection, output settings, and monitor thresholds before blaming the crystal lot. If both appear, record the first event and the configuration at that moment. Verify reference and multiplied clocks separately. A clock-monitor flag narrows the search; it does not by itself prove a failed quartz part.
Close the issue on the representative board
Run a known-good and affected board with the same hardware revision and startup script. Retain supply and reset captures, monitor states, and the expected clock tree. Do not disable a diagnostic as a fix in applications that require it. After correcting the root cause, repeat permitted startup and temperature checks and verify that the reference, PLL output, and diagnostic states all match the approved configuration.
Related selection guide: MERLIN Crystal Timing: Quartz crystals
Resource link: https://www.mecxtal.com.cn/en/products/quartz-crystals.html
