1ms or better accuracy on a USB-connected GPS.
stm32f4 discovery board using a 10.5mhz internal timer is measuring the PPS interval from a Fastrax UP501 GPS reciever (claims "+/- 50 ns (RMS) accuracy"). The stm32f4 is connected via full-speed usb to a pc
See: usb gps
Send timestamp data to NTP on a 32 second interval instead of 16 second
This takes all samples within a 32 second window and graphs the number of samples within X µs of the mode
Comparison between run 6 and run 7:
percentile | Run 6 | Run 7 |
---|---|---|
50% | 3 µs | 5 µs |
90.0% | 22 µs | 20 µs |
99.0% | 46 µs | 43 µs |
99.9% | 56 µs | 53 µs |
Loopstats graph - local clock error (PPM, green) and USB/GPS offset (µs, red)
A longer poll time did not help