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

Why a PCF2123 occasionally loses exactly one second with a good 32.768 kHz TXC crystal

Look for a SPI transaction that leaves CE active too long before adjusting the crystal. NXP explains that PCF2123 time counters are frozen during access. Once a valid subaddress has been received, a prolonged active interface can trigger the interface watchdog between one and two seconds later. The watchdog clears the interface and allows time counting to resume, but NXP specifies that each such timeout loses one second from the counters. A running reference crystal does not rule out a discrete loss from the calendar.

A controller reset during an RTC read is a useful example if the board's existing backup supply keeps the RTC powered and CE remains asserted. Do not assume the internal watchdog restarts the host, retries the command, or generates a new transfer automatically. CE still has to return low before another access can begin. Start the timing measurement at evidence of the valid subaddress, not merely at a software log that says the read routine started.

Under approved bench conditions, capture CE, SCL, the command data, and the RTC rail while using an independent time standard for the calendar observation. Compare a normal short transaction with one controlled interruption after a valid command. Leave the reference running, and record the time error after a proper CE release and new read. If the lag follows the number of timeout events, correct the host's failure-state CE behavior instead of compensating the crystal in software. If errors persist without interrupted accesses and accumulate gradually, investigate load, temperature and crystal lot separately.

A 32.768 kHz TXC listing is only a source for candidates. Match the full order code to the PCF2123's 7 pF oscillator load and other requirements, and qualify oscillator startup on the actual board.

Related selection guide: MERLIN Crystal Timing: Distinguishing DS1307 crystal rate error from an incoherent register read at rollover

Resource link: https://www.mecxtal.com.cn/en/handbook/ds1307-start-calendar-snapshot.html

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.