MATLAB Answers

Way around to use USRP X310 with latest UHD or with UHD 3.8.2 in Matlab 2015b ?

8 views (last 30 days)
Ahsan
Ahsan on 28 Feb 2016
Answered: Mir on 3 Aug 2017
Initially my USRP X310 came with FPGA Firmware version 13. The SIMULINK 2015b gave error related to incompatible firmware image while using the block SDRuReceiver.
I uploaded the latest image using uhd_image_loader which updated my fpga version to 20.0. Now when I run the SDRuReceiver block, it gives an error saying incompatible FW Version, expected version 3.0 but you have 4.0 version.
I check the host version installed on my PC using getSDRuDriverVersion() command in Matlab which returned "003.008.002-vendor", however the latest firmware I uploaded was 003.0010.104-vendor.
I again uploaded a new fpga image this time making sure its compatible with Matlab host version. When I did that, I got the error:
---------- begin libuhd warning message output ----------
X300 unknown product code in EEPROM: 30818
---------- end libuhd warning message output ----------
I used the 'findsdru' matlab command to find the cause and it is returning unknown_error. I am aware that for Rev.6 and earlier, the product code for X310 is:"30410" and for Rev. 7 and later, the product code for X310 is: "30818". Upgrading to new UHD will solve the problem as mentioned in http://comments.gmane.org/gmane.comp.hardware.usrp.e100/16175 but it than become incompatible with MATLAB.
Is there any way around to use X310 with latest UHD or with UHD 3.8.2 in MATLAB ?

  0 Comments

Sign in to comment.

Accepted Answer

Ethem
Ethem on 2 Mar 2016
Newer X310s do not work with UHD 3.8.2. R2016a version of the support package will use 3.9.1 and will be available in early March 2016.

  0 Comments

Sign in to comment.

More Answers (3)

Ahsan
Ahsan on 9 Mar 2016
Just installed MATLAB 2016a. The X310 rev7 is working all good with Simulink.

  0 Comments

Sign in to comment.


yogesh nijsure
yogesh nijsure on 4 Jan 2017
Any inputs on how to use PCIe-MXI interface with USRP X310 AND Simulink?

  0 Comments

Sign in to comment.


Mir
Mir on 3 Aug 2017
I have installed PCIe 10GigE to work with USRP x310 and use Simulink for model development. The USRP x310 works fine with 1GigE but fails with PCIe interface. I have installed the drivers and the ports are visible in network area of host PC, but the radio can't communicate with host PC.
Can you please suggest solution to the problem I am facing?

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by