Check the shortest legitimate event and the timestamp bits marked invalid in the selected mode. A pulse on a scope does not guarantee an RTC record, and displayed subsecond digits do not make every stored bit valid.
A battery-powered recorder uses its real-time clock (RTC) to log a door switch and a separate alarm module. After firmware enables input debounce, duplicate records from the mechanical switch decrease, but some short alarm pulses no longer leave timestamps. Service staff still see fractional times in memory and assume precision is unchanged. Separate three questions: did the pulse meet the electrical and width criteria, was the internal event accepted, and which timestamp fields are valid for accepted events?
The filter period affects both input qualification and timestamp decoding
Seiko Epson’s RX8111CE application manual ETM61E-04 identifies EVIN as a timestamp trigger input. EHL chooses low- or high-level triggering. EVIN thresholds are referenced to VOUT, not directly to the host bus supply VIO. ET1:ET0 selects the filter period: 00 has no debounce, 01 is about 3.9 ms, 10 is about 15.6 ms, and 11 is 125 ms. The EHL section states that the input must last longer than the selected debounce cycle to be detected. For sign-off, check the time the signal stays across its valid threshold at the RTC pin, not only the source pulse width. Pull-ups, level translation, or slow edges can change it.
The ET table also identifies specific subsecond bits that do not store correct data. For ET = 01, bit 0 of 20h must not be treated as valid. For ET = 10, the list includes bits 0 and 1 of 20h and bit 0 of 21h. Check the affected addresses in the multiple-timestamp area separately; do not apply a single-record mask to every storage layout. The table describes all subsecond bits as valid with ET = 00. Valid fields do not establish absolute timestamp accuracy, synchronization accuracy, or acceptance of pulses of arbitrarily short duration.
Worked example: The same pulse has different outcomes across modes
Suppose a contact bounce lasts 2.0 ms at the RTC’s effective threshold, while the shortest valid alarm pulse lasts 8.0 ms. As a screening exercise, 3.9 ms falls between them: the bounce is 1.9 ms shorter and the valid pulse 4.1 ms longer. A 15.6 ms setting exceeds the normal pulse by 7.6 ms, so changing to that setting can reject events the logger needs. Select the polarity for the real connection and allow margin for sampling phase, pulse-width variation, and power mode. This example screens the design; subtraction using nominal periods is not a production qualification.
Consider a record that was stored. Suppose two reads differ only in bit 0 of 20h and no other field or event status gives independent evidence. If the record was generated with ET = 01, the differing bit does not establish that the events were 1/1024 s apart, and it should not be part of a unique event identifier. Keep the full raw bytes for analysis and export the interpreted time using the fields valid in that mode, along with a quality indicator. Do not clear invalid bits and then claim the same source precision as an unfiltered record.
| Check | Evidence to retain | What it distinguishes |
|---|---|---|
| Input pulse | Timestamped EVIN waveform, effective threshold, and VOUT | A visible pulse versus one accepted by the filter |
| Debounce configuration | ETS, EHL, ET, and revision at capture | Whether polarity and qualification period match the event |
| Timestamp data | Slot, raw bytes, and valid bits for that address | Display resolution versus usable data |
| Notification and storage | EVF, record location, and interrupt state | Rejected input, missing notification, and overwritten records |
Verify event capture and time quality separately
Choose known events and mark pulse start with an independent instrument. Capture EVIN, VOUT, and the interrupt if needed rather than relying on a log from the source board. Test inputs below, near, and above the selected period, holding amplitude, edges, and repetition intervals under control. Vary pulse alignment near the boundary and record whether events are accepted. A single trial at one width cannot establish worst-case behavior. If the product uses both a mechanical switch and a digital alarm, exercise both paths. A door-switch pass does not qualify a short alarm. Repeat in backup mode: the input reference and driver state can differ.
After the event flag changes, retain both notification evidence and raw timestamp bytes. If a new record is absent, check ETS, the debounce mode at capture, and the input pulse, then inspect whether the timestamp store reached a limit and which slot is being read. An occasional low interrupt does not prove that every record was updated correctly. A bit that always looks the same does not establish actual sampling resolution. Include the capture configuration in production logs so that older records are not decoded using the settings of a later firmware revision.
For purchasing and replacement qualification, keep “records the shortest required event” and “provides usable time information” as separate entries. If a short event cannot be extended and a shared input requires different treatment for mechanical and digital sources, evaluate external qualification or a different event capture architecture under an approved plan. Keep known test records for each parsing mode and replay them after firmware updates, so correct display formatting does not conceal incorrect byte decoding.
Split board testing into two stimulus sets. First vary only pulse width, holding levels, polarity, and repetition period steady. Record acceptance against an independent timestamped stimulus list. Then use pulses clearly longer than the debounce period and vary arrival relative to the RTC timebase to compare stored times against an external reference. The first test addresses missed events. The second addresses whether recorded times serve the application. Log the scope threshold and input supply for both. If the effective threshold changes in backup mode, measure the effective width again rather than copying the powered result.
The decoder can also be checked offline without stressing hardware. Copy a controlled raw record and change only a bit marked invalid, holding the mode, slot, and other fields constant. In the relevant ET mode, that bit alone should not change the interpreted time. Preserve the distinct bytes as diagnostic data. If the system deduplicates events, use source, slot sequence, and independent evidence rather than treating equal displayed milliseconds as the same event. After a mode change, verify that old and new records can be distinguished; the configuration at read time must not overwrite capture conditions.
Identify whether the first production sample used a door contact or a digital pulse. Set a worst-case minimum with margin for each, and count false alarms separately from misses.
Frequently asked questions
The filtered output still displays milliseconds. Can I infer the order of two events? Not from formatting alone. Check the valid fields, actual qualification delay, and whether both events were saved. Then determine if the result can resolve their order.
An 8.0 ms pulse exceeds the 3.9 ms nominal setting. Is production cleared? No. That is useful for screening, but check voltage at the pin, width variation, polarity, and backup-mode results.
