In pulse mode, the PT7C4363 interrupt repetition interval and active-low width are different quantities. The interval is the loaded count n divided by the selected timer clock. The low width comes from the manufacturer's separate table. At 4096 Hz and n=3, for example, repetitions are about 732.4 microseconds apart, while the low pulse is about 244.1 microseconds. If the host occasionally misses an interrupt, measure the timer source, period, and low window separately before blaming the 32.768 kHz crystal.
The repetition interval, width, and status flag are separate
The timer settings include TE for enable, TD1/TD0 for the step frequency, n for the loaded countdown, TIE for interrupt enable, and TI/TP for choosing a pulse or flag-driven output. TF records a timer expiration. The flag and pin waveform provide related but different evidence. A high pin after a short pulse does not establish that no event occurred.
| Timer source | Repetition interval for n greater than zero | Active-low width in pulse mode |
|---|---|---|
| 4096 Hz | n/4096 seconds | 1/8192 s at n=1; 1/4096 s at n>1 |
| 64 Hz | n/64 seconds | 1/128 s at n=1; 1/64 s at n>1 |
| 1 Hz | n seconds | 1/64 s |
| 1/60 Hz | 60n seconds | 1/64 s |
These widths apply with TI/TP set to pulse mode. In the flag-driven mode, the short-pulse table does not tell you when the pin automatically returns high. A load of zero stops the timer; it does not produce infinitely frequent events. A read of the live timer is also distinct from the value firmware originally loaded.
Work out both quantities in a numeric example
At 4096 Hz with n=1, repetitions are about 244.1 microseconds apart and the low width is about 122.1 microseconds. With n=3, the repetition interval grows to about 732.4 microseconds, while the low width is about 244.1 microseconds. The low time does not scale in direct proportion to n. At 1 Hz and n=3, the interval is three seconds but the low width is only 15.625 milliseconds, so a poll every second might consistently miss it.
That is not a polling recommendation. A periodic sampler can land outside the low window every time. If the system must observe each expiration, check the host's minimum detectable pulse width and its behavior in sleep. Depending on system requirements, the design might use a flag or a different interrupt mode. One captured pulse does not establish reliable capture under every temperature, load, and software condition.
Follow the waveform before replacing the crystal
On a suitable bench, capture the programmed values and readback for n, TD1/TD0, TE, TIE, and TI/TP. Trigger on the active edge and record several events. Measure repetition interval from matching edges and pulse width from the two edges of one low pulse. Low sample density can miss short pulses. If you change acquisition conditions, keep those settings and the raw captures instead of treating measurements taken differently as directly comparable.
Probe at the RTC pin and at the host input. If the RTC produces the expected pulse but the host does not register it, inspect routing, receiver thresholds, filtering, edge configuration, and sleep state. If both pins show the expected waveform but the application records no event, investigate the interrupt handler and logging path. Examine the timing reference only when configuration, signaling, and reception do not explain the failure.
Reading TF can support the occurrence of an expiration, but a single flag is not an event counter. Verify its service and clearing sequence. To check one-to-one capture, align hardware pulses with the host's handler entries, rather than interpreting a delayed flag read as timer error. Also log any other interrupt sources used in the test.
Leave acceptance records another technician can repeat
Record part revision, supply, timer settings, oscilloscope timebase, receiver thresholds, and firmware. For pulse-based designs, report the shortest expected low window, the actual duration at the receiver, and the host’s capture conditions. For flag-driven designs, check TF and recovery behavior instead. Changing mode affects the system. A more visible waveform on the bench does not justify making the change permanent without validation.
Use both short-interval and long-interval checks where applicable. The first shows whether the receiver sees the edge; the second can exercise the host's low-power behavior. If an expected repetition rate appears but events are lost elsewhere, correlate the gap with busy periods, wake events, and acquisition settings. State which operating scenarios the test covered rather than extrapolating from a short record to the entire system.
Do not compute crystal aging from the interrupt pulse width. Timer logic sets the expected width, and receiver and instrument thresholds influence the measured edges. Frequency accuracy and long-term timekeeping require a defined time reference and measurement window. Keep these tests separate.
If acceptance calls for the shortest pulse, do not test only the datasheet example with n=3. If the actual design permits n=1 at 4096 Hz, its expected width is half as long. Compare the receiver filter's allowable pulse width with the worst low window at its input. Without complete limits, retain observations as risk evidence rather than claiming a pass or failure against an undocumented specification. Record amplitude and threshold so a pulse that never crosses the receiver threshold is distinguishable from no pulse at all.
A second controlled comparison can keep the loaded value constant while changing the timer source. The slow case makes the sequence easier to capture; the fast case exercises narrow pulses and the reception path. Each demonstrates something different. If the normal host capture limit does not apply in low-power mode, mark the losses associated with that state separately. A trace in normal operation does not qualify standby.
Also distinguish the interrupt pin from the dedicated square-wave output. The latter has its own selector bits, and a periodic waveform there does not prove the timer generated interrupts. Save photographs or net names for both probe points. That is particularly helpful after a harness change, because a wrong connection and a wrong source selection can each produce orderly but misleading traces.
FAQ
Does a three-second timer keep the interrupt low for three seconds?
Not in pulse mode. With a 1 Hz timer source and n=3, repetitions are three seconds apart and the low pulse is 1/64 second. The flag-driven output is a different mode governed by its own settings and host behavior.
Does a missed poll prove the crystal stopped?
No. Check expected pulse width, sampling interval, and triggering first, then compare the interrupt pin with the host input. If the RTC produces the intended pulse and the host misses it, the crystal is not the first suspect.
