discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GPIO Rx Streaming


From: Juha Vierinen
Subject: Re: [Discuss-gnuradio] GPIO Rx Streaming
Date: Mon, 21 Jun 2010 17:41:31 +0000

I'm not sure if the streaming works with the standard firmware. You'll
probably need to use a special firmware (std_2rxhb_2tx_dig.rbf). I'm
actually using std_2rxint_2tx_dig.rbf, but this is only because I need
a different type of filter (boxcar).

juha

On Mon, Jun 21, 2010 at 14:28, Tim Pearce <address@hidden> wrote:
> Hi,
>
> I'm trying to use the LSB streaming functionality but cant seem to get the
> following code to work:
>
> -----------
>
> self.u=usrp2.source_16sc(options.interface)
> self.u.set_center_freq(options.freq)
> self.u.set_decim(options.decim)
>
> print "Current GPIO State: " + str(self.u.read_gpio())
> print "GPIO Streaming: " +str(self.u.enable_gpio_streaming(1))
>
> self.head=gr.head(gr.sizeof_float, 100000)
> self.sink=gr.file_sink(gr.sizeof_float, 'testfile')
>
> self.connect(self.u,self.head,self.sink)
>
> -------------
>
> Looking through the firmware I believe I should be using IO Pin 15 for the
> LSB of I and Pin 14 for the LSB of Q - I can see the bit toggling from the
> print "current GPIO state" statement but opening the captured file in a hex
> editor I cant see any change in the LSB of each int16 regardless of the
> level of pin 15/14.
>
> I'm testing with a BasicRX daughterboard and have updated the firmware to
> the latest published binaries.
>
> Am I missing something obvious?
>
> Thanks in advance,
>
> Tim
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>



reply via email to

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