Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rx_power with LimeSDR #89

Open
ghost opened this issue Dec 2, 2020 · 1 comment
Open

rx_power with LimeSDR #89

ghost opened this issue Dec 2, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 2, 2020

I'm trying to work with rx_power scripts recently. For some reason, the csv file output is not correct in Ubuntu 16.04. However, it's working fine in Ubuntu 20.04.
Unfortunately, changing the Ubuntu distribution from 16.04 to 20.04 is not an option for me at the moment. So, I need some suggestions and help to identify and fix the problem in Ubuntu 16.04

~$ rx_power -f 100M:300M:200k -i 2m -1 survey.csv
Number of frequency hops: 72
Dongle bandwidth: 2777777Hz
Downsampling by: 1x
Cropping by: 0.00%
Total FFT bins: 1152
Logged FFT bins: 1152
FFT bin size: 173611.06Hz
Buffer size: 16384 bytes (2.95ms)
Reporting every 120 seconds
Using device Audio: device_id=0 origin=https://github.com/pothosware/SoapyAudio 
Found 1 channel(s) :
Channel 0 :
  Found 1 antenna(s): RX 
  Found 0 gain(s): 
  Found 1 frequencies: RF 
  Found 7 sample rates: 8000 16000 22050 32000 44100 48000 96000 
  Found 0 bandwidths: 
[INFO] Using format CS16.

User cancel, exiting...

Screenshot of the resultant csv:
image

SoapySDRUtil --probe="driver=lime" finds the LimeSDR without any problem. Can someone points me in the right direction whether it's some soapy library issues or not? or rx_power is not compatible with ubuntu 16.04 ?
Any suggestions are welcome

@ghost
Copy link
Author

ghost commented Dec 2, 2020

I added -d driver=lime options with rx_power command. This time got this error
Error: bad retune at 101388888 Hz (4 of 3 attempts), r=-1, flags=0 (try increasing -S or -R).
Error: reading stream -1

$ rx_power -f 100M:300M:200k -i 2m -1 survey.csv -d driver=lime
Number of frequency hops: 72
Dongle bandwidth: 2777777Hz
Downsampling by: 1x
Cropping by: 0.00%
Total FFT bins: 1152
Logged FFT bins: 1152
FFT bin size: 173611.06Hz
Buffer size: 16384 bytes (2.95ms)
Reporting every 120 seconds
............................................................ <output omitted>
Found 1 channel(s) :
Channel 0 :
  Found 5 antenna(s): NONE LNAH LNAL_NC LNAW Auto 
  Found 3 gain(s): TIA LNA PGA 
  Found 2 frequencies: RF BB 
  Found 2 sample rates: 100000 65000000 
  Found 0 bandwidths: 
[INFO] RX LPF configured
[INFO] Selected RX path: LNAW
**Error: bad retune at 101388888 Hz (4 of 3 attempts), r=-1, flags=0 (try increasing -S or -R).
Error: reading stream -1**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants