[Top][All Lists]
[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
>
- [Discuss-gnuradio] Waterfall spectrum display, Marcus Leech, 2005/04/20
- Re: [Discuss-gnuradio] Waterfall spectrum display, David Carr, 2005/04/20
- Re: [Discuss-gnuradio] Waterfall spectrum display, James Cooley, 2005/04/20
- Re: [Discuss-gnuradio] Waterfall spectrum display, Marcus D. Leech, 2005/04/20
- Re: [Discuss-gnuradio] Waterfall spectrum display, Eric Blossom, 2005/04/24
- Re: [Discuss-gnuradio] Waterfall spectrum display, Marcus D. Leech, 2005/04/24
- Re: [Discuss-gnuradio] Waterfall spectrum display, James Cooley, 2005/04/24
- Re: [Discuss-gnuradio] Waterfall spectrum display, Lamar Owen, 2005/04/25
- [Discuss-gnuradio] Send parameters to the FPGA, Damien B., 2005/04/25
- Re: [Discuss-gnuradio] Send parameters to the FPGA, Eric Blossom, 2005/04/25
- Re: [Discuss-gnuradio] Send parameters to the FPGA,
Damien B. <=