discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Implementing the USRP1 in another platform


From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Implementing the USRP1 in another platform
Date: Thu, 5 Feb 2009 08:45:50 -0800

On Thu, Feb 5, 2009 at 8:15 AM, Pablo Mendoza <address@hidden> wrote:

> The exact question is: Were, in the python code of the GnuRadio core,
> can I insert the Driver that i mention? I am reading the python code
> but i can not find were the code read/send data to the USB (to
> substitute it with the PCI control code). The other question is were
> in the Verilog Code can I insert  the PCI interface control.

If you have a Linux library supplied by the manufacturer for
interfacing with the board, then you can write a C++ wrapper to create
custom GNU Radio source and sink blocks.  Then you would use these
blocks *instead* of the USRP sources and sinks in your Python scripts.

This is not trivial, but is straightforward provided you have the
relevant C++ programming background.  It's essentially the same
approach we use with the USRP itself.  There is a low-level interface
library, libusrp (and libusrp2 for USRP2) that provides a raw sample
interface, and then source and sink blocks in gr-usrp(2) wrap these
into a form you can use from Python in your Python scripts.

Having native GNU Radio support for this development system might
interest the manufacturer...perhaps you can contact them about
"supporting" the idea.

Johnathan




reply via email to

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