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

Why Can 1 ms Polling Miss the TaiTien DTQ-100A’s 1PPS Output?

A pulse every second does not mean it stays high for a millisecond. TaiTien specifies a 3.3 V CMOS time output with a typical pulse width of 20 µs for the DTQ-100A. A signal that narrow can fit entirely between successive 1 ms software samples. Even if every pulse is present, software can read a constant low. Near-fixed phase between polling and the pulse can produce repeated misses rather than just an isolated dropout.

Put the numbers on one timeline

Suppose the samples occur at 1.000 s and 1.001 s and the output is high from 1.000250 s to 1.000270 s. Both samples miss it. The 20 µs figure is typical, not a guaranteed minimum pulse width. Faster polling also does not eliminate gaps caused by scheduler delay, interrupt masking, or sleep. Use a timer or hardware edge-capture input whose electrical thresholds and minimum pulse width are compatible, and use the edge specified by the system timing convention.

Compare captured edges with the application log

Check that the pulse reaches both the timing-module output and the receiver, using a measurement arrangement consistent with the specified 10 MΩ in parallel with 10 pF load. Compare the hardware capture count to the application’s records. If capture is continuous but the log has gaps, inspect buffering and firmware. If capture itself misses edges, revisit thresholds, filtering, and minimum input pulse width. Test under representative loading and peak processing activity. Verify both missing and duplicate events rather than treating one successful interrupt as acceptance.

Related selection guide: MERLIN Crystal Timing: Clock oscillators

Resource link: https://www.mecxtal.com.cn/en/products/oscillators.html

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.