discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] UCLA Zigbee PHY examples updated for UHD


From: Kresimir Dabcevic
Subject: Re: [Discuss-gnuradio] UCLA Zigbee PHY examples updated for UHD
Date: Mon, 23 May 2011 12:03:44 +0200


Thanks for the reply Josh.

However, I'm confused by all the frequency setting/tuning functions at our disposition. In my example,
1)I am setting cordic-freq (set by parser) while calling the main program, e.g. -c 2450000000 -that's the frequency I want to set my USRP to.

2)output of
self.u.set_center_freq(options.cordic_freq, 0)
print "Center frequency: %d" %(self.u.get_center_freq())
is:
Center frequency: 2450000000

3)output of
uhd.tune_request(options.cordic_freq, 0)
print "Center frequency: %d " %(self.u.get_center_freq())
print ("%s") %(uhd.tune_result())
is:
Center frequency: 2600000000
Tune Result:
    Target RF  Freq: 0.000000 (MHz)
    Actual RF  Freq: 0.000000 (MHz)
    Target DSP Freq: 0.000000 (MHz)
    Actual DSP Freq: 0.000000 (MHz)

Why is uhd.tune_request setting the center frequency to 2.6 instead of 2.45 GHz?
Also, am I calling the uhd.tune_result function wrong - why are all the values 0?
Furthermore, what is the difference between self.u.set_center_freq(options.cordic_freq,0).actual_rf_freq and self.u.set_center_freq(options.cordic_freq,0) functions?

Regards,
Kresimir

-----Original Message-----
From: address@hidden on behalf of Josh Blum
Sent: Mon 5/23/2011 12:54 AM
To: address@hidden
Subject: Re: [Discuss-gnuradio] UCLA Zigbee PHY examples updated for UHD


>> Blocked waiting for GDB attach (pid = 5466)
>> Press Enter to continue:
>> cordic_freq = 2.45G

> Not sure whats wrong, but, cordic_freq should be the error in tuning the
> RF center freq, so only a few kHz really. That may be a good place to
> start looking.
>
> -josh

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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