# Something wrong with calibration procedure

**URL:** <https://discourse.myriadrf.org/t/something-wrong-with-calibration-procedure/1163>\
**Category:** LimeSDR\
**Created:** [29 April 2017 12:52 UTC](https://discourse.myriadrf.org/t/something-wrong-with-calibration-procedure/1163 "2017-04-29T12:52:03Z")\
**Posts on this page:** 1\
**Showing post:** 34

<div class="post-metadata">

**Author:** ![robertkb](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@robertkb](https://discourse.myriadrf.org/u/robertkb)\
**Post date:** [11 June 2017 18:50 UTC](https://discourse.myriadrf.org/t/something-wrong-with-calibration-procedure/1163/34 "2017-06-11T18:50:14Z")

</div>

I was able to record where the cal failure takes place.

After working on other things for a few months, I got back to the LimeSDR the other day. I updated the firmware and rebuilt SoapySDR and LimeSuite from git (this is on Ubuntu 16.04). The LimeSuite Device Info screen says:  
Firmware: 3  
Hardware: 4  
Protocol: 1  
Gateware: 2  
Gateware rev: 8

And SoapySDRUtil --info says:  
######################################################

## Soapy SDR – the SDR abstraction library

######################################################

Lib Version: v0.6.0-g2f6a449e  
API Version: v0.6.0  
ABI Version: v0.6  
Install root: /usr/local  
Search path: /usr/local/lib/SoapySDR/modules0.6  
Module found: /usr/local/lib/SoapySDR/modules0.6/libLMS7Support.so  
Loading modules… done  
Available factories…lime, null,

The LimeSuite version number is 17.03.0-g9eca76d1, built 2017-06-10.

When I issue the following cal command:  
$ LimeSuiteCalibrate --freqStart 2.09e9 --freqStop 2.11e9  
the following error eventually results for the first frequency:

bestRxIqCorrs = [(1.0105848250985343+0.024808464980358432j), (1.1623231012200503-0.05710127237721869j)]  
Failed at 2090 MHz, skipping…  
unknown setting key: STORE\_RX\_CORRECTIONS  
Cal took 11.4917948246 seconds

and all subsequent frequencies fail with this message:  
Failed at 2110 MHz, skipping…  
ret=-1, flags=0, timeNs=0  
Cal took 3.46489500999 seconds

Please note that this same calibration command runs successfully on another machine (RPi3) which has earlier versions of the software:

~ $ LimeUtil --info  
Version information:  
Library version: v17.03.0-g798a81ac  
Build timestamp: 2017-04-26  
Interface version: v2017.3.0  
Binary interface: 17.03-1

SoapySDRUtil --info  
Lib Version: v0.6.0-gfcecfdae  
API Version: v0.6.0  
ABI Version: v0.6-dev  
Install root: /usr/local  
Search path: /usr/local/lib/SoapySDR/modules0.6-dev  
Module found: /usr/local/lib/SoapySDR/modules0.6-dev/libLMS7Support.so  
Module found: /usr/local/lib/SoapySDR/modules0.6-dev/libremoteSupport.so  
Loading modules… done  
Available factories…lime, null, remote,

So, it looks as though something broke between these versions.

---

_[View the full topic](https://discourse.myriadrf.org/t/something-wrong-with-calibration-procedure/1163)._
