discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] USRP N210 10MHz reference input


From: Rob Watson
Subject: Re: [Discuss-gnuradio] USRP N210 10MHz reference input
Date: Fri, 31 Dec 2010 11:27:49 -0800 (PST)

Thanks Josh - knowing what to look for helped - as does my using the right
file =) Just confirmed operation by gently phase modulating my reference
clock from a signal generator with a CW RF input - the sample phases follow
as they should.
R.


Josh Blum-3 wrote:
> 
> 
>> The problem is this: the 'Ref Clock' switch in the 'UHD Single USRP
>> Source'
>> doesn't appear to function. Switching it to External does seem to do
>> anything. The GRC code is the same no matter whether I set the ref clock
>> to
>> int or ext (I checked the python code with diff).
>> 
> 
> Works for me, here is my diff when i switch the ref to External and
> click generate:
> 
>>                      io_type=uhd.io_type_t.COMPLEX_FLOAT32,
>>                      num_channels=1,
>>              )
>> +            _clk_cfg = uhd.clock_config_t()
>> +            _clk_cfg.ref_source = uhd.clock_config_t.REF_SMA
>> +            _clk_cfg.pps_source = uhd.clock_config_t.PPS_SMA
>> +            _clk_cfg.pps_polarity = uhd.clock_config_t.PPS_POS
>> +            self.uhd_single_usrp_source_0.set_clock_config(_clk_cfg);
>>              self.uhd_single_usrp_source_0.set_samp_rate(samp_rate)
>>              self.uhd_single_usrp_source_0.set_center_freq(rx_freq, 0)
>>              self.uhd_single_usrp_source_0.set_gain(0, 0)
> 
> -Josh
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://old.nabble.com/USRP-N210-10MHz-reference-input-tp30564787p30564992.html
Sent from the GnuRadio mailing list archive at Nabble.com.




reply via email to

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