Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Digital Interfaces and Clock Division

Diodes PT7C4339D crystal RTC: Does a repeated I²C START restart the 0.5-second budget?

Do not budget half a second as an available software pause. The Diodes PT7C4339D keeps time using an external 32.768 kHz quartz crystal, but register access is a separate I²C transaction. Figure 5 on page 17 of DS46848 Rev. 3-2 shows a START, repeated START and STOP in the same example and marks a maximum interval of 0.5 s. If the driver is suspended after START, advancing RTC seconds do not prove that the interrupted transaction can resume. Use a bounded transaction and place unrelated delays before START.

Capture the physical transaction, not just the log

A log entry announcing a read can precede the actual START. An error return can occur long after the signals first went wrong. Mark the initial START, any repeated START used to change direction, byte acknowledgments and final STOP in the same logic capture. Correlate the scheduler interruption with those events. A repeated START occurs within the open transaction rather than completing it, and is not a basis for ignoring the time already spent. Validate elapsed time on the physical bus. The diagram does not separately specify an allowed pause between arbitrary bytes, the pin state after timeout or the validity of partial data; do not turn it into a guarantee for those cases.

Separate an interrupted read from a crystal problem

Suppose a combined read is reported in two pieces: 280 ms from the first START to the repeated START and 260 ms from there to STOP. Each piece is under 500 ms, but the bus transaction lasts 540 ms. Those two separate pass labels cannot qualify the combined read. Treat the write of the register offset and the following read as one acceptance item, and check whether scheduling interrupted their handoff. If the design instead uses two separate transactions, inserting a STOP is not proof of equivalent behavior: verify the pointer semantics and calendar coherence for the documented access method. Retain a complete physical trace and readback for both versions; one apparently valid timestamp does not qualify a changed protocol.

Related selection guide: MERLIN Crystal Timing: Diodes PT7C4339D Crystal RTC: Why Exclude 49h and 4Ah From the I²C Address Plan?

Resource link: https://www.mecxtal.com.cn/en/handbook/dio-011.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.