-
-
Notifications
You must be signed in to change notification settings - Fork 5
Get PPS working with GPS #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The M2 card is definitely sending 1PPS: IMG_1666.mp4But reading the Tindie product page docs, it looks like the PPS output on the GPS module is linked directly to the PPS in on the NIC:
|
Then I can set the output to go to the SMA nearest the 40-pin connector on the HAT:
|
Trying to discipline to 1PPS from GNSS, though, seems to fail:
More info:
|
Ah... found:
Some of the other docs on the tindie page indicate the default Pi OS kernel seems to only allow 'both' rising/falling edge for the i226. If you use the default ( |
The patch now lives here: https://github.com./Time-Appliances-Project/Incubation-Projects/blob/master/Software/I225_ppsin_fix/i225_pps_rising_edge_only_1-31-2025.patch |
Aha! Reading through some Intel documentation on timestamping, if I override the pulse width parameter from the default, I can get sync:
|
Trying to discipline the system clock (
I'm guessing
|
If I stop
See #12 for Chrony follow-up. |
Fixed by telling Chrony to use the PHC /dev/pps0 as the time source, and now I'm also seeing the PPS value in
Just need to get the fix a little better, likely with the outdoor antenna, because the VDOP/HDOP are like 3-5 now (+/- 25m). Was better earlier, after the Pi had been running for a few days, but after a reboot, took a while to get his new fix. |
I noticed in the course of debugging #12 that cgps / gpsmon aren't showing any PPS output from the GPS module... that would be pretty important to getting nanosecond-accurate time.
I see there are two PPS devices currently:
But if I try querying them, I get nothing:
(Same for PPS1).
gpsmon
shows no PPS available:The text was updated successfully, but these errors were encountered: