PI4_with_LIME-SDR_not_working

Hi I am building a new gnd station for S-Band. With PI4 and SDR from LIME. SDR works fine with another software. Now I see at the moment when satnogs-monitor shows > 5deg one LED at LIME shows activity but the RX LED does not came ON and so now RX. Did I miss something in the installation?



TNX for support.
Armin HB9MFL

For the config, please use the generate support in satnogs-setup to get a complete config, and provide it here as preformatted text (select, ctrl-e).

Then, what is the output of SoapySDRUtil --info and SoapySDRUtil --probe="driver=lime" ?

I hope I got the wanted info

------------[ copy here ]------------
{
“versions”: {
“satnogs-client”: “1.8.1”,
“satnogs-client-ansible”: “202209101521”,
“satnogs-flowgraphs”: “1.4-1”,
“gr-satnogs”: “2.3.5.0-1”,
“gr-soapy”: “2.1.3.1-1”,
“gnuradio”: “3.8.2.0-14”,
“satnogs-config”: “0.13.2”
},
“state”: {
“is-applied”: true,
“pending-tags”: null
},
“system”: {
“date”: “2024-01-02T08:35:12.022776+00:00”,
“distribution”: {
“DESCRIPTION”: “Raspbian GNU/Linux 11 (bullseye)”,
“RELEASE”: “11”,
“CODENAME”: “bullseye”,
“ID”: “Raspbian”
},
“pending-updates”: false,
“platform”: {
“system”: “Linux”,
“node”: “raspberrypi”,
“release”: “6.1.21-v8+”,
“version”: “#1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023”,
“machine”: “aarch64”
},
“memory”: {
“total”: 8191807488,
“available”: 7935537152,
“percent”: 3.1,
“used”: 134619136,
“free”: 7721021440,
“active”: 166432768,
“inactive”: 204349440,
“buffers”: 28377088,
“cached”: 307789824,
“shared”: 860160,
“slab”: 58486784
},
“disk”: {
“total”: 31056384000,
“used”: 4218781696,
“free”: 25520766976,
“percent”: 14.2
}
},
“configuration”: {
“satnogs_antenna”: “lnah”,
“satnogs_api_token”: “[redacted]”,
“satnogs_gain_mode”: “Settings Field”,
“satnogs_other_settings”: “TIA=12,PGA=0,LNA=12”,
“satnogs_rf_gain”: “20”,
“satnogs_rx_samp_rate”: “2e6”,
“satnogs_soapy_rx_device”: “driver=lime”,
“satnogs_station_elev”: “5”,
“satnogs_station_id”: “3412”,
“satnogs_station_lat”: “47.212456”,
“satnogs_station_lon”: “7.621808”
}
}

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

Soapy SDR – the SDR abstraction library

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

Lib Version: v0.7.2-2
API Version: v0.7.1
ABI Version: v0.7
Install root: /usr
Search path: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7
Search path: /usr/local/lib/arm-linux-gnueabihf/SoapySDR/modules0.7 (missing)
Search path: /usr/local/lib/SoapySDR/modules0.7 (missing)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libHackRFSupport.so (0.3.3)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libLMS7Support.so (20.10.0)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libRedPitaya.so (0.1.1)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libairspySupport.so (0.1.2)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libaudioSupport.so (0.1.1)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libbladeRFSupport.so (0.4.1)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libmiriSupport.so (0.2.5)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libosmosdrSupport.so (0.2.5)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libremoteSupport.so (0.5.2)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/librfspaceSupport.so (0.2.5)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/librtlsdrSupport.so (0.3.2)
Module found: /usr/lib/arm-linux-gnueabihf/SoapySDR/modules0.7/libuhdSupport.so (0.4.1)
Available factories… airspy, audio, bladerf, hackrf, lime, miri, osmosdr, redpitaya, remote, rfspace, rtlsdr, uhd
Available converters…

  • CF32 → [CF32, CS16, CS8, CU16, CU8]
  • CS16 → [CF32, CS16, CS8, CU16, CU8]
  • CS32 → [CS32]
  • CS8 → [CF32, CS16, CS8, CU16, CU8]
  • CU16 → [CF32, CS16, CS8]
  • CU8 → [CF32, CS16, CS8]
  • F32 → [F32, S16, S8, U16, U8]
  • S16 → [F32, S16, S8, U16, U8]
  • S32 → [S32]
  • S8 → [F32, S16, S8, U16, U8]
  • U16 → [F32, S16, S8]
  • U8 → [F32, S16, S8]

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

Soapy SDR – the SDR abstraction library

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

Probe device driver=lime
[INFO] Make connection: ‘LimeSDR Mini [USB 2.0] 1DA16FF4D8014C’
[INFO] Reference clock 40.00 MHz
[INFO] Device name: UNKNOWN
[INFO] Reference: 40 MHz
[INFO] LMS7002M register cache: Disabled


– Device identification

driver=FT601
hardware=UNKNOWN
boardSerialNumber=0xf4d8014c
firmwareVersion=10
gatewareVersion=2.6
hardwareVersion=7
protocolVersion=1


– Peripheral summary

Channels: 2 Rx, 2 Tx
Timestamps: YES
Sensors: clock_locked, lms7_temp
Registers: BBIC, RFIC0
Other Settings:
* SAVE_CONFIG - Save LMS settings to file
[key=SAVE_CONFIG, type=string]
* LOAD_CONFIG - Load LMS settings from file
[key=LOAD_CONFIG, type=string]
* OVERSAMPLING - oversampling ratio (0 - auto)
[key=OVERSAMPLING, type=int, options=(0, 1, 2, 4, 8, 16, 32)]
GPIOs: MAIN


– RX Channel 0

Full-duplex: YES
Supports AGC: NO
Stream formats: CF32, CS12, CS16
Native format: CS16 [full-scale=32767]
Stream args:
* Buffer Length - The buffer transfer size over the link.
[key=bufferLength, units=samples, default=0, type=int]
* Link Format - The format of the samples over the link.
[key=linkFormat, default=CS16, type=string, options=(CS16, CS12)]
* Skip Calibration - Skip automatic activation calibration.
[key=skipCal, default=false, type=bool]
* align phase - Attempt to align phase of Rx channels.
[key=alignPhase, default=false, type=bool]
Antennas: NONE, LNAH, LNAL, LNAW, LB1, LB2
Corrections: DC removal, DC offset, IQ balance
Full gain range: [-12, 61] dB
TIA gain range: [0, 12] dB
LNA gain range: [0, 30] dB
PGA gain range: [-12, 19] dB
Full freq range: [0, 3800] MHz
RF freq range: [30, 3800] MHz
BB freq range: [-10, 10] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-1e+07, 1e+07]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-1e+07, 1e+07], options=(DEFAULT, IGNORE)]
Sample rates: [0.1, 61.44] MSps
Filter bandwidths: [1.4001, 130] MHz
Sensors: lo_locked
Other Settings:
* TSP_CONST - Digital DC test signal level in LMS7002M TSP chain.
[key=TSP_CONST, default=16383, type=int, range=[0, 32767]]
* CALIBRATE - DC/IQ calibration bandwidth
[key=CALIBRATE, type=float, range=[2.5e+06, 1.2e+08]]
* ENABLE_GFIR_LPF - LPF bandwidth (must be set after sample rate)
[key=ENABLE_GFIR_LPF, type=float]
* TSG_NCO - Enable NCO test signal
[key=TSG_NCO, default=4, type=int, options=(-1, 4, 8)]


– RX Channel 1

Full-duplex: YES
Supports AGC: NO
Stream formats: CF32, CS12, CS16
Native format: CS16 [full-scale=32767]
Stream args:
* Buffer Length - The buffer transfer size over the link.
[key=bufferLength, units=samples, default=0, type=int]
* Link Format - The format of the samples over the link.
[key=linkFormat, default=CS16, type=string, options=(CS16, CS12)]
* Skip Calibration - Skip automatic activation calibration.
[key=skipCal, default=false, type=bool]
* align phase - Attempt to align phase of Rx channels.
[key=alignPhase, default=false, type=bool]
Antennas: NONE, LNAH, LNAL, LNAW, LB1, LB2
Corrections: DC removal, DC offset, IQ balance
Full gain range: [-12, 61] dB
TIA gain range: [0, 12] dB
LNA gain range: [0, 30] dB
PGA gain range: [-12, 19] dB
Full freq range: [0, 3800] MHz
RF freq range: [30, 3800] MHz
BB freq range: [-10, 10] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-1e+07, 1e+07]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-1e+07, 1e+07], options=(DEFAULT, IGNORE)]
Sample rates: [0.1, 61.44] MSps
Filter bandwidths: [1.4001, 130] MHz
Sensors: lo_locked
Other Settings:
* TSP_CONST - Digital DC test signal level in LMS7002M TSP chain.
[key=TSP_CONST, default=16383, type=int, range=[0, 32767]]
* CALIBRATE - DC/IQ calibration bandwidth
[key=CALIBRATE, type=float, range=[2.5e+06, 1.2e+08]]
* ENABLE_GFIR_LPF - LPF bandwidth (must be set after sample rate)
[key=ENABLE_GFIR_LPF, type=float]
* TSG_NCO - Enable NCO test signal
[key=TSG_NCO, default=4, type=int, options=(-1, 4, 8)]


– TX Channel 0

Full-duplex: YES
Supports AGC: NO
Stream formats: CF32, CS12, CS16
Native format: CS16 [full-scale=32767]
Stream args:
* Buffer Length - The buffer transfer size over the link.
[key=bufferLength, units=samples, default=0, type=int]
* Link Format - The format of the samples over the link.
[key=linkFormat, default=CS16, type=string, options=(CS16, CS12)]
* Skip Calibration - Skip automatic activation calibration.
[key=skipCal, default=false, type=bool]
* align phase - Attempt to align phase of Rx channels.
[key=alignPhase, default=false, type=bool]
Antennas: NONE, BAND1, BAND2
Corrections: DC offset, IQ balance
Full gain range: [-12, 64] dB
PAD gain range: [0, 52] dB
IAMP gain range: [-12, 12] dB
Full freq range: [0, 3800] MHz
RF freq range: [30, 3800] MHz
BB freq range: [-10, 10] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-1e+07, 1e+07]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-1e+07, 1e+07], options=(DEFAULT, IGNORE)]
Sample rates: [0.1, 61.44] MSps
Filter bandwidths: [5, 40], [50, 130] MHz
Sensors: lo_locked
Other Settings:
* TSP_CONST - Digital DC test signal level in LMS7002M TSP chain.
[key=TSP_CONST, default=16383, type=int, range=[0, 32767]]
* CALIBRATE - DC/IQ calibration bandwidth
[key=CALIBRATE, type=float, range=[2.5e+06, 1.2e+08]]
* ENABLE_GFIR_LPF - LPF bandwidth (must be set after sample rate)
[key=ENABLE_GFIR_LPF, type=float]
* TSG_NCO - Enable NCO test signal
[key=TSG_NCO, default=4, type=int, options=(-1, 4, 8)]


– TX Channel 1

Full-duplex: YES
Supports AGC: NO
Stream formats: CF32, CS12, CS16
Native format: CS16 [full-scale=32767]
Stream args:
* Buffer Length - The buffer transfer size over the link.
[key=bufferLength, units=samples, default=0, type=int]
* Link Format - The format of the samples over the link.
[key=linkFormat, default=CS16, type=string, options=(CS16, CS12)]
* Skip Calibration - Skip automatic activation calibration.
[key=skipCal, default=false, type=bool]
* align phase - Attempt to align phase of Rx channels.
[key=alignPhase, default=false, type=bool]
Antennas: NONE, BAND1, BAND2
Corrections: DC offset, IQ balance
Full gain range: [-12, 64] dB
PAD gain range: [0, 52] dB
IAMP gain range: [-12, 12] dB
Full freq range: [0, 3800] MHz
RF freq range: [30, 3800] MHz
BB freq range: [-10, 10] MHz
Tune args:
* LO Offset - Tune the LO with an offset and compensate with the baseband CORDIC.
[key=OFFSET, units=Hz, default=0.0, type=float, range=[-1e+07, 1e+07]]
* BB - Specify a specific value for this component or IGNORE to skip tuning it.
[key=BB, units=Hz, default=DEFAULT, type=float, range=[-1e+07, 1e+07], options=(DEFAULT, IGNORE)]
Sample rates: [0.1, 61.44] MSps
Filter bandwidths: [5, 40], [50, 130] MHz
Sensors: lo_locked
Other Settings:
* TSP_CONST - Digital DC test signal level in LMS7002M TSP chain.
[key=TSP_CONST, default=16383, type=int, range=[0, 32767]]
* CALIBRATE - DC/IQ calibration bandwidth
[key=CALIBRATE, type=float, range=[2.5e+06, 1.2e+08]]
* ENABLE_GFIR_LPF - LPF bandwidth (must be set after sample rate)
[key=ENABLE_GFIR_LPF, type=float]
* TSG_NCO - Enable NCO test signal
[key=TSG_NCO, default=4, type=int, options=(-1, 4, 8)]

Additional info

armin@raspberrypi:~ $ sudo SoapySDRUtil --find
######################################################

Soapy SDR – the SDR abstraction library

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

[INFO] [UHD] linux; GNU C++ version 10.2.1 20210110; Boost_107400; UHD_3.15.0.0-4+b1satnogs1
Found device 0
default_input = True
default_output = True
device_id = 0
driver = audio
label = PulseAudio

Found device 1
addr = 24607:1027
driver = lime
label = LimeSDR Mini [USB 2.0] 1DA16FF4D8014C
media = USB 2.0
module = FT601
name = LimeSDR Mini
serial = 1DA16FF4D8014C

@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@
armin@raspberrypi:~ $ rtl_test
No supported devices found.
armin@raspberrypi:~ $

Hi, the information you shared is very good. It shows that soapy can find the Lime sdr. I have compared your settings to mine. See
https://network.satnogs.org/observations/8814091/#tab-metadata
for my settings. The only difference, I have the antenna name in in capitals LNAH, and you used small letters lnah. I am not sure if it is case sensitive, but maybe it is worth a try.

Also try to share a log of a failed observation. Run journalctl -u satnogs-client.service -n 100 to get the last 100 log lines and share them, please. Maybe we can see the error reported.

Hi, now I am confused. This is the station we are talking about? :

https://network.satnogs.org/observations/?norad=&start=&end=&observer=&station=3412&transmitter_mode=&transmitter_uuid=

It only shows obs in 137Mhz range. I would expect observations in the 22xx Mhz range, as you mentioned S band, and the Lime can do that fine. Also the description mentions a downconverter, unfortunately that is not supported (without hacking the flowgraphs).

Also did you set the antenna range on station setup page to include the 2200-2300Mhz range?

Are you in the satnogs chat channel? https://riot.im/app/#/room/#satnogs:matrix.org

Hi yes it is this station. I know that converter is not included. Just for test I did set a NOAA sat in VHF.
I am confused as --find shows the lime but with rtl --test it shows no device.
I did change to LNAH
At an observation I noted that the RX led on the Lime board did not came on >> NO RX

I think rtl_test is only for RTL-SDR-V3 devices, I think it is not for lime.

Can you visit the stations edit page and change the antenna to include S band?
https://network.satnogs.org/stations/edit/3412/
And schedule an observation?

The frequency of 137 is out of range of the LNAH antenna setting, the Lime driver will give an error and prevent the observation.

Hi yes about the test. I did run the test on my first gnd station (2925) with a Pluto as RX and I got also no answer.

Thank you for info about LNAH.
I will setup a observation in S-Band for a test

Compairing your settings I see that you set baudrate: 200000
On mine baudrate is shwon null!
In satnogs-setup I did found a point where I could set the baudrate!?

Hi it works!
See parameters:
https://network.satnogs.org/observations/8815853/
Thank you for support!
Now I am waiting for the new paramter to set an offset for the RX-frequency because I have a converter direct at the antenna which brings the signal via cable in the 2m range. (RX minus 2256MHz=output)

1 Like

for the higher frequencies you should increase the lo-offset.
I made a flowgraph branch that supports transverters and it needs to be run under -client with the appropriate branch as well. I am not using ansible client so this will not be so easy with satnogs-setup.
quick overview on how I did it a few years back.

basically, grcc the flowgraphs, use -client from the repo mentioned, set SATNOGS_LO_TRANSVERTER to the frequeny you want to be subtracted. after using satnogs-setup you need to re-apply this setting.

or, join the future and docker (: for now this is my closest approximation. info on how to get started.