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

Pericom PT7C43390: Why Writing 60 Seconds Can Carry into Minutes

A seconds value of 60 is not legal time data on the PT7C43390. The manufacturer says the invalid-seconds correction occurs about one second after the write, restores seconds to 00, and sends a carry to the minute counter. If a clock shows a minute change after time setting, verify what software transmitted and when it read back before attributing the change to the 32.768 kHz crystal.

Not every seven-bit pattern is a valid seconds value

The real-time data use decimal digit encoding rather than treating the whole seconds byte as an ordinary binary integer. The documented range is 00 to 59. Values decoded as 60 through 79 and relevant codes with A through F in the units position are listed as invalid. Here “60” means the decoded field, not the integer sixty directly written as a raw byte. Preserve application input, driver encoding, and bus data separately.

CheckDefinition or evidenceWhat it cannot establish alone
Legal seconds00–59The actual bits and encoding still matter
Invalid secondsFor example, a field decoding to 60Not a supported way to advance minutes
Post-write correctionAt about one second, with a minute carryNot unconditional immediate reset
Real time at readbackSave minutes, seconds, and relevant date fieldsMinutes also change at ordinary rollover

An operating system accepting a leap-second notation does not mean this device supports 60 as an ordinary seconds value. Reject, normalize, or otherwise handle that value according to the product’s time policy. The RTC's invalid-data procedure is not a leap-second protocol.

Clearing a field and carrying into minutes are separate effects

The invalid-data table shows 00 as the corrected result. Its seconds footnote says correction uses a carry generated about one second after the write and forwarded to the minutes counter. A valid-looking seconds field can therefore conceal the earlier invalid write and a changed minute. Do not assume a read at any arbitrary instant must fall on one particular side of the correction. Log actual read and write times and preserve the raw frames.

For example, use a controlled test away from the hour rollover with the initial minute set to 14 and an erroneous seconds field of 60. Record minutes and seconds around the write and read them again after the correction window. Compare any observed carry with the documented behavior. This is not measured hardware data or a prediction of what every instant looks like. A later display of minute 15 does not alone identify whether a natural or invalid-data carry caused it.

Do not copy the minutes correction rule into seconds. The table separately shows invalid minute data correcting to 00, while the seconds footnote specifically identifies a carry into minutes. One field's result does not establish another field’s correction timing or turn the carry into a supported method of setting the clock.

Trace the intended time through to actual bus bytes

Start with the event that triggered the write: manual time setting, network synchronization, time-zone logic, or import. Verify the encoding and bit order and save the bus capture. Distinguish the real-time register from alarm registers, and keep the actual seconds field, read order, and surrounding minutes. A screenshot of the decoded display without wire evidence leaves cause unresolved.

A UI can also read stale data. Record software timestamps, whether the hardware transaction was new, whether later automation rewrote the clock, and which fields produced the display. If a client applies time-zone conversion or syncs independently, compare raw RTC results and the interface. Even a whole-minute shift can result from software policy.

On a bench, first use legal seconds value 59 to observe a natural rollover. Separately test how the application rejects or reproduces the invalid field. Do not inject erroneous time into equipment in service. Restore the bench clock afterward and note how. If the product requirement is to prevent invalid data reaching hardware, a direct bad write is not necessary to pass that test. Validate input handling, readback, and recovery as separate behaviors.

Keep time setting and frequency error separate in service reports

If each symptom immediately follows a write and matches the correction interval, investigate input and encoding first. If there are no relevant writes and time gradually drifts from an independent reference, use a proper timekeeping test and verify supply and temperature conditions. Both look like incorrect time, but the evidence and repairs are different.

Validate the legal value before encoding and again before sending, since legal application data can still be encoded incorrectly. Record the target time, bytes sent, and actual readback. If a synchronization service was active, note whether it rewrote the clock; an automatically corrected interval cannot be used to estimate crystal accuracy. Use complete time reads when testing across hour or date boundaries.

Keep firmware versions, time-setting method, and conditions that reproduced the issue. A jump after one invalid input does not qualify long-term accuracy, and a healthy result with valid inputs does not establish identical handling for every other invalid date. Document the product's chosen time policy and the inputs not covered so future service does not confuse the hardware’s fallback correction with a supported programming interface.

Recovery routines can introduce a second write when the host finds unexpected seconds and resends cached time. A final read can conceal the first correction. Preserve each frame and timestamp, and check whether another write occurred after the fault. Verify that time data are valid before assessing continuous timekeeping; repeated synchronization is not evidence of long-term drift.

FAQ

Can I write 60 seconds to advance the minutes?

Do not use it as a time-setting operation. It invokes invalid-data correction. Calculate a legal target date and time in software, then write and verify it through the approved procedure.

Why does reading 00 seconds not prove the original time setting succeeded?

It can be the corrected value after an invalid write, with a carry to minutes. Check the transmitted field, readback timing, and changes in minutes and related fields.

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.