aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2011-06-17 15:09:16 -0700
committerNick Foster <nick@ettus.com>2011-06-17 15:09:16 -0700
commit6f6364f73aad1262fdbe88ad97128f7844764c99 (patch)
treefd8f72d6143e7e543e4e62b2f4c7f9acf94efbb7 /host/docs
parent7af605b247ee9331c29c23229252a101b7d40352 (diff)
downloaduhd-6f6364f73aad1262fdbe88ad97128f7844764c99.tar.gz
uhd-6f6364f73aad1262fdbe88ad97128f7844764c99.tar.bz2
uhd-6f6364f73aad1262fdbe88ad97128f7844764c99.zip
UHD: implemented gps_locked sensor. usrp2 mboard doesn't init VITA time if time not valid.
Diffstat (limited to 'host/docs')
-rw-r--r--host/docs/sync.rst19
-rw-r--r--host/docs/usrp2.rst5
2 files changed, 6 insertions, 18 deletions
diff --git a/host/docs/sync.rst b/host/docs/sync.rst
index 9284d8e33..3cb13fbf3 100644
--- a/host/docs/sync.rst
+++ b/host/docs/sync.rst
@@ -102,22 +102,11 @@ and the user can also parse this string to determine GPS time:
usrp->set_time_next_pps(uhd::time_spec_t(gps_time+1));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Method 3 - query the gps_time sensor
+Method 3 - internal GPSDO
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-This is a variant of method 2 for USRPs with internal GPSDOs.
-The user can query the gps_time sensor to wait for the NMEA string.
-
-::
-
- //wait for NMEA string from internal GPSDO
- usrp->get_mboard_sensor("gps_time");
- usrp->set_time_next_pps(uhd::time_spec_t(0.0));
-
- -- OR --
-
- //wait for the NMEA string and set GPS time
- const time_t gps_time = usrp->get_mboard_sensor("gps_time").to_int();
- usrp->set_time_next_pps(uhd::time_spec_t(gps_time+1));
+USRPs with internal GPSDOs properly configured will automatically
+configure themselves to set the VITA time to current UTC time. See the
+GPSDO application note for more details.
------------------------------------------------------------------------
Synchronizing channel phase
diff --git a/host/docs/usrp2.rst b/host/docs/usrp2.rst
index 88b217f1b..fa811d0f6 100644
--- a/host/docs/usrp2.rst
+++ b/host/docs/usrp2.rst
@@ -349,9 +349,8 @@ Test the PPS input with the following app:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Internal GPSDO
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-USRP-N2XX models can have an optional internal GPSDO.
-To use the GPSDO with UHD, you must burn an EEPROM setting
-so that UHD knows that the internal GPSDO was installed.
+Please see the GPSDO application note for information on configuring and
+using the internal GPSDO.
**Installation instructions:**