[srslte-users] limeSDR

Johann T. johann.tzt at gmail.com
Thu Jul 6 14:20:47 UTC 2017


Hi Justin,

The SoapySDRUtil was not available. I guess I haven't fully installed the
SoapySDR. I only ran "sudo apt-get install libsoapysdr-dev". My bad, sorry!

It worked fine after I ran this command:

sudo apt-get install soapysdr soapysdr-module-lms7

Here is the output of SoapySDRUtil --find

tno at snowwhite:~/test/srsLTE/build/lib/examples$ SoapySDRUtil --find
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Found device 0
  addr = 1d50:6108
  driver = lime
  label = LimeSDR-USB [USB 3.0] 9062000C50C0D
  media = USB 3.0
  module = STREAM
  name = LimeSDR-USB
  serial = 0009062000C50C0D

I could run the cell_search now, but the output was not as expected. There
is an error while calling srslte_ue_sync_work(). Any ideas what went wrong?

Thanks,
Johann



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

tno at snowwhite:~/test/srsLTE/build/lib/examples$ ./cell_search -b 20
linux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_003.010.001.001-release

Opening RF device...
Opening USRP with args:
Error opening UHD: code 11
Soapy Has Found device #0: addr=1d50:6108, driver=lime, label=LimeSDR-USB
[USB 3.0] 9062000C50C0D, media=USB 3.0, module=STREAM, name=LimeSDR-USB,
serial=0009062000C50C0D,
[INFO] Make connection: 'LimeSDR-USB [USB 3.0] 9062000C50C0D'
[INFO] Estimated reference clock 30.7197 MHz
[INFO] Selected reference clock 30.720 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] Init LMS7002M(0)
[INFO] LMS7002M cache /home/tno/.limesuite/LMS7002M_cache_values.db
[INFO] Ver=7, Rev=1, Mask=1
[INFO] LMS7002M calibration values caching Enable
CGEN: Freq=80 MHz, VCO=2.56 GHz, INT=82, FRAC=349525, DIV_OUTCH_CGEN=15
M=156, N=3, Fvco=1040.000 MHz
16: FE AF AA
16: AA AA 7C
phase: min 26.0; max 197.3; selected 111.6)
M=156, N=3, Fvco=1040.000 MHz
M=182, N=7, Fvco=1040.000 MHz
16: AA 5A 75
16: AA 52 D5
phase: min 10.4; max 176.5; selected 93.5)
M=182, N=7, Fvco=1040.000 MHz
M=156, N=3, Fvco=1040.000 MHz
16: FE AF AA
16: AA AA 3C
phase: min 26.0; max 197.3; selected 111.6)
M=156, N=3, Fvco=1040.000 MHz
M=156, N=3, Fvco=1040.000 MHz
16: 57 AD 3B
16: 26 DC 3D
19: AA 5A 75
16: AA 52 D5
phase: min 20.8; max 176.5; selected 98.7)
M=156, N=3, Fvco=1040.000 MHz
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
M=156, N=3, Fvco=1040.000 MHz
phase: min 5.2; max 360.0; selected 182.6)
M=156, N=3, Fvco=1040.000 MHz
M=182, N=7, Fvco=1040.000 MHz
phase: min 5.2; max 360.0; selected 182.6)
M=182, N=7, Fvco=1040.000 MHz
M=156, N=3, Fvco=1040.000 MHz
phase: min 5.2; max 360.0; selected 182.6)
M=156, N=3, Fvco=1040.000 MHz
M=156, N=3, Fvco=1040.000 MHz
phase: min 5.2; max 360.0; selected 182.6)
M=156, N=3, Fvco=1040.000 MHz
[INFO] Rx Filter calibrated from cache
[INFO] Tx Filter calibrated from cache
SetFrequency using cache values vco:1, csw:206
TODO: implement rf_soapy_rx_wait_lo_locked()
[  0/299]: EARFCN 6150 Freq. 791.00 MHz looking for PSS.
Using Volk machine: avx2_64_mmx_orc
CGEN: Freq=245.76 MHz, VCO=2.4576 GHz, INT=79, FRAC=0, DIV_OUTCH_CGEN=4
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @  791 MHz, BW: 30 MHz, RF input: LNAL, PGA: 31, LNA: 15, TIA: 3
Rx calibration: using cached values
Rx calibration values found in cache:
   | DC  | GAIN | PHASE
---+-----+------+------
I: |   0 | 2047 | 0
Q: |   0 | 2047 |
############################################################
SetFrequency using cache values vco:1, csw:206
TODO: implement rf_soapy_rx_wait_lo_locked()
[  1/299]: EARFCN 6151 Freq. 791.10 MHz looking for PSS.
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 791.1 MHz, BW: 30 MHz, RF input: LNAL, PGA: 31, LNA: 15, TIA: 3
Rx calibration: using cached values
Rx calibration values found in cache:
   | DC  | GAIN | PHASE
---+-----+------+------
I: |   0 | 2047 | 0
Q: |   0 | 2047 |
############################################################
Rx pktLoss: ts diff: 17680  pktLoss: 12
SetFrequency using cache values vco:1, csw:206
TODO: implement rf_soapy_rx_wait_lo_locked()
[  2/299]: EARFCN 6152 Freq. 791.20 MHz looking for PSS.
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 791.2 MHz, BW: 30 MHz, RF input: LNAL, PGA: 31, LNA: 15, TIA: 3
Rx calibration: using cached values
Rx calibration values found in cache:
   | DC  | GAIN | PHASE
---+-----+------+------
I: |   0 | 2047 | 0
Q: |   0 | 2047 |
############################################################
Rx pktLoss: ts diff: 20400  pktLoss: 14
SetFrequency using cache values vco:1, csw:206
TODO: implement rf_soapy_rx_wait_lo_locked()
[  3/299]: EARFCN 6153 Freq. 791.30 MHz looking for PSS.
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 791.3 MHz, BW: 30 MHz, RF input: LNAL, PGA: 31, LNA: 15, TIA: 3
Rx calibration: using cached values
Rx calibration values found in cache:
   | DC  | GAIN | PHASE
---+-----+------+------
I: |   0 | 2047 | 0
Q: |   0 | 2047 |
############################################################
Rx pktLoss: ts diff: 20400  pktLoss: 14
SetFrequency using cache values vco:1, csw:206
TODO: implement rf_soapy_rx_wait_lo_locked()
[  4/299]: EARFCN 6154 Freq. 791.40 MHz looking for PSS.
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 791.4 MHz, BW: 30 MHz, RF input: LNAL, PGA: 31, LNA: 15, TIA: 3
Rx calibration: using cached values
Rx calibration values found in cache:
   | DC  | GAIN | PHASE
---+-----+------+------
I: |   0 | 2047 | 0
Q: |   0 | 2047 |
############################################################
[INFO] L 1447040
Rx pktLoss: ts diff: 20400  pktLoss: 14
SetFrequency using cache values vco:1, csw:206
TODO: implement rf_soapy_rx_wait_lo_locked()
[  5/299]: EARFCN 6155 Freq. 791.50 MHz looking for PSS.
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 791.5 MHz, BW: 30 MHz, RF input: LNAL, PGA: 31, LNA: 15, TIA: 3
Rx calibration: using cached values
Rx calibration values found in cache:
   | DC  | GAIN | PHASE
---+-----+------+------
I: |   0 | 2047 | 0
Q: |   0 | 2047 |
############################################################
Rx pktLoss: ts diff: 20400  pktLoss: 14
Rx: 5.500 MB/s
TODO: implement rf_soapy_rx_wait_lo_locked()
[  6/299]: EARFCN 6156 Freq. 791.60 MHz looking for PSS.
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 791.6 MHz, BW: 30 MHz, RF input: LNAL, PGA: 31, LNA: 15, TIA: 3
Performed by: MCU
------------------------------------------------------------
MCU algorithm time: 10 ms
Current MCU firmware: 127, unknown
Uploading DC/IQ calibration firmware
MCU programming : 16384/16384
MCU Programming finished, 827 ms
MCU Ref. clock: 30.72 MHz
Rx: 0.589 MB/s
MCU algorithm time: 208 ms
Rx: 0.066 MB/s
Rx: 0.000 MB/s
Error receiving samples
Error calling srslte_ue_sync_work()
Rx: 0.000 MB/s
Error receiving samples
Error calling srslte_ue_sync_work()
Rx: 0.000 MB/s
Error receiving samples
Error calling srslte_ue_sync_work()
TODO: implement rf_soapy_rx_wait_lo_locked()
[  7/299]: EARFCN 6157 Freq. 791.70 MHz looking for PSS.
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 791.7 MHz, BW: 30 MHz, RF input: LNAL, PGA: 31, LNA: 15, TIA: 3
Performed by: MCU
------------------------------------------------------------
MCU algorithm time: 1 ms
Current MCU firmware: 3, DC/IQ calibration full
MCU Ref. clock: 30.72 MHz
MCU algorithm time: 208 ms
Rx pktLoss: ts diff: 34000  pktLoss: 24
Rx pktLoss: ts diff: 2129760  pktLoss: 1565
Rx: 0.426 MB/s
^CSIGINT received. Exiting...
Rx: 0.000 MB/s
Error receiving samples
Error calling srslte_ue_sync_work()
Rx: 0.000 MB/s
Error receiving samples
Error calling srslte_ue_sync_work()


Found 0 cells

Bye




On Thu, Jul 6, 2017 at 3:49 PM, Justin Tallon <
justin.tallon at softwareradiosystems.com> wrote:

> Hey Johann!
>
> Could you try run  :
>
> SoapySDRUtil --find
>
> from your command line and see if it finds your device?
>
> Regards,
> Justin
>
> ____
> Justin Tallon Ph.D.
>
> Software Radio Systems (SRS)
> http://www.softwareradiosystems.com
>
> +353-86-067-0753 <+353%2086%20067%200753> | justin.tallon@
> softwareradiosystems.com
>
> On Thu, Jul 6, 2017 at 1:42 PM, Johann T. <johann.tzt at gmail.com> wrote:
>
>> Hi Justin,
>>
>> Thanks for your quick response.
>>
>> I attached here the output from the cmake. It seemed that the soapySDR
>> module was properly detected.
>>
>> Regards,
>> Johann
>>
>>
>>
>> On Thu, Jul 6, 2017 at 11:13 AM, Justin Tallon <
>> justin.tallon at softwareradiosystems.com> wrote:
>>
>>> Hey Johann!
>>>
>>> Could you possibly delete CMakeCache.txt from your build directory and
>>> run cmake again and send me the terminal output?
>>>
>>> Thanks!
>>> Justin
>>>
>>> ____
>>> Justin Tallon Ph.D.
>>>
>>> Software Radio Systems (SRS)
>>> http://www.softwareradiosystems.com
>>>
>>> +353-86-067-0753 <+353%2086%20067%200753> |
>>> justin.tallon at softwareradiosystems.com
>>>
>>> On Thu, Jul 6, 2017 at 9:56 AM, Johann T. <johann.tzt at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Previously I have used srslte with USRP B210 and it worked perfectly. I
>>>> have just received my limeSDR and I would like to use srslte with it.
>>>>
>>>> I have followed the installation procedures as described in this
>>>> thread. The cmake and make were completed without errors and the
>>>> libSoapySDR.so is there in the /usr/lib/x86_64-linux-gnu/ folder.
>>>> However, when I started the cell_search example, it complained that no
>>>> compatible device was found.
>>>>
>>>> Any suggestions what could be the issue? Do I need to change something
>>>> in the code?
>>>>
>>>> Many thanks!
>>>>
>>>> Regards,
>>>> Johann
>>>>
>>>> PS: Both examples from the LimeSuiteGUI worked fine and my machine is
>>>> running Ubuntu 16.04.
>>>>
>>>>
>>>> On Wed, Jun 14, 2017 at 5:20 PM, Justin Tallon <
>>>> justin.tallon at softwareradiosystems.com> wrote:
>>>>
>>>>> no problem!
>>>>>
>>>>> Justin
>>>>>
>>>>> ____
>>>>> Justin Tallon Ph.D.
>>>>>
>>>>> Software Radio Systems (SRS)
>>>>> http://www.softwareradiosystems.com
>>>>>
>>>>> +353-86-067-0753 <+353%2086%20067%200753> |
>>>>> justin.tallon at softwareradiosystems.com
>>>>>
>>>>> On Wed, Jun 14, 2017 at 4:20 PM, Nicola Bui <nicola.bui at imdea.org>
>>>>> wrote:
>>>>>
>>>>>> You are right. It worked.
>>>>>> I was looking for soapysdr-dev, that's why I could not find it.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Nicola Bui
>>>>>>
>>>>>> Research Engineer
>>>>>> IMDEA Networks Institute
>>>>>> Av. Mar del Mediterraneo, 22
>>>>>> 28918 - Leganés (Madrid) - Spain
>>>>>> mobile: +34 657 633 987 <+34%20657%2063%2039%2087>
>>>>>> phone: +34 91 481 6986 <+34%20914%2081%2069%2086>
>>>>>> fax: +34 481 6965
>>>>>>
>>>>>> On Wed, Jun 14, 2017 at 11:17 AM, Justin Tallon <
>>>>>> justin.tallon at softwareradiosystems.com> wrote:
>>>>>>
>>>>>>> Cool,
>>>>>>>
>>>>>>> Could you try run
>>>>>>>
>>>>>>> sudo apt-get install libsoapysdr-dev
>>>>>>>
>>>>>>> and then delete your CMakeCache.txt file from your build folder and
>>>>>>> re run cmake ?
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> Justin
>>>>>>>
>>>>>>>
>>>>>>> ____
>>>>>>> Justin Tallon Ph.D.
>>>>>>>
>>>>>>> Software Radio Systems (SRS)
>>>>>>> http://www.softwareradiosystems.com
>>>>>>>
>>>>>>> +353-86-067-0753 <+353%2086%20067%200753> |
>>>>>>> justin.tallon at softwareradiosystems.com
>>>>>>>
>>>>>>> On Wed, Jun 14, 2017 at 4:15 PM, Nicola Bui <nicola.bui at imdea.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Here you are:
>>>>>>>>
>>>>>>>> sudo add-apt-repository -y ppa:myriadrf/drivers
>>>>>>>> sudo apt-get update
>>>>>>>> sudo apt-get install limesuite limesuite-udev limesuite-images
>>>>>>>> sudo apt-get install soapysdr soapysdr-module-lms7
>>>>>>>>
>>>>>>>>
>>>>>>>> Nicola Bui
>>>>>>>>
>>>>>>>> Research Engineer
>>>>>>>> IMDEA Networks Institute
>>>>>>>> Av. Mar del Mediterraneo, 22
>>>>>>>> 28918 - Leganés (Madrid) - Spain
>>>>>>>> mobile: +34 657 633 987 <+34%20657%2063%2039%2087>
>>>>>>>> phone: +34 91 481 6986 <+34%20914%2081%2069%2086>
>>>>>>>> fax: +34 481 6965
>>>>>>>>
>>>>>>>> On Wed, Jun 14, 2017 at 11:13 AM, Justin Tallon <
>>>>>>>> justin.tallon at softwareradiosystems.com> wrote:
>>>>>>>>
>>>>>>>>> I believe that there is also meant to be a libSoapySDR.so file
>>>>>>>>> present alongside them.
>>>>>>>>>
>>>>>>>>> Can you recall all the apt-get commands that you have used to
>>>>>>>>> install Soapy?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ____
>>>>>>>>> Justin Tallon Ph.D.
>>>>>>>>>
>>>>>>>>> Software Radio Systems (SRS)
>>>>>>>>> http://www.softwareradiosystems.com
>>>>>>>>>
>>>>>>>>> +353-86-067-0753 <+353%2086%20067%200753> |
>>>>>>>>> justin.tallon at softwareradiosystems.com
>>>>>>>>>
>>>>>>>>> On Wed, Jun 14, 2017 at 4:09 PM, Nicola Bui <nicola.bui at imdea.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Yes, it is. But the name is libSoapySDR.so.0.6 or
>>>>>>>>>> libSoapySDR.so.0.6.0.
>>>>>>>>>> Is it just a bad link?
>>>>>>>>>>
>>>>>>>>>> Nicola Bui
>>>>>>>>>>
>>>>>>>>>> Research Engineer
>>>>>>>>>> IMDEA Networks Institute
>>>>>>>>>> Av. Mar del Mediterraneo, 22
>>>>>>>>>> 28918 - Leganés (Madrid) - Spain
>>>>>>>>>> mobile: +34 657 633 987 <+34%20657%2063%2039%2087>
>>>>>>>>>> phone: +34 91 481 6986 <+34%20914%2081%2069%2086>
>>>>>>>>>> fax: +34 481 6965
>>>>>>>>>>
>>>>>>>>>> On Wed, Jun 14, 2017 at 11:06 AM, Justin Tallon <
>>>>>>>>>> justin.tallon at softwareradiosystems.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hey Nicola!
>>>>>>>>>>>
>>>>>>>>>>> Can you confirm that the libSoapySDR.so is present in your
>>>>>>>>>>> /usr/lib/ or /usr/lib/x86_64-linux-gnu/ folder ?
>>>>>>>>>>>
>>>>>>>>>>> I would not recommend installing source versions on top of
>>>>>>>>>>> binary installations as this can cause conflicts that produce problems down
>>>>>>>>>>> the line.
>>>>>>>>>>>
>>>>>>>>>>> Justin
>>>>>>>>>>>
>>>>>>>>>>> ____
>>>>>>>>>>> Justin Tallon Ph.D.
>>>>>>>>>>>
>>>>>>>>>>> Software Radio Systems (SRS)
>>>>>>>>>>> http://www.softwareradiosystems.com
>>>>>>>>>>>
>>>>>>>>>>> +353-86-067-0753 <+353%2086%20067%200753> |
>>>>>>>>>>> justin.tallon at softwareradiosystems.com
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Jun 14, 2017 at 3:57 PM, Nicola Bui <
>>>>>>>>>>> nicola.bui at imdea.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I installed soapy, too.
>>>>>>>>>>>> The cmake log is attached.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>
>>>>>>>>>>>> Nicola Bui
>>>>>>>>>>>>
>>>>>>>>>>>> Research Engineer
>>>>>>>>>>>> IMDEA Networks Institute
>>>>>>>>>>>> Av. Mar del Mediterraneo, 22
>>>>>>>>>>>> 28918 - Leganés (Madrid) - Spain
>>>>>>>>>>>> mobile: +34 657 633 987 <+34%20657%2063%2039%2087>
>>>>>>>>>>>> phone: +34 91 481 6986 <+34%20914%2081%2069%2086>
>>>>>>>>>>>> fax: +34 481 6965
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Jun 14, 2017 at 10:50 AM, Justin Tallon <
>>>>>>>>>>>> justin.tallon at softwareradiosystems.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hey Nicola!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Could you post the output of your cmake ?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>> Justin
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 14 Jun 2017 5:41 p.m., "Nicola Bui" <nicola.bui at imdea.org>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Dear all,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am trying to make srsLTE work with LimeSDR, but cmake does
>>>>>>>>>>>>>> not find the LimeSuite package.
>>>>>>>>>>>>>> I am running it on a ubuntu 16.04 pc, limesuite is installed
>>>>>>>>>>>>>> and I correctly went through the tutorial examples of the LimeSuiteGui
>>>>>>>>>>>>>> (both the selfloop and the reception).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Any suggestions before I am trying installing limesuite from
>>>>>>>>>>>>>> the sources?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> Nicola Bui
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Research Engineer
>>>>>>>>>>>>>> IMDEA Networks Institute
>>>>>>>>>>>>>> Av. Mar del Mediterraneo, 22
>>>>>>>>>>>>>> 28918 - Leganés (Madrid) - Spain
>>>>>>>>>>>>>> mobile: +34 657 633 987 <+34%20657%2063%2039%2087>
>>>>>>>>>>>>>> phone: +34 91 481 6986 <+34%20914%2081%2069%2086>
>>>>>>>>>>>>>> fax: +34 481 6965
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> srslte-users mailing list
>>>>>>>>>>>>>> srslte-users at lists.softwareradiosystems.com
>>>>>>>>>>>>>> http://www.softwareradiosystems.com/mailman/listinfo/srslte-
>>>>>>>>>>>>>> users
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> srslte-users mailing list
>>>>> srslte-users at lists.softwareradiosystems.com
>>>>> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> srslte-users mailing list
>>>> srslte-users at lists.softwareradiosystems.com
>>>> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.softwareradiosystems.com/pipermail/srslte-users/attachments/20170706/0f4ead0f/attachment-0001.html>


More information about the srslte-users mailing list