List: usrp-users@lists.ettus.com
From: James Humphries
Re: [USRP-users] External reference for USRP2
Tue, Apr 19, 2016 5:48 PM
Hello,
Is this a program you wrote or are you using one of the example programs?
Which version of UHD are you using?
What are the specs of your 10MHz reference? Have you verified its operation?
-Trip
On Tue, Apr 19, 2016 at 1:06 PM, jj08 via USRP-users <
usrp-users@lists.ettus.com> wrote:
> Hello Experts,
>
> I am brand new to USRP.
>
> I have connected analog signal generator's sine wave output (999.999 MHz,
> -30dBm) to the USRP2 (Rx2).
>
> A Rb 10 MHz freq. standard provides reference signal to the signal
> generator as well as to the USRP2.
>
> I have set the carrier frequency of the radio at 1GHz.
>
> I am trying to see the output of rx_stream.
>
> I expected a 1kHz sine wave signal, but I just get a flat line. I want to
> see a sine curve, but have no idea what other parameters do I need to
> provide and where and how.
>
> Here are the values I have set:
>
> //-----------------------------------------------------
>
> //setup the program options
> po::options_description desc("Allowed options");
> ("args", po::value(&args)->default_value(""), "multi uhd device address args")
> ("type", po::value(&type)->default_value("short"), "sample type: double, float, or short")
> ("nsamps", po::value(&total_num_samps)->default_value(0), "total number of samples to receive")
> ("duration", po::value(&total_time)->default_value(0), "total number of seconds to receive")
> ("spb", po::value(&spb)->default_value(10000), "samples per buffer")
> ("rate", po::value(&rate)->default_value(10e6), "rate of incoming samples")
> ("freq", po::value(&freq)->default_value(1e9), "RF center frequency in Hz")
> ("gain", po::value(&gain), "gain for the RF chain")
> ("ant", po::value(&ant)->default_value("RX2"), "antenna selection")
> ("subdev", po::value(&subdev), "subdevice specification")
> ("bw", po::value(&bw), "analog frontend filter bandwidth in Hz")
> ("ref", po::value(&ref)->default_value("external"), "reference source (internal, external, mimo)")
> ("wirefmt", po::value(&wirefmt)->default_value("sc16"), "wire format (sc8 or sc16)
> ("setup", po::value(&setup_time)->default_value(1.0), "seconds of setup time")
> ("progress", "periodically display short-term bandwidth")
> ("stats", "show average bandwidth on exit")
> ("sizemap", "track packet size and display breakdown on exit")
> ("null", "run without writing to file")
> ("continue", "don't abort on a bad packet")
> ("skip-lo", "skip checking LO lock status")
> ("int-n", "tune USRP with integer-N tuning")
> ;
> //----------------------------------------------
>
>
> When I set reference source to "internal", and with all other setting as
> it is, I *do* get a desired output, a nice looking sine wave.
>
> What should I be doing to get a sine wave while using an external ref.?
>
> Any pointers would be highly appreciated.
>
> Thank you very much for your time and guidance.
>
> Cheers!
>
> -------------------------
> Online Storage & Sharing, Online Backup, FTP / Email Server Hosting and
> More.
> Drive Headquarters. Top quality services designed for business!
> Sign up free at: www.DriveHQ.com
> .
>
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>