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

KDS DD3225TR Crystal RTC: EVENT Is a Timestamp Input, Not an Interrupt Output

For a door or lid switch that records when it moves, the KDS DD3225TR EVENT pin accepts a trigger. It is not the pin that reports a device interrupt to the controller. Establish which side drives each net, then validate the chosen polarity and bias. Correct wiring alone does not prove that the timestamp was stored correctly. Observing an interrupt edge likewise does not prove the event input was sampled as intended.

The KDS DD3225TR pin table defines pin 6 EVENT as a timestamp request input with selectable internal pull-up and input polarity. Pin 10 INTN is the open-drain output for the listed interrupt functions. This does not assume that EVENT automatically maps to any particular INTN response. Nor do OE's clock-output control thresholds apply to EVENT. Confirm triggering, registers, and interrupt combinations against the complete documentation for the delivered revision.

Draw three paths with distinct directions

The EVENT path runs from a switch, sensor, or processor output into the module. INTN is driven by the module and can be observed by the host in configurations that need it. Clock output is another net carrying timing edges, not a label for either of the other two. In the schematic symbol, give each pin a number, direction, voltage domain, and function. Check in particular that EVENT has not been declared as an output. When a word on a test-circuit figure seems ambiguous, use the model-specific pin table that explicitly defines I/O direction and obtain supplier confirmation before approval if necessary.

An open-drain driver or mechanical contact normally needs a defined pull-up path in the released state. Since the internal pull-up is selectable, do not assume it is on at shipment, startup, backup operation, and before firmware configuration. If the design uses an external resistor, evaluate voltage domains, low-level sink capability, leakage, and speed. When both pull-ups exist, they are not interchangeable. A push-pull driver still needs voltage compatibility in both on and off states. A logic table with high and low entries does not authorize a direct cross-domain connection.

Define polarity in terms of a physical action: does the pin go low when the contact closes, or rise when it opens? Use the same definition in photos, firmware variables, and procedure. Events may coincide with a supply transition or occur before the host is running. Verify the module and the external source under those conditions separately. One clean edge generated by a debugger after startup does not prove the real switch is captured in every power state.

Check whether pull-up current is missing from the budget

Consider a hypothetical 3.0 V battery domain, an external 100 kΩ EVENT pull-up, and the internal pull-up disabled. Assume the switch can pull the input to approximately 0 V and there are no other current paths. Ohm's law gives about 30 μA through the resistor while the net is low. If it stays low for 5% of the observed use case, the contribution averages about 1.5 μA. This is external resistor current, not the DD3225TR typical supply current or a recommended resistor value.

Now suppose the switch stays low with the lid open instead of releasing immediately. If low occupies 50% of the interval, average branch current is 15 μA. Each test could involve just one event while drawing very different battery charge. The number of timestamps does not account for how long the contact remains closed. In a system with a microamp-level standby budget, measure the path separately.

Increasing the pull-up resistance can reduce static current, but gives capacitance and leakage more influence over the usable high level. Protection parts, cables, filtering, and industrial interfaces can all produce slower or noisier edges than a fixture button. Judge the design against the correct input thresholds, minimum pulse behavior, and measured board waveform, not the current estimate. If complete EVENT electrical limits are missing, do not substitute clock output, serial bus, or OE figures. Record what remains to be confirmed and run a controlled board test.

Validate the input, timestamp readback, and interrupt separately

On the bench, capture EVENT and the INTN net if used, then correlate the readback on the same trigger timeline. Use a known event sequence and time reference. Record the switch voltage, polarity configuration, whether the host was active, the module supply state, and readback. Start with a clean test edge to prove direction, then use real contacts and cabling to check missed or extra records. A single timestamp read at the end does not show that nothing happened in between. Interpret it using the documented storage behavior.

For a real failure, inspect the pin waveform first. If EVENT does not reach an effective state, check bias, drive, and supply. If it does, check polarity, timestamp enable, and status read order. If the problem is missing host notification, check that the relevant interrupt is actually enabled, then check INTN pull-up and the receiver path. Separate “input did not arrive,” “expected record not retained,” and “host not notified.” This is more informative than swapping the oscillator. Host logs alone cannot locate the first two, since the log can arrive after the moment of interest.

Lock the event feature to the complete ordering part. The same 32.768 kHz or package code does not imply the same event pin, defaults, or firmware. Retain the manufacturer's pin table, selected hardware configuration, and software results. For an unused EVENT pin, follow the applicable unused-input guidance rather than tying it arbitrarily to INTN. Distinguish versions that need an external resistor from those relying on internal configuration in both assembly and test documents.

For a field cable, keep a fault-isolation reference as part of acceptance. Measure at the connector and at the module pad to see how much edge and steady-state level remains after protection and filtering. Verify a reproducible physical sequence such as holding the contact and then releasing it, checking both the qualified waveform and the stored result. Avoid leaving a high-capacitance probe in the production test just to make the edge easier to see; it can change the behavior of a weak pull-up. For events during power loss, document what remains powered, which side supplies the bias, and when readback is possible. Do not claim low-voltage behavior the product documentation does not specify. Fix the trigger source, firmware revision, and waveform test points in the production procedure.

Crystal RTC timestamp interface checklist

CheckRetainEvidence boundary
EVENT inputPin 6, driver, and trigger polarityAn INTN trace is not an EVENT measurement
Bias budgetPull-ups, low-state duty, and supply domainExternal load is not a device supply specification
TimestampKnown input sequence, readback, and statusA single software log is insufficient
INTN outputPin 10, pull-up, and selected functionA pin name does not define fixed event routing

Frequently asked questions

Does a selectable internal pull-up always eliminate the external resistor?

No. Confirm availability and when it takes effect for the delivered configuration, with leakage, waveform, and supplied states taken into account. The complete circuit determines whether an external resistor is needed.

Does a low INTN pulse prove that the EVENT timestamp was recorded?

No. INTN supports several functions. Check the current configuration, then compare a known EVENT trigger with the timestamp actually read from the module.

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.