A terminal keeps time correctly in storage but gains time during continuous communication on main power. Coupled digital noise at high-impedance crystal nodes can create extra counted pulses. Analog Devices recommends a useful comparison: measure accumulated time error with backup power alone and again during normal system operation.
Give both tests the same starting conditions
Synchronize the RTC to the same independent reference and record real start and end times. First run with the host off and the RTC on backup power, then with main power and communication active. Keep crystal temperature and test duration reasonably matched so self-heating is not attributed to noise. Prevent automated time synchronization from changing the clock during the test.
If extra counts appear only during activity with fast edges, vary that task's duty cycle or repetition rate and check for clocks, data routing or return paths near or beneath the crystal. Verify causation with a layout change or shielding. An ordinary probe on the crystal pin can add load and change coupling, disturbing the fault.
If both modes gain steadily at similar rates, check rated CL, RTC loading and temperature. Retain samples from the same lot before changing the load grade in purchasing. Separate steady frequency offset from excess counts during a particular task. Keep unrounded timing errors and both observation durations so the crystal, layout and system configuration can be assessed separately.Analog Devices: RTC crystal and layout guidance
