discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Send parameters to the FPGA


From: Damien B.
Subject: Re: [Discuss-gnuradio] Send parameters to the FPGA
Date: Wed, 27 Apr 2005 15:19:39 +1000

Hi Eric,
thank for the tip, it was really helpful !
It's working now i just had to figure out that i also need the
_write_oe() function.
The first FIR filter with variable coefficients embedded in the FPGA is working.

Cheers
Damien

On 4/26/05, Eric Blossom <address@hidden> wrote:
> On Mon, Apr 25, 2005 at 05:41:33PM +1000, Damien B. wrote:
> > Hi Eric,
> >
> > I need for my project (channel simulator) to send parameters to the FPGA.
> >
> > This issue was raised in this mail:
> > http://lists.gnu.org/archive/html/discuss-gnuradio/2005-03/msg00127.html
> >
> > Is it possible to send parameter to the 'serial_io' module from Python code?
> > Here speed is not a problem.
> >
> > When i'm displaying : dir(usrp.usrp_prims) in python i got some
> > intersting names coming but i didn't manage to use them...
> > [ ... 'usrp_read_fpga_reg', ... 'usrp_write_fpga_reg']
> 
> Generally speaking you want to be using the usrp, not usrp_prims
> interface.
> 
> > Maybe there is an easy way to write the d'board i/o pins?
> 
> How about write_io?
> 
>   /*!
>    * \brief Write daughterboard i/o pin value
>    *
>    * \param which_dboard        [0,1] which d'board
>    * \param value               value to write into register
>    * \param mask                which bits of value to write into reg
>    */
>   bool write_io (int which_dboard, int value, int mask);
> 
> FYI, the Python interface to the usrp is defined in
> gr-usrp/src/usrp1.i
> 
> Eric
>




reply via email to

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