After a power interruption, an instrument's seconds advance, but firmware still shows an RTC oscillator failure. The flag on a BQ32000 can record an earlier event, and it is set at initial power-up. Record the supply, oscillator condition and original status before clearing the flag and checking whether it returns. The current time display and a latched status answer different questions.
Check when the flag was set
TI describes OF as a latched indication of at least four consecutive dropped pulses from the 32.768 kHz oscillator. It is set on initial power-up and can be cleared over the serial interface. A running clock does not automatically erase an earlier indication. Distinguish the first read before initialization from a new assertion after a controlled clear and power or temperature test.
At the nominal frequency one period is about 30.518 µs, and four periods are about 122.07 µs. This only expresses the pulse count in time units. A 122 µs supply interruption does not necessarily produce the same oscillator behavior, because the reference may continue running after the supply starts to change. OF also does not record how many total pulses were lost or how long the clock was stopped.
Read STOP and review any firmware operation that intentionally stopped the oscillator. Save the initial status and calendar before code changes them. Clear OF as documented while preserving the minute fields in its register. An unrelated register change can otherwise resemble an RTC error during a test.
Measure the oscillator and corrected time separately
The IRQ pin can be configured as a calibration output. The default 512 Hz calibration signal excludes the ppm adjustment. Selecting 1 Hz makes the calibration output track it. Use 512 Hz to observe the crystal through a buffered signal, then use 1 Hz or the running calendar to check the corrected time. Document the IRQ load and measurement conditions. Restore the product's normal pin use when testing finishes.
For example, a 20 ppm fast crystal corresponds to about 512.01024 Hz at the 512 Hz output. The same uncorrected error would amount to about 1.728 seconds per day. The 512 Hz reading need not change when the correction is written. Compare the 1 Hz output with an independent reference over a suitable window and check the calendar in the real operating state. A single measured period is not a long-term calibration result.
Capture main supply, backup supply, IRQ and a firmware status marker on a common time base. Initialize the device and save the baseline. Introduce the approved power sequence and read OF and the calendar before adjusting the time again. If only the first read after returning to main power is abnormal, check the data sheet's calendar update interval. Save multiple readings and compare them against elapsed real time.
Log two outcomes after each test cycle: whether OF asserted again, and how much time the calendar gained or lost relative to the independent reference. Consecutive dropped pulses and a small accumulated rate error are different measurements. If the flag stays clear but a resume sequence loses seconds, check whether firmware reset the calendar or compared an early read with a later reference. Keep both observations before changing the clock source.
The backup supply measurement also needs a control. If adding an instrument makes the fault disappear, check whether its connections changed a low-current node. Record the backup voltage before the test and the duration of the main power interruption. Compare a run with the instrument removed. Identify which supply powered the RTC before investigating the oscillator and its load network.
Decide when to requalify the crystal
Compare boards and crystal lots under the same assembly, supply ramp and temperature. Establish a clean baseline and examine which combinations cause repeated assertions after OF is cleared. If the fault follows a board, investigate mounting, loading and interference. If it follows a component lot, review the complete crystal specification, load capacitance, ESR and startup. Prefer a buffered observation when practical to avoid changing the oscillator by probing it.
Procurement can retain the full 32.768 kHz crystal order number and electrical requirements. Engineering should document the initial status, operating mode and test conditions separately. A same-frequency active oscillator requires an approved circuit and clock-input configuration. These records distinguish clock accuracy in steady operation from whether the assembled board retains time through its specified power conditions.
