Network Time Foundation:
%DISCUSS% %SECTION0% Configuring Garmin Refclocks %SECTION1% General Notes The Garmin GPS18-LVC works well with NTP. Beware: The other models of the GPS18 don't have PPS support. You should be able to get one for under $100. It comes with bare wires. You need to supply 5V and wire it up to a DB-9 connector. You can get the 5V from a USB connector. You can also get 5V from some serial cards. (The context is powering things like bar code scanners.) The SIIG !CyberSerial 4S has jumpers to supply 5V or 12V on pin 9/RI. %SECTION1% GPS18x-LVC specifics Please note that the GPS18x-LVC sometimes gives odd huge offsets in the range of -600ms upto -700ms. One specific model was examined a bit closer and showed a varying delay between the asserting edge of the PPS signal and the receive time of the $GPRMC sentence of 580ms to 610ms at 4800bd. (Only $GPRMC was enabled in the GPS18x and the NMEA driver, though according to the GPS18x spec $GPRMC should be the first sentence in a burst anyway if enabled in the receiver. See section 4.2 of Garmin's GPS18x tech spec.) Using a fudge time2 of 0.600 was needed to avoid malfunction of the NMEA clock driver. I (mailto:firstname.lastname@example.org) do not know if this affects all GPS18x-LVC models or if this is baud rate dependent. (Apart from the transmission duration itself, which is of course baud rate dependent _per se_ and should account for ~150ms for a $GPRMC at 4800bd.) If you experience severe trouble with the GPS18x-LVC a possible solution is to configure a few good public NTP servers as reference and configure the NMEA driver as a 'noselect' peer with PPS disabled and a fudge time2 of 0.0. When the system becomes stable, use the negated offset given for the NMEA driver as fudge time2, remove the 'noselect' from the clock driver and enable PPS processing with fudge flag1. It seems that using the GPS18x-LVC without PPS support and some basic calibration cannot be recommended. *Addition:* On Sunday, Dec,15 2019 I (mailto:email@example.com) had the chance to discover the internal base date of my GPS puck: It is obviously Apr,30 2000 for firmware version 4.00. It was easily enough to observe, as the date field in $GPRMC showed 300400. This will not affect NTPD unless the driver's date-trust mode bit is set; it is OFF by default for good reason. Also note that this is a property of the firmware and might not be the same date for all versions of the GPS18x firmware. Firmware version 4.40 fixes this problem -- at least for this round. %SECTION1% Related Links * https://www.satsignal.eu/ntp/FreeBSD-GPS-PPS.htm * https://time.qnan.org * https://support.ntp.org/bin/view/Support/ConfiguringNMEARefclocks (more comments on the GPS 18x LVC) __Related Topics:__ GarminRefclockUsers
This topic: Support
Topic revision: r15 - 2019-12-15 - 11:21:24 -
Copyright &© 1999-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site?