In Epson's external 1 PPS timestamp method for the RA4000CE, 1024 seconds means elapsed time between two edges. Use pulse 1 for the first record and pulse 1025 for the last, not pulse 1024. Epson also describes a 32-second shortcut, in which one subsecond count introduces about ±30.518 ppm of measurement error rather than ±0.954 ppm. A short window can validate the test workflow but cannot replace the longer window for a single-digit ppm decision without an adequate uncertainty budget.
Count the Edge Intervals, Not the Number of Messages
Adjacent valid edges of a continuous 1 PPS reference are nominally one second apart. The first edge is time zero, not one second. Pulse 1025 is therefore 1024 seconds after the first. Pulse 1024 is only 1023 seconds after it. This assumes a continuous reference with no missed edges and no accidental capture of both polarities. If software numbers samples from zero, make clear whether the recorded number is a software index or a physical pulse number.
Epson supplies a 1 Hz external square wave to a supported EVIN input and uses two subsecond timestamp values. The manual specifies pulse 1 in Bank 6 and pulse 1025 in Bank 7. The point is to establish that the records used for the calculation correspond to the intended endpoints, not to store every pulse in the RTC. Other capture sources can leave apparently complete data. Verify the source and edges before using the subsecond fields.
Do not use the host's first register-read time as the physical time zero. Bus readout and application tasks can lag the edge. Save edge identity and host read time separately. The edges establish the measurement span; host timestamps help trace the record. If old records must be cleared before an authorized bench run, prevent a prior measurement's first record from being mistaken for the new baseline.
| Reference endpoints | Nominal elapsed time | Use |
|---|---|---|
| Pulses 1 and 2 | 1 second | Verify how indexing starts |
| Pulses 1 and 1024 | 1023 seconds | Not Epson's long-window method |
| Pulses 1 and 1025 | 1024 seconds | Long window; about ±0.954 ppm per count |
| Start and a pulse 32 seconds later | 32 seconds | Short window; about ±30.518 ppm per count |
Why One Count Costs More in a Shorter Test
Both methods compare subsecond positions after a known interval. One count represents about 1/1024 second. Expressed over 1024 seconds that is about 0.954 ppm; over 32 seconds it is about 30.518 ppm. The factor of 32 comes from the shorter observation, not a different subsecond oscillator. Epson also uses a factor of 32 when scaling the short-method result. That scaling cannot recover long-window measurement resolution.
Suppose engineering needs to distinguish errors of about 3 and 6 ppm. Considering count quantization alone, one count in the short test is about 30.5 ppm, far larger than the difference. The long method offers finer quantization, but it does not guarantee final product accuracy. Reference quality, input detection, temperature and other conditions still affect the budget. If the task is only to check that software retrieved two endpoints and mapped the correction direction correctly, the short method can be useful during development.
Do not advertise ±0.954 ppm as the accuracy of the entire bench. It describes the one-count measurement contribution Epson identifies, not generator offset, edge variation or processing errors. Programming step, observable frequency difference and residual after calibration are separate quantities even if some numbers happen to resemble one another.
Verify the Endpoints Before Interpreting the Fields
Check input electrical conditions, edge selection, configuration and readout against the applicable manual. Preserve evidence of at least the beginning and end pulse numbers from the independent reference. Record the input channel, reference mode, both raw subsecond values and the buffer's starting state. If multiple capture sources are possible, verify both records came from the intended reference. Do not let a software capture or unrelated event become the last record by accident.
Subsecond fields have a limited range and endpoints can fall near rollover. If a difference has an unexpected direction, do not drop its sign or replace checking with an absolute value. Keep the raw fields, enclosing time context and method. Do not force an out-of-range result into a legal correction code. Check for a reference interruption, wrong record or unintended timing path, then repeat if needed. An allowed range is a validity check, not permission to repair raw input.
Control the environment during the long run. Supply and temperature drift can affect what the result represents. Use separate records for separate conditions rather than combining endpoints. If compensation settings or reference frequency change during the test, begin a new interval.
When the Short Run Is Useful and When to Repeat the Long Run
A short run is useful for identifying the capture channel, validating pulse indexing and checking instrumentation. Label it coarse. If a few ppm matter to the final calibration, choose a sufficiently long window and preserve independent reference evidence. If a run stops after pulse 1024, do not report it using a fixed 1024-second assumption. Repeat under the approved procedure or record that the test did not qualify for that method.
Keep the actual edge numbers, span, record locations and input-reference state with the values. Two raw subsecond numbers alone will not tell another team whether the span was 32 or 1024 seconds. This evidence remains useful if firmware later changes how records are retrieved.
Report endpoint validity, adequacy of the measurement budget, and final time performance separately. The first two support the measurement described here. The last requires verification against an independent standard after calibration, not just a successful register write.
Frequently Asked Questions
Why aren't 1024 pulses enough?
From pulse 1 to pulse 1024 there are 1023 intervals. With continuous valid 1 PPS, pulse 1025 is the endpoint for Epson's 1024-second procedure.
Does zero count difference over 32 seconds prove zero frequency error?
No. A count corresponds to about 30.518 ppm at that duration. A zero reading is a quantized observation, not a guarantee at a finer limit. Use a longer window and include other uncertainty contributions when the application calls for it.
