Skip to content
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

ERROR: Failed to synchronize USRP time to GPS time with sync_to_gps example #94

Open
ohault opened this issue Dec 9, 2024 · 0 comments

Comments

@ohault
Copy link

ohault commented Dec 9, 2024

~/antsdr_uhd/host/build/examples$ ./sync_to_gps

`Creating the USRP device with: ...
[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.1.0.0-0-d88950d2
[INFO] [ANT] Detected Device: ANTSDR
[INFO] [ANT] Detecting internal GPSDO....
[INFO] [GPS] Found a generic NMEA GPS device
[INFO] [ANT] Initialize CODEC control...
[INFO] [ANT] Initialize Radio control...
[INFO] [ANT] Performing register loopback test...
[INFO] [ANT] Register loopback test passed
[INFO] [ANT] Performing register loopback test...
[INFO] [ANT] Register loopback test passed
[INFO] [ANT] Setting master clock rate selection to 'automatic'.
[INFO] [ANT] Asking for clock rate 16.000000 MHz...
[INFO] [ANT] Actually got clock rate 16.000000 MHz.
Using Device: Single USRP:
Device: B-Series Device
Mboard 0: B210
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: FE-RX1
RX Channel: 1
RX DSP: 1
RX Dboard: A
RX Subdev: FE-RX2
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: FE-TX1
TX Channel: 1
TX DSP: 1
TX Dboard: A
TX Subdev: FE-TX2

Synchronizing mboard 0: B210

Helpful Notes on Clock/PPS Selection
As you can see, the default 10 MHz Reference and 1 PPS signals are now from the GPSDO.
If you would like to use the internal reference(TCXO) in other applications, you must configure that explicitly.
You can no longer select the external SMAs for 10 MHz or 1 PPS signaling.


Waiting for reference lock........LOCKED
GPS Locked
USRP time: 1733743181.000000238
GPSDO time: 1733743181.000000000

ERROR: Failed to synchronize USRP time to GPS time
`
It should have been resolved in EttusResearch/uhd#283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant