On 02/21/2021 07:00 PM, Guillermo Gancio via USRP-users wrote:
Dear Marcus,
Thank you very much for your answer,
the reference that I use comes from a 10MHz GPSDSO, that I also use
with other ettus boards without any problem as receivers.
I did some tests using the Python APIs and the reference sensor shows
a locked state, then I add a 5 seconds delay on the tx_waveform.cpp
right after setting the reference value, and the reference now appears
locked..
Code:
if (vm.count("ref")) {
usrp->set_clock_source(ref);
}
usleep(1000000*5);
And the result is...:
Setting device timestamp to 0...
Checking TX: LO: locked ...
Checking TX: Ref: locked ...
Press Ctrl + C to stop streaming...
without the 5 second delay , I got:
Setting device timestamp to 0...
Checking TX: LO: locked ...
Checking TX: Ref: unlocked ...
Error: AssertionError: ref_locked.to_bool()
in int _main(int, char**)
at /home/user/uhd/host/examples/tx_waveforms.cpp:286
Thanks again !!
All the best.
Ah, so this is just the tx_waveforms code being a bit too hasty to check
for ref_locked after setting the reference. I'm guessing that a few
hundred milliseconds would be entirely adequate in all cases...
El vie, 19 feb 2021 a las 17:58, Marcus D. Leech via USRP-users
(<[email protected]>) escribió:
On 02/19/2021 12:31 PM, Guillermo Gancio via USRP-users wrote:
Dear all,
I'm using a B205 as a CW signal generator with the example
tx_waveform, in general it works ok, but if I try to use a 10MHz
external reference (option --ref external) I got the error, same issue
if I replace the 10MHz with a PPS, (--pps external), power levels are
ok.
Checking TX: Ref: unlocked ...
Error: AssertionError: ref_locked.to_bool()
in int _main(int, char**)
at /home/ggancio/uhd/host/examples/tx_waveforms.cpp:285
This is with a fresh install
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501;
UHD_4.0.0.0-93-g3b9ced8f
Any idea on this? Thank you very much!
Cheers.
You should probably check the quality of your 10MHz signal going into
the B210. I've used all kinds of external 10MHz references for B210
and it has never complained. 10MHz OCXO with a TTL buffer. Rubidium
clock with a TTL buffer. Octoclock-G. Never had a problem.
Check what your 10MHz signal looks like into a 50Ohm termination on a
good quality oscilloscope. Does it look reasonably pure, or are there
unwanted ringing artifacts?
If you're driving the reference input "too hard", you may be creating
unwanted spurs that confuse the reference PLL. Make sure the level
is not too "loud".
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com