I am trying to use the DBSRX daughterboard with a USRP1.
I have tried several things to tune it to a certain frequency but
seem to work.
- I used usrp_fft.py and it starts saying “Unable to set Initial
in the status bar.
- I tried usrp_rx_cfile.py like this:
usrp_rx_cfile.py -g 94 -d 8 -R a -f 1.57542G -N 100M op
and it gave me the following output:
Using RX d’board A: DBS Rx
USB Sample Rate 8M
Failed to set frequency
Then I tried writing a small python script myself which was
self.src0 = usrp.source_c(0,8); subdev_spec = usrp.pick_rx_subdevice(self.src0)
subdev = usrp.selected_subdev(self.src0, subdev_spec)
b = subdev.set_gain(104)
a = self.src0.tune(0,subdev,fc)
print "ADC freq: "+repr(self.src0.adc_freq()) print "Decim: "+repr(self.src0.decim_rate()) print "Daughterboard: "+subdev.name() print "\t Freq Range: "+repr(subdev.freq_range()) print "Set gain to 104db: "+repr(b) if a: print "true" else: print "false"
And I got the following output:
ADC freq: 64000000
Daughterboard: DBS Rx
Freq Range: (500000000.0, 2600000000.0, 1)
Set gain to 104db: True
I am unable to set the frequency to anything in the given range for the
When I turn on the USRP, the green light on the board close to the USB
blinks fast. Once I run a script using the USRP it starts blinking
But the script doesn’t complete either. (i.e if I use the
it would hang after printing the first two lines of the output I have
above. After which I have to press Ctrl+Z and then run sudo kill -9
After which every time I run a program that uses USRP, I am unable to
the center frequency.
I’am using GNURadio 3-3.0 on Ubuntu 10.04 with linux kernel 2.6.32.
I’am not sure if I am doing something stupid or there is something wrong
with my daughterboard. I’am out of ideas at this point and any help will