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

Diodes PI6CG334Q crystal clock: Why configuration retention on PD# wake does not prove cold-start behavior

Byte 10 bit 6 on the PI6CG334Q is PD Restore. Page 14 identifies zero as Clear PD Config and one as Keep PD Config; the startup default is one. “Keep PD Config” does not guarantee that every software setting survives a sleep cycle, or that configuration has been committed to nonvolatile storage. Test a powered PD# entry and exit separately from a real power cycle. For a setting that matters to the product, read it back before firmware rewrites it, then correlate that result with the corresponding output behavior. A clock appearing again does not show whether its previous configuration was retained.

Define three independent trials and label host resets

ScenarioSupply and control conditionsConfiguration question
Powered wake with retention selectedSupply remains valid, PD Restore=1, normal PD# cycleDid the selected PD-related setting survive wake?
Powered wake with clear selectedSame maintained supply, PD Restore=0, same PD# cycleDid the field return to a verified default?
Startup after actual power removalThe device’s supply follows the board-approved power cycleWhat cold defaults appear and who restores production settings?
Host or fixture rebootRecord the generator rail and PD# separatelyLoss of host access is not evidence of loss of device power

Here, “powered wake” means the supplies were maintained while a control pin brought the device out of a low-power state. It is not a statement about temperature. Page 3 says the first high on PD# samples latched settings and starts the device; low enters Power Down, and subsequent highs leave it. The initial rising edge after power application and a later rising edge while powered are not interchangeable test events.

Page 14 does not enumerate every address covered by PD Config, nor does it detail an internal edge or phase when clearing happens. This article does not claim that every byte is retained. Test the settings the application actually depends on using controlled documentation and observations. If software can change the mode or active pin level before the trial, log what is actually in effect rather than treating the pin name as universal evidence.

Use a setting with visible system consequences

Suppose the product needs to know whether a reference output continues during a low-power period. Page 12 defines Byte 3 bit 5, REF_PDSTATE, as the choice to disable or run REF during PD. It is a useful candidate to observe, but the PD Restore table does not explicitly enumerate it as a retained or cleared field. Use it to test whether the exact setting important to this design falls within the validated retention scope. Do not declare that answer in advance.

On a controlled sample, record the setting and related output enables as a baseline. Under approved conditions, apply a value distinguishable from the default and verify it takes effect before entering PD. Test the two PD Restore states from comparable baselines. Results are not comparable if the intended setting differed at the start or if another field changed silently. Keep pre-entry, during-PD and post-exit records on a common timebase where possible.

Do not use only a field already at its default. If it reads zero before and after, both retention and clearing might yield the same result. A documented, permitted nondefault state provides a better discriminator without touching a critical production path. Do not sweep writable-looking reserved bits to establish broad retention. The exact test states and controlled targets matter more than the number of registers touched.

Make sure startup code does not overwrite the evidence

A generic initialization task may rewrite several registers as soon as the sequencer releases PD#. A valid project value read later cannot distinguish hardware retention from a recent firmware write. The opposite can also happen: initialization writes a different project value after a reset, and a late capture is misinterpreted as failed retention. On a suitable test platform, obtain the first valid post-wake read before automatic rewriting, then allow full initialization. Where the production startup cannot be delayed safely, the result can establish system recovery, not that the device retained the value by itself.

Label cold defaults and pre-sleep application values separately in logs. The default of one for Byte 10 bit 6 selects the keep policy; it does not prove that settings previously written by this application reappeared. Record the hardware state, maintained power, firmware write timing and validity of the read independently. Wait for the documented access conditions before reading. This article does not assume bus access throughout PD or specify an unsupported fixed delay to the first valid read.

Report another case separately: the output returns at its nominal frequency, but a diagnostic setting does not. Frequency alone may not expose a different electrical output configuration, stop state or diagnostic path. Preserve the raw fields and their associated waveform or behavior so resumption of oscillation is not mistaken for restoration of the approved configuration.

Use the result to define two recovery policies

If the project retains settings in sleep, identify each qualified field and board revision instead of including untested settings in the promise. If it applies configuration after leaving low power, validate a repeatable restore sequence and keep downstream circuitry in a known state until its prerequisites are met. The choice depends on startup timing, diagnostic history and allowed intermediate behavior. Make explicit which parts of recovery belong to the device and which to the host.

Keep a separate cold-start trial. Rebooting the host while the generator rail remains up is not a power cycle; one low signal on a trace is not proof that the relevant supplies were removed. Record the actual rails and control signals under the board’s approved procedure. Sign off whether the event was a powered PD# wake or startup after removal of device power, and whether evidence was captured before or after automatic reconfiguration. Classify a fault against those conditions before investigating crystal accuracy.

Frequently asked questions

If bit 6 defaults to one, can the driver delete all restore code?

Not on that basis. The default selects a PD policy but does not list every field retained or cover real power loss. Verify each setting the board needs and remove only writes shown to be unnecessary.

If the original value is present after wake, why check the downstream clock?

Readback is configuration evidence, not independent proof of enable, supply and real waveform. Establish that nothing rewrote the field before sampling, and verify its functional consequence at the output or receiver. That separates device retention, software restoration and their combined result.

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.