discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] byte-wide ADC transfers


From: Clark Pope
Subject: Re: [Discuss-gnuradio] byte-wide ADC transfers
Date: Sun, 12 Feb 2006 22:36:24 -0500

I was able to get it work if I comment out the call to make_format and hard coding the format:

       if options.width_8:
           width = 8
           shift = 8
           #format = self.u.make_format(width, shift)
           format = 0x288
              print "format =", hex(format)
           r = self.u.set_format(format)
           print "set_format =", r


However, it still doesn't work at the 16 MHz data rate even though 8 Mhz 16-bit data rate does work?

----Original Message Follows----
From: "Clark Pope" <address@hidden>
To: address@hidden, address@hidden, address@hidden
CC: address@hidden
Subject: Re: [Discuss-gnuradio] byte-wide ADC transfers
Date: Sun, 12 Feb 2006 19:15:19 -0500

I still have not gotten this to work. I looked in cvs for gr-usrp/src/usrp.py and there is nothing in there about setting the format? I do see it supported in the firmware.


----Original Message Follows----
From: "Clark Pope" <address@hidden>
To: address@hidden, address@hidden
CC: address@hidden
Subject: Re: [Discuss-gnuradio] byte-wide ADC transfers
Date: Tue, 17 Jan 2006 09:35:18 -0500

Has anyone tried this recently? I've updated to latest cvs and when I run usrp_fft.py with the -8 option I get the following error:

Traceback (most recent call last):
 File "./usrp_fft.py", line 220, in ?
   main ()
 File "./usrp_fft.py", line 216, in main
   app = stdgui.stdapp(app_flow_graph, "USRP FFT", nstatus=1)
File "/home/base2it/gr/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py", line 36, in __init__
   wx.App.__init__ (self, redirect=False)
File "/home/base2it/gr/lib/python2.3/site-packages/wx-2.6-gtk2-ansi/wx/_core.py", line 7473, in __init__
   self._BootstrapApp()
File "/home/base2it/gr/lib/python2.3/site-packages/wx-2.6-gtk2-ansi/wx/_core.py", line 7125, in _BootstrapApp
   return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/home/base2it/gr/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py", line 39, in OnInit
   frame = stdframe (self.flow_graph_maker, self.title, self._nstatus)
File "/home/base2it/gr/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py", line 60, in __init__
   self.panel = stdpanel (self, self, flow_graph_maker)
File "/home/base2it/gr/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py", line 81, in __init__
   self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
 File "./usrp_fft.py", line 70, in __init__
   format = self.u.make_format(width, shift)
File "/home/base2it/gr/lib/python2.3/site-packages/gnuradio/usrp.py", line 212, in __getattr__
   return getattr(self._u, name)
AttributeError: 'usrp1_source_c_sptr' object has no attribute 'make_format'


----Original Message Follows----
From: Eric Blossom <address@hidden>
To: Lamar Owen <address@hidden>
CC: address@hidden
Subject: Re: [Discuss-gnuradio] byte-wide ADC transfers
Date: Mon, 16 Jan 2006 17:48:33 -0800

On Mon, Jan 16, 2006 at 07:00:43PM -0500, Lamar Owen wrote:
> On Monday 16 January 2006 18:24, Clark Pope wrote:
> > I believe somebody was working on modifying the USRP fpga so that it would
> > stream 8-bits I and 8-bits Q instead of 16-bit to get a wider bandwidth
> > into the PC? Is this in the latest CVS for the fpga? Any instructions on
> > how to use it?
>
> Yes, this is in the latest, as well as the last release version of the USRP
> code.  See host/lib/usrp_standard.h under the section about the Rx data
> format for details.
>
> See the latest usrp_fft.py in the gnuradio examples for how to use it from a
> high level.  See the gr-usrp stuff for a lower level usage.
> --
> Lamar Owen

That's all correct.  However, the current FPGA code does not implement
proper rounding to 8-bits, which results in a big DC component.

Eric


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

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/



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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

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