Send USRP-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."


Today's Topics:

   1. UHD_IMAGES_DIR (Berat Atmaca)
   2. Re: UHD_IMAGES_DIR (Marcus M?ller)
   3. changing RFNoC parameters on the fly (Jason Matusiak)
   4. Re: changing RFNoC parameters on the fly (Jason Matusiak)
   5. unexpected spikes at multiples of 10Mhz in spectrum (Mei Leng)


----------------------------------------------------------------------

Message: 1
Date: Mon, 20 Jun 2016 07:59:19 +0000
From: Berat Atmaca <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [USRP-users] UHD_IMAGES_DIR
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1254"

Hi all,

I got an error message about fpga compatibility number when I run the 
uhd_usrp_probe. (Please see the figure attached as error.png) Then, I tried to 
download the latest and most compatible image by typing uhd_images_downloader 
on terminal and loaded it. However, the "uhd_image_loader" could not find the 
path for the latest images. (pls. see the image_loader.png) Basically, should I 
add a suffix to the uhd_image_loader while on terminal? I couldnt find it on 
Internet. I actually tried a few combination of uhd_image_loader with 
UHD_IMAGES_DIR but everytime I faced with unrecognised option error. 

Thank you very much in advance,

-- Berat                                          
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160620/ab4eb10f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.png
Type: image/png
Size: 59139 bytes
Desc: not available
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160620/ab4eb10f/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image_loader.png
Type: image/png
Size: 99359 bytes
Desc: not available
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160620/ab4eb10f/attachment-0003.png>

------------------------------

Message: 2
Date: Mon, 20 Jun 2016 12:13:53 +0200
From: Marcus M?ller <[email protected]>
To: [email protected]
Subject: Re: [USRP-users] UHD_IMAGES_DIR
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"

Since you seem to have installed UHD locally, you shouldn't be running
either command with "sudo" (and generally, uhd_image_loader shouldn't
need any root privileges, generally).

Best regards,
Marcus

On 06/20/2016 09:59 AM, Berat Atmaca via USRP-users wrote:
> Hi all,
>
> I got an error message about fpga compatibility number when I run the
> uhd_usrp_probe. (Please see the figure attached as error.png) Then, I
> tried to download the latest and most compatible image by typing
> uhd_images_downloader on terminal and loaded it. However, the
> "uhd_image_loader" could not find the path for the latest images.
> (pls. see the image_loader.png) Basically, should I add a suffix to
> the uhd_image_loader while on terminal? I couldnt find it on Internet.
> I actually tried a few combination of uhd_image_loader with
> UHD_IMAGES_DIR but everytime I faced with unrecognised option error. 
>
> Thank you very much in advance,
>
> -- Berat
>
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160620/3b1ba14d/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 20 Jun 2016 08:05:04 -0400
From: Jason Matusiak <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [USRP-users] changing RFNoC parameters on the fly
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

I am attempting to change a freq_offset of an RFNoC block on the fly but 
am having some issues.  I looked to the fosphor block for guidance as it 
seems to allow similar things.

My XML file for the GRC block has "self.$(id).set_arg("freq_off", 
$freq_off)" within the make section and has a callback of 
"<callback>set_arg("freq_off", $freq_off)</callback>". I then have a 
parameter of:
   <param>
     <name>Freq Offset</name>
     <key>freq_off</key>
     <value>100000</value>
     <type>int</type>
   </param>

The XML in the target/share/uhd/rfnoc/blocks directory has a register 
setup like:
   <registers>
     <setreg>
       <name>FREQ_OFF</name>
       <address>129</address>
     </setreg>
   </registers>

and an argument like:
<args>
     <arg>
       <name>freq_off</name>
       <type>int</type>
       <value>0</value>
       <action>SR_WRITE("FREQ_OFF", $freq_off)</action>
     </arg>
</args>

My noc_block_freq_shift.v file has the following in it:
   localparam AXI_WRAPPER_BASE    = 128;
   localparam [7:0] SR_FREQ_OFF   = AXI_WRAPPER_BASE + 1;

   setting_reg #(
     .my_addr(SR_FREQ_OFF), .awidth(8), .width(24))
   sr_freq_off (
     .clk(ce_clk), .rst(ce_rst),
     .strobe(set_stb), .addr(set_addr), .in(set_data), 
.out(cfg_freq_off), .changed(cfg_update[0]));

Now when I make a change while running I see the register getting "set" 
but it is always being set to the value of zero:
-- [NocScript] Executing and asserting code: SR_WRITE("FREQ_OFF", $freq_off)
-- [NocScript] Executing SR_WRITE()
--   [0/FreqShift_0] sr_write(FREQ_OFF, 00000000) ==> [0/FreqShift_0] 
sr_write(129, 00000000, 0)

What am I missing?  Somehow I am not linking up the change to the proper 
register, but I can't seem to figure out where. TIA.



------------------------------

Message: 4
Date: Mon, 20 Jun 2016 08:55:01 -0400
From: Jason Matusiak <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Re: [USRP-users] changing RFNoC parameters on the fly
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

 > What am I missing?  Somehow I am not linking up the change to the 
proper register, but I can't seem to figure out where.
 > TIA.

OK, I think I stumbled upon the answer.  Since I was attempting to mimic 
fosphor, I reused its QT GUI Range block for setting the decay rate.  
What I just discovered was that if I changed the type from a float 
(which is what fosphor had for the block) to an int, I can pass in the 
expected data properly.  Upon further review, although fosphor treats 
the value as a float, it gets typecast as an int in the GRC block.  Once 
I did that, everything worked like a champ.



------------------------------

Message: 5
Date: Mon, 20 Jun 2016 14:08:33 +0800
From: Mei Leng <[email protected]>
To: [email protected]
Subject: [USRP-users] unexpected spikes at multiples of 10Mhz in
        spectrum
Message-ID:
        <cald5gre6lmycarhgdv36sbezkilh047yz5f29du6wjz+zhj...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi, list:

We recently purchased one new NI-USRP 2953R, and in our tests, we found
some strange spikes in the signal spectrum at all frequencies multiple of
10 MHz (as shown in the attached pic), it looks like some kind of
harmonics, but we cannot figure out where it came from. Does anyone have
similar observations?

The specific settings are: NI-USRP 2953R + CBX daughter board, the
receiving center frequency is 1.6 GHz (we actually tried different
frequencies from 1.2 GHz to 3 GHz, and they all have similar spikes).


Regards,

Mei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160620/2a181a1e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMG_2837.jpg
Type: image/jpeg
Size: 3617951 bytes
Desc: not available
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160620/2a181a1e/attachment.jpg>

------------------------------

Subject: Digest Footer

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


------------------------------

End of USRP-users Digest, Vol 70, Issue 20
******************************************

Reply via email to