f4exb / sdrangel

SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay and FunCube
GNU General Public License v3.0
2.95k stars 447 forks source link

Switching between software using Plutosdr #2198

Closed ghost closed 4 months ago

ghost commented 4 months ago

Greetings!

I have been trying to implement a weather monitoring system that switches among the different stations that are transmitting. The idea is to switch to a different software for the different stations, SDRAngel being one of those software. For a while, when I terminate the other software, rtl_433, then run SDRAngel, it works just fine. However, I had to reinstall the rtl_433 software (I am not sure why but it somehow got deleted, perhaps an error on my part), and now SDRAngel is not functioning properly anymore AFTER switching from rtl_433.

To add a few details that may help, I am running this on a RaspberryPi 4B with Ubuntu OS and I am using the ADALM-Pluto SDR. Just to clarify as well, both software work, but only independently, i.e., if I only run SDRAngel, it is able to decode signals. However, if I call rtl_433 before it, only then will it not "work" (it is capable of detecting and "using" the device, but no signals are being detected).

I was thinking that it may have something to do with how the software is still interfaced with the SDR despite the software being terminated, which was not an issue or just did not happen before for some reason. I have also raised this issue in the other forum and will update any information I gain from there.

Thank you in advance for the help!

ghost commented 4 months ago

Greetings!

I have found the solution thanks to a suggestion from the other forum! Turns out there is some parameter of PlutoSDR that isn't being "reset" when I terminate rtl_433. I simply had to reset that manually via iio_attr commands.

The specific parameter is the powerdown value under device ad9361-phy, channel altvoltage0.