update: turns out the problem was power squelch block - connecting self.u directly to self.packet_receiver did the trick...
-----Original Message----- From: Kresimir Dabcevic Sent: Mon 5/23/2011 12:03 PM To: j...@joshknows.com; discuss-gnuradio@gnu.org Subject: RE: [Discuss-gnuradio] UCLA Zigbee PHY examples updated for UHD > >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: discuss-gnuradio-bounces+kresimir.dabcevic=fer...@gnu.org on behalf of Josh Blum Sent: Mon 5/23/2011 12:54 AM To: discuss-gnuradio@gnu.org 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 Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio