USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with USRP X310 via 1 GigE and 10 GigE

  • Hi all
  • I need to add customized fpga code with ettus build fpga image "USRP_X310_FPGA_HG " using labview fpga
  • From where can i get the labview fpga source code for the above mentioned ettus build fpga image so that i can customize this code as per my requirement
0 Kudos
Message 1 of 11
(3,291 Views)

Hi,

 

As I understand, you are looking for USRP LabVIEW default images. If so, you could find the images after NI USRP driver installation basically by this path C:\Program Files (x86)\National Instruments\NI-USRP\images. For image modification  LabVIEW, LabVIEW FPGA, and NI USRP drivers are required.

 

Sivolenko_0-1615964526728.png

 

0 Kudos
Message 2 of 11
(3,216 Views)

Hi,

 

The images provided with USRP hardware driver are just bit or lvbitx files. I need FPGA code for these images so that i can add some customized blocks with that code.

0 Kudos
Message 3 of 11
(3,145 Views)

Hi,

 

for LV it is possible to modify the FPGA code in LV FPGA. The MXI connection for FPGA modification is mandatory. The mentioned default lvbitx files could be modified in LV using the FPGA module (See below).

 

Sivolenko_0-1620022488146.png

Sivolenko_1-1620022514762.png

If the modifications could be done in Vivado from Xilinx, ISE from Xilinx, GNU make, I will suggest using this link and follow Generation 3 instructions.

 

best regards

0 Kudos
Message 4 of 11
(3,134 Views)

Dear Sivolenko Thank you so much for your kind comments.

 

1. The pictures you added are the sample FPGA project provided with the NI-USRP drive.

2. Yes you are right that we can modify FPGA Code given in the sample project.

3. I need the Labview FPGA source code of the image "usrp_x310_fpga_HG.lvbitx" provided in the NI-USRP dirver images folder.

4. This is just the complied bit file that can be loaded on USRP FPGA using MXI. I have loaded this bit file in USRP X310 and tested with the host examples provided with NI-USRP driver using 1 GigE and as well as with 10 GigE,  and it works fine.

5. Now I need the Labview FPGA source code for this image (usrp_x310_fpga_HG.lvbitx) so that i can add my customized block with it because it is tested code.

 

Hope i explained my issue.

0 Kudos
Message 5 of 11
(3,129 Views)

Dear Idrees,

 

the default LV images are coming with the driver. You need to modify the default FPGA image in the images folder, compile it with your custom code and load it on USRP.

 

Thank you for the details.

0 Kudos
Message 6 of 11
(3,117 Views)

Hi,

 

 

the default LV images are coming with the driver. You need to modify the default FPGA image in the images folder, compile it with your custom code and load it on USRP

 

i have found the fpga images in the directory "C:\Program Files (x86)\National Instruments\NI-USRP\images".

 

These are just *.bit files and *.lvbitx files.

 

How can i modify these images in labview??

0 Kudos
Message 7 of 11
(3,111 Views)

Hi,

to modify the FPGA code in LV FPGA the MXI connection is mandatory. The mentioned default lvbitx files could be modified in LV using the FPGA module. Also the RIO API is required as well. Please follow below mentioned instruction:

Sivolenko_0-1621250863352.pngSivolenko_1-1621250887610.pngSivolenko_2-1621250915222.pngSivolenko_3-1621250951986.pngSivolenko_4-1621250973467.pngSivolenko_5-1621250992997.png

and compile the code.

 

Hope this will be helpful.

0 Kudos
Message 8 of 11
(3,103 Views)

After compiling the file, do we need to write the newly generated bit file separately to the USRP using the NI-USRP configuration Utility ? Or it will be downloaded automatically when we run the host VI. I am using NI USRP 2954.

0 Kudos
Message 9 of 11
(932 Views)

Hi there,

 

Yes, the reimaging is mandatory as the USRP is keeping the older image on flash.

 

Hope this was useful. 

0 Kudos
Message 10 of 11
(929 Views)