[prev in list] [next in list] [prev in thread] [next in thread]
List: usrp-users
Subject: Re: [USRP-users] Set Register Value of RFNoC block through C API
From: Zhihong Luo via USRP-users <usrp-users () lists ! ettus ! com>
Date: 2016-02-24 19:28:11
Message-ID: CAH4wXLosjRcsrN1piX4q_fDQoFLF8u_HF-D71NrguacyHR1ZEA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Martin,
Okay, I'll look into it. Thank you for the help :)
Zhihong
On Wed, Feb 24, 2016 at 1:03 PM, Martin Braun <martin.braun@ettus.com>
wrote:
> Oh, I see. Yes, that's what it's supposed to do. However, I recommend
> you also look at the code in gr-ettus (even if you don't want to use GNU
> Radio), as it uses more features, such as named register access.
>
> Cheers,
> Martin
>
> On 02/24/2016 10:01 AM, Zhihong Luo wrote:
> > Hi Martin,
> >
> > Sorry for misleading you, what I meant is to use a cpp file like
> > *rx_samples_to_file.cpp. *I saw that block_ctrl_base has the function
> > sr_write to write to the setting register. Can I declare the setting
> > register in the XML file, then use this function to write value to it?
> >
> > Thanks,
> > Zhihong
> >
> > On Wed, Feb 24, 2016 at 12:51 PM, Martin Braun via USRP-users
> > <usrp-users@lists.ettus.com <mailto:usrp-users@lists.ettus.com>> wrote:
> >
> > Hi,
> >
> > the C API does not support RFNoC as of yet.
> >
> > Cheers,
> > Martin
> >
> > On 02/24/2016 08:43 AM, Zhihong Luo via USRP-users wrote:
> > > Hi all,
> > >
> > > I plan to create a RFNoC block to implement some DSP algorithm. If
> I
> > > want to be able to set the values of certain register in the block
> > > through C API, what should I do on host and fpga sides?
> > >
> > > Thanks in advance for any help.
> > >
> > > Zhihong Luo
> > >
> > >
> > > _______________________________________________
> > > USRP-users mailing list
> > > USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>
> > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> > >
> >
> >
> > _______________________________________________
> > USRP-users mailing list
> > USRP-users@lists.ettus.com <mailto:USRP-users@lists.ettus.com>
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> >
> >
>
>
[Attachment #5 (text/html)]
<div dir="ltr"><div>Martin,</div><div><br></div><div>Okay, I'll look into it. \
Thank you for the help :)</div><div><br></div><div>Zhihong</div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 1:03 PM, \
Martin Braun <span dir="ltr"><<a href="mailto:martin.braun@ettus.com" \
target="_blank">martin.braun@ettus.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Oh, I see. Yes, that's what it's supposed to do. \
However, I recommend<br> you also look at the code in gr-ettus (even if you don't \
want to use GNU<br> Radio), as it uses more features, such as named register \
access.<br> <br>
Cheers,<br>
Martin<br>
<span><br>
On 02/24/2016 10:01 AM, Zhihong Luo wrote:<br>
> Hi Martin,<br>
><br>
> Sorry for misleading you, what I meant is to use a cpp file like<br>
</span>> *rx_samples_to_file.cpp. *I saw that block_ctrl_base has the function<br>
<span>> sr_write to write to the setting register. Can I declare the setting<br>
> register in the XML file, then use this function to write value to it?<br>
><br>
> Thanks,<br>
> Zhihong<br>
><br>
> On Wed, Feb 24, 2016 at 12:51 PM, Martin Braun via USRP-users<br>
</span><span>> <<a \
href="mailto:usrp-users@lists.ettus.com">usrp-users@lists.ettus.com</a> <mailto:<a \
href="mailto:usrp-users@lists.ettus.com">usrp-users@lists.ettus.com</a>>> \
wrote:<br> ><br>
> Hi,<br>
><br>
> the C API does not support RFNoC as of yet.<br>
><br>
> Cheers,<br>
> Martin<br>
><br>
> On 02/24/2016 08:43 AM, Zhihong Luo via USRP-users wrote:<br>
> > Hi all,<br>
> ><br>
> > I plan to create a RFNoC block to implement some DSP algorithm. If \
I<br> > > want to be able to set the values of certain register in the \
block<br> > > through C API, what should I do on host and fpga \
sides?<br> > ><br>
> > Thanks in advance for any help.<br>
> ><br>
> > Zhihong Luo<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > USRP-users mailing list<br>
</span>> > <a \
href="mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com</a> <mailto:<a \
href="mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com</a>><br> \
<span>> > <a \
href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" \
target="_blank" rel="noreferrer">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> USRP-users mailing list<br>
</span>> <a \
href="mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com</a> <mailto:<a \
href="mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com</a>><br> > \
<a href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" \
target="_blank" rel="noreferrer">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>
><br>
><br>
<br>
</blockquote></div><br></div>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic