[prev in list] [next in list] [prev in thread] [next in thread] 

List:       usrp-users
Subject:    Re: [USRP-users] Polling the "sample_rx" via a user defined register (B205mini)
From:       Varban Metodiev via USRP-users <usrp-users () lists ! ettus ! com>
Date:       2020-02-26 9:36:55
Message-ID: CAKA0MUiwsMDD5=ivtz92RN5zZT5bEBTsTfbW7-S-0JJRCpG6kg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Jonathon,

Thank you very much for your reply.

What do you want to accomplish?
--> Right now, I just want to monitor the 'sample_rx' values. Eventually, I
will use this to calibrate the reference input of my custom Verilog decoder
(attached) that aims to detect spikes and measure their length (like those
from the attachment).

It is a short complex int where the upper 16-bits are I and the lower
16-bits are Q.
--> Well... that could be the explanation. I will try to monitor them
separately and get back to you.

Kind regards,
Varban

On Tue, Feb 25, 2020 at 8:50 PM Jonathon Pendlum <jonathon.pendlum@ettus.com>
wrote:

> Hi Varban,
>
> I am now getting random 32-bit values when polling it from the UHD
>> (instead of a constant that indicates a "zero" reception)
>
>
> Even with the antenna disconnected you can expect some LSBs to toggle due
> to inherent receiver noise.
>
> 1) How should I interpret the 32-variable?
>>
>
> It is a short complex int where the upper 16-bits are I and the lower
> 16-bits are Q.
>
>
>> 2) Is the strobe_rx the correct signal that indicates new sample arrival?
>>
>
> Yes
>
>
>> 2) Do I need new_rx_control?
>
>
> No
>
> Have I done this correctly in general, or there is something completely
>> wrong in my approach?
>
>
> What do you want to accomplish?
>
> Jonathon
>
> On Mon, Feb 17, 2020 at 5:03 AM Varban Metodiev via USRP-users <
> usrp-users@lists.ettus.com> wrote:
>
>> Dear all,
>>
>> After exposing the *sample_rx* from radio_legacy.v
>> <https://github.com/EttusResearch/uhd/blob/master/fpga/usrp3/lib/radio_200/radio_legacy.v> to
>> a user defined register and sampling it at rising edge of the *strobe_rx*,
>> I am now getting random 32-bit values when polling it from the UHD (instead
>> of a constant that indicates a "zero" reception). I am doing this with
>> disconnected antenna using a modified rx_samples C++ example application.
>>
>> I have the following questions:
>> 1) How should I interpret the 32-variable?
>> 2) Is the strobe_rx the correct signal that indicates new sample arrival?
>> 2) Do I need new_rx_control?
>>
>> Have I done this correctly in general, or there is something completely
>> wrong in my approach?
>>
>> Thanks,
>> Varban
>> _______________________________________________
>> USRP-users mailing list
>> USRP-users@lists.ettus.com
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>
>

[Attachment #5 (text/html)]

<div dir="ltr">Hi  Jonathon,<div><br></div><div>Thank you very much for your \
reply.</div><div><br></div><div><div>What do you want to accomplish?  \
</div><div>--&gt; Right now, I just want to monitor the &#39;sample_rx&#39; values. \
Eventually, I will use this to calibrate the reference input of my custom Verilog \
decoder (attached) that aims to detect spikes and measure their length (like those \
from the attachment).</div></div><div><br></div><div><div>It is a short complex int \
where the upper 16-bits are I and the lower 16-bits are Q.</div><font \
color="#000000">--&gt; Well... that could be the explanation. I will try to monitor \
them separately and get  back to you.</font></div><div><font \
color="#000000"><br></font></div><div><font color="#000000">Kind \
regards,</font></div><div><font color="#000000">Varban</font></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 25, 2020 at 8:50 PM \
Jonathon Pendlum &lt;<a \
href="mailto:jonathon.pendlum@ettus.com">jonathon.pendlum@ettus.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi \
Varban,<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I am now getting \
random 32-bit values when polling it from the UHD (instead of a constant that \
indicates a &quot;zero&quot; reception)</blockquote><div><br></div><div>Even with the \
antenna disconnected you can expect some LSBs to toggle due to inherent receiver \
noise.  </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px \
0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">1) How should I \
interpret the 32-variable?<br></blockquote><div><br></div><div>It is a short complex \
int where the upper 16-bits are I and the lower 16-bits are Q.</div><div>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex">2) Is the strobe_rx the correct signal that \
indicates new sample arrival?<br></blockquote><div><br></div><div>Yes</div><div>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex">2) Do I need \
new_rx_control?</blockquote><div><br></div><div>No</div><div><br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Have I done this correctly in general, or there is \
something completely wrong in my approach?  </blockquote><div><br></div><div>What do \
you want to accomplish?  </div><div><br></div><div>Jonathon</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2020 at 5:03 AM \
Varban Metodiev via USRP-users &lt;<a href="mailto:usrp-users@lists.ettus.com" \
target="_blank">usrp-users@lists.ettus.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>After \
exposing the <b><i>sample_rx</i></b> from  <a \
href="https://github.com/EttusResearch/uhd/blob/master/fpga/usrp3/lib/radio_200/radio_legacy.v" \
target="_blank">radio_legacy.v</a>  to a user defined register and sampling it at \
rising edge of the <span \
style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,&quot;Liberation \
Mono&quot;,Menlo,monospace;font-size:12px;white-space:pre-wrap"><i \
style="font-weight:bold">strobe_rx</i>, I am now getting random 32-bit values when \
polling it from the UHD (instead of a constant that indicates a &quot;zero&quot; \
reception). I am doing this with disconnected antenna using a modified rx_samples C++ \
example application. </span></div><div><font color="#24292e" face="SFMono-Regular, \
Consolas, Liberation Mono, Menlo, monospace"><span \
style="font-size:12px;white-space:pre-wrap"><br></span></font></div><div><font \
color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, \
monospace"><span style="font-size:12px;white-space:pre-wrap">I have the following \
questions:</span></font></div><div><font color="#24292e" face="SFMono-Regular, \
Consolas, Liberation Mono, Menlo, monospace"><span \
style="font-size:12px;white-space:pre-wrap">1) How should I interpret the \
32-variable?</span></font></div><div><font color="#24292e" face="SFMono-Regular, \
Consolas, Liberation Mono, Menlo, monospace"><span \
style="font-size:12px;white-space:pre-wrap">2) Is the strobe_rx the correct signal \
that indicates new sample arrival?</span></font></div><div><div><font color="#24292e" \
face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace"><span \
style="font-size:12px;white-space:pre-wrap">2) Do I need </span></font><span \
style="color:rgb(34,134,58);font-family:SFMono-Regular,Consolas,&quot;Liberation \
Mono&quot;,Menlo,monospace;font-size:12px;white-space:pre-wrap">new_rx_control</span><span \
style="font-size:12px;white-space:pre-wrap;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,&quot;Liberation \
Mono&quot;,Menlo,monospace">?</span></div><div></div></div><div><br></div><div>Have I \
done  this correctly in general, or there is something completely wrong in my \
approach?  </div><div><br></div><div>Thanks,</div><div>Varban</div></div> \
_______________________________________________<br> USRP-users mailing list<br>
<a href="mailto:USRP-users@lists.ettus.com" \
target="_blank">USRP-users@lists.ettus.com</a><br> <a \
href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" \
rel="noreferrer" target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>
 </blockquote></div>
</blockquote></div>

--000000000000d6e647059f775baa--


["pwm_like_pulse.png" (image/png)]
["decoder.PNG" (image/png)]

_______________________________________________
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