-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The new BG7TBL GNSSDO-CM55 is nice and works well with satpulse. It has a u-blox M8T inside, and the RS232 port gives direct access to that. But the PPS output is not just passed through from the M8T: it is disciplined. (On an oscilloscope you can see the pulse width is 10ms, but the UBX configuration is the normal 100ms pulsewidth.) This makes this a great fit for PTP.
It also offers the potential to support holdover (see #152).
However, it requires a bit of configuration to work optimally:
- configuration shouldn't mess with the time pulse
- we want the pulse width for handling intel NICs' timestamping of both edges, but the pulse width that the LEA-M8T reports doesn't match the pulse width we get, so we should not use that
- it would make no sense to use the quantization error from UBX-TIM-TP
We can already do this by manually configuring using satpulsetool gps:
satpulsetool gps -s 9600 -d /dev/ttyUSB0 --binary --pvt-out time,leap,survey,tai,off --save
and then in satpulse.toml doing
[gps]
# this is the default
configure=false
# useful only for intel
pulseWidth=0.01
I think we could improve the output of the box experience by adding a TOML configuration option (tentative name disciplined, default false), which, when true, has the effect of
- not configuring the time pulse
- not getting the time pulse width
- not enabling UBX-TIM-TP, but relying on UBX-NAV-TIMEGPS instead (this will mean we won't get pulse corrections)
I believe we could implement this entirely in daemon/gps, although we would need to extend gpsevent.SetMsgOptions.
It's not a huge win, since the user should really user satpulsetool gps anyway to increase the baud rate to 38400, so that get satellites output.