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

Diodes RT3A3240N3 crystal RTC: Does an I²C STOP release RESET?

Check for an I²C STOP before calling it a failed write. The RT3A3240N3 contains a 32.768 kHz crystal. Diodes places RESET at bit 0 of control register 0Fh/1Fh and says that an I²C STOP condition or writing zero can release RESET. If the driver sends a STOP at the end of the write, the next transaction can read zero even though the preceding write was delivered.

Capture SDA and SCL to distinguish the write and its termination. Verify the device address, control value and ACKs, then locate the first STOP on the wire. A standalone register write generally ends with STOP. Some controllers instead put a repeated START between messages and send STOP only at the end. A repeated START is not a STOP. Do not infer the actual bus sequence from an API name or assume that every combined operation without STOP is supported by this device.

If the program needs only a control action, record the delivered write and bus sequence, and verify the required RTC behavior independently. Do not require a persistent one in a later read. Conversely, code that expects RESET to remain asserted across transactions cannot rely on a driver that issues STOP after every write. Follow the approved bus sequence and preserve unrelated compensation and interrupt settings when changing the control byte.

Keep the register readback and the clock-function test separate. A read establishes the current bit state; calendar advancement or clock output cannot replace evidence of when the write and STOP occurred.

Related selection guide: MERLIN Crystal Timing: Diodes PT7C43390 Crystal RTC: Why Wait 0.5 s After Power-Up but Finish Readback Within 1 s?

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