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

Is HDR mode supported by SoapySDRPlay3? #75

Open
OH2LAK opened this issue Jul 9, 2023 · 4 comments
Open

Is HDR mode supported by SoapySDRPlay3? #75

OH2LAK opened this issue Jul 9, 2023 · 4 comments
Assignees

Comments

@OH2LAK
Copy link

OH2LAK commented Jul 9, 2023

SDRPlay devices like RSPDx supports HDR mode (High Dynamic Range) in conjunction with 500kHz and 2MHz low-pass filters. Is this feature supported by SoapySDRPlay3 or not?

As the bands below 2MHz are completely dead with RSPDx being used with OpenWebRX, I think lack of support for the LPF filters or HDR mode is the reason for that.

Usage of the 'hdrEnable' command is described in the SDRPlay API document;
https://www.sdrplay.com/docs/SDRplay_API_Specification_v3.07.pdf#page=26

@fventuri
Copy link
Collaborator

@OH2LAK - a few months ago I created a branch called rspdx-hdr (https://github.com/pothosware/SoapySDRPlay3/tree/rspdx-hdr), where I added a new boolean setting called hdr_ctrl (https://github.com/pothosware/SoapySDRPlay3/blob/rspdx-hdr/Settings.cpp#L1386-L1392).

After you build and install that branch, you can enable HDR mode by adding hdrl_ctrl=1 to the device string.

Please give it a try and let me know what you think; once we think it is good and works as expexted, I'll merge that change into the master branch.

Franco

@fventuri fventuri self-assigned this Jul 10, 2023
@OH2LAK
Copy link
Author

OH2LAK commented Jul 10, 2023

Thanks Franco, I will give it a try! Looks like without the HDR setting enabled, RSPDx uses the lowest BPF which is 2-12MHz, thus making it unusable for LW and MW use.

I'll report back how it goes!

Erik

@OH2LAK
Copy link
Author

OH2LAK commented Jul 21, 2023

I can confirm that the rspdx-hdr branch works with HDR mode and I have signals on MW and LW now. Though, I did not include the parameter hdrl_ctrl=1 anywhere. I'm testing the driver with OpenWebRX

..
Erik

@fventuri
Copy link
Collaborator

Erik,
thanks for confirming that that change works.
I just merged that branch into the master branch and updated the release version to 0.4.2.

I think the reason why HDR mode is enabled in your RSPdx is because the default for that setting is true (https://github.com/pothosware/SoapySDRPlay3/blob/master/Settings.cpp#L1394); you can disable it by adding hdr_ctrl=0 in the device configuration string.

Franco

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

2 participants