Using RSP1 in gnuradio with osmocom source block

Post information or questions regarding SDRplay products here
Post Reply
vincent2718
Posts: 1
Joined: Wed Nov 15, 2017 10:17 pm

Using RSP1 in gnuradio with osmocom source block

Post by vincent2718 » Fri Jan 12, 2018 12:06 am

Hi,

I have RSP1 and use it to listen FM radios with CubicSDR on a machine with Ubuntu 14.04. I installed the special API and blacklisted modules as indicated to me by SDRPlay support team
blacklist sdr_msi3101
blacklist msi2500
blacklist msi001
in the blacklist.conf file.

And it works fine. I can effectively use CubicSDR to listen radios. :D For instance, at the request
SoapySDRUtil --probe="sdrplay" I get the reply
I obtained

######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay

----------------------------------------------------
-- Device identification
----------------------------------------------------
driver=SDRplay
hardware=1 B0003P0007
mir_sdr_api_version=2.100000
mir_sdr_hw_version=1

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* IF Mode - IF frequency in kHz
[key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]
* IQ Correction - IQ Correction Control
[key=iqcorr_ctrl, default=true, type=bool]
* AGC Setpoint - AGC Setpoint (dBfs)
[key=agc_setpoint, default=-30, type=int, range=[-60, 0]]

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
Full-duplex: YES
Supports AGC: YES
Stream formats: CS16, CF32
Native format: CS16 [full-scale=32767]
Antennas: RX
Corrections: DC removal
Full gain range: [0, 42] dB
IFGR gain range: [20, 59] dB
RFGR gain range: [0, 3] dB
Full freq range: [0.01, 2000] MHz
RF freq range: [0.01, 2000] MHz
CORR freq range: MHz
Sample rates: 0.25, 0.5, 1, 2, 2.048, 6, 7, 8, 9, 10 MSps
Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz

Then I tried to work under gnuradio with a very basic grc schema
schema1.png
schema1.png (19.65 KiB) Viewed 17184 times
I couldn't execute the schema for sometime and obtained the bug 528 message until I understood I should uninstall the gr-osmodr and reinstall it with the instruction
cmake ../ -DENABLE_NONFREE=TRUE
and now gnuradio finds the RSP1 but I have the following message in grc:
Generating: "/home/vincent/Documents/GNURadio/essai_SDRRTL_hardware.py"

Executing: "/home/vincent/Documents/GNURadio/essai_SDRRTL_hardware.py"

linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.010.git-29-gbc80e972

gr-osmosdr v0.1.4-48-g86ad5842 (0.1.5git) gnuradio 3.7.8
built-in source types: file fcd rtl rtl_tcp uhd sdrplay hackrf bladerf rfspace airspy soapy
get_num_channels: 1
get_num_channels: 1
set_sample_rate start
rate = 1.2e+06
diff = -848000
set_sample_rate end
get_num_channels: 1
get_num_channels: 1
get_num_channels: 1
set_center_freq start
freq = 1.011e+08
diff = -9.89e+07
set_center_freq end
get_num_channels: 1
get_num_channels: 1
get_num_channels: 1
get_num_channels: 1
get_num_channels: 1
get_num_channels: 1
get_num_channels: 1
set_gain started
gain = 50
set_gain end
get_num_channels: 1
get_num_channels: 1
get_num_channels: 1
get_num_channels: 1
Using Volk machine: avx2_64_mmx_orc
reinit_device started
after mutex.lock
mir_sdr_Init started
reinit_device end
and the device displays no signal at all.
display1.png
display1.png (50.94 KiB) Viewed 17184 times
What should I try now? I am lost :oops: and found no clue as to what I could do on the forum.

Thanking you in advance
Vincent
Last edited by vincent2718 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

eagle4321
Posts: 1
Joined: Tue Feb 26, 2019 9:16 pm

Re: Using RSP1 in gnuradio with osmocom source block

Post by eagle4321 » Tue Feb 26, 2019 9:20 pm

Did you ever find a solution to this issue? Experiencing the same issue. Tried with a HackRF and it works fine. Seems to be SDRPlay specific.
Last edited by eagle4321 on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: Using RSP1 in gnuradio with osmocom source block

Post by sdrplay » Mon Mar 18, 2019 7:09 am

The best and easiest way to get up and running with RSPs in Gnu Radio is here:

https://www.sdrplay.com/community/viewt ... f=6&t=3770

Bespoke source blocks for each RSP so that you can control all aspects of the RSP directly.

Best regards,

Andy

Reason: No reason

Post Reply