An ideal integer divide-by-1024 stage turns a 16.384 MHz input into 16 kHz, with a 62.5 µs period. If the input runs 20 ppm fast, its actual frequency is 16,384,327.68 Hz and the divided output is 16,000.32 Hz. The absolute frequency error falls from 327.68 Hz to 0.32 Hz, while both frequencies remain 20 ppm above their respective nominal values.
Convert a 100-second interval into a count you can check
Use an independent reference to set a 100-second gate. The nominal output should produce 1,600,000 cycles. The fast clock in this example produces about 32 extra cycles, equivalent to a 2 ms overcount at the nominal period of 62.5 µs. With a shorter window, gate quantization and the trigger instant are more likely to mask the 0.32 Hz difference.
Review timing resolution and elapsed-time accuracy separately. To distinguish events tens of microseconds apart, check the counter's time step and capture method. To estimate how much time the clock gains over a day, check timebase accuracy, temperature effects, and the calibration method. Changing the divider rearranges the time step while the source clock's relative error carries through.
