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

SiT95901 reads time but will not set it: check which I²C port owns the write

On a dual-controller board, both I²C interfaces can read a ticking SiT95901 without both being allowed to set the time. If the host writes a new time and reads the old one back, check the TWO bit and the physical bus wiring before replacing the 32.768 kHz source. The SiT95901 is an RTC that can use a MEMS oscillator or quartz time base; clock operation and register ownership are separate.

In Rev 1.05, TWO is bit 0 of CONTROL at 0x0A. At the default of zero, the second I²C interface owns writes to the time registers. At one, the first interface does. Only the first interface can modify TWO. Seconds, minutes, hours, weekday, date, month and year are covered. Do not test access with an alarm or SRAM write: the seconds alarm is read-only on the second interface, and the battery-backed SRAM has its own MWO field.

On a lab board, save the current settings and pause both controllers’ time updates. Identify the first physical bus from the design rather than assuming the operating-system bus name matches the port number. Use a minute far from rollover, and encode values according to the configured data mode. For example, write 37 over the owner bus, read the raw minute on both buses, and then try writing 42 from the other bus. Confirm that the non-owner did not overwrite 37. Change TWO from the first interface, repeat with the roles reversed, and restore UTC, the ownership configuration and alarm settings. Keep the readback in the acceptance record: a successful bus transaction is not proof that the RTC applied the write.

Related selection guide: MERLIN Crystal Timing: Clock oscillators

Resource link: https://www.mecxtal.com.cn/en/products/oscillators.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.