ok. thanks for the tip on the images. I will do likewise.
A few things to try and nail this...
1. It looks like you have a server on your LAN at 10.0.0.8 I would make it update quicker so you can debug faster. I would dalos make it no select so we can focus on the NMEA + PPS (my guess is you will shutdown the 10.0.0.8 eventually)
- Code: Select all
server 10.0.0.8 minpoll 3 maxpoll 3 iburst noselect
2. I re-read the PPS help page, and your fudge factors might be causing you grief. Check out the help at:
http://www.eecis.udel.edu/~mills/ntp/ht ... ver22.htmlyou can remove flag1 and I would flip flag3 as follows:
- Code: Select all
server 127.127.20.0 mode 24 minpoll 3 maxpoll 3 iburst prefer #use ZDA only!
fudge 127.127.20.0 flag1 1 time2 0.350
server 127.127.22.0 minpoll 3 maxpoll 3
fudge 127.127.22.0 flag3 0
server 10.0.0.8 minpoll 3 maxpoll 3 iburst noselect #set to monitor only.
3. The images of the scope are interesting. It would appear the PPS pulse has quite a long duration (it looks like 50 millisecs). GPS units I am familiar with are just a few microseconds in duration (which sometimes causes problems with RS232 interfacing as the uart chip fails to pick it up)
4. The scope indicates the RS232 data consumes almost the entire second. It would be good to remove the $PGTOP sentence. I would chase up adafruit on this.
5. As an alternative approach (for debug purposes), you could use the 10.0.0.8 to get the seconds...
- Code: Select all
#skip the NMEA output for now...
#server 127.127.20.0 mode 24 minpoll 3 maxpoll 3 iburst prefer #use ZDA only!
#fudge 127.127.20.0 flag1 1 time2 0.350
server 127.127.22.0 minpoll 3 maxpoll 3
fudge 127.127.22.0 flag3 0
server 10.0.0.8 minpoll 3 maxpoll 3 iburst
sureelectronics 'lost' my order, so I am more than a week away from getting hold of a GPS

I now expose the results of ntpq in my pi web 'advanced' page at:
http://secondthoughts.no-ip.org. It is kind of nice to see the quality in a web page.