discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Locking USRP2 to external 10MHz reference in the


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Locking USRP2 to external 10MHz reference in the UHD/GRC universe
Date: Sun, 22 Aug 2010 20:02:38 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

Swig brings in the clock config struct into python. The python code looks like:

>>> from gnuradio import uhd
>>> ccfg = uhd.clock_config_t()
>>> ccfg.ref_source = ccfg.REF_SMA
>>> ccfg.pps_source = ccfg.PPS_SMA
>>> ccfg.pps_polarity = ccfg.PPS_POS

so the the grc xml wrapper you need that bit of code along with

$(id).set_clock_config(ccfg)

-Josh

On 08/22/2010 04:52 PM, Marcus D. Leech wrote:
How do I arrange to lock the USRP2 to an external 10MHz reference in the
UHD+GRC world?  Is there an "arg" I can pass when I
   create the UHD USRP2 simple source in GRC?

This is for some pulsar research, where an external stable reference
makes life soooo much easier.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]