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

Gain limit in oversampling mode could be potentially be extended #902

Closed
Aang23 opened this issue Feb 16, 2023 · 0 comments
Closed

Gain limit in oversampling mode could be potentially be extended #902

Aang23 opened this issue Feb 16, 2023 · 0 comments

Comments

@Aang23
Copy link

Aang23 commented Feb 16, 2023

Hello!

When I implemented support for this new feature in SatDump, I noticed the gain limit was 11. Out of curiosity and to get an idea of the reasoning behind it, I played around with the full gain range unlocked.

It is pretty clear anything above 11 is unusable, but starting from 39db, the spectrum is usable again. It's not perfect, but it's for some usecases better than the sharper cutoff there seems to be under 11db. This provides a similar result to adding an extra LNA (such as a BT200), and in my testing can help a bit with wideband demodulation.

Spectrum with a 50 ohms reference :
Screenshot from 2023-02-16 14-46-05
Screenshot from 2023-02-16 14-45-38

Spectrum hooked up onto L-Band 1.5Ghz Inmarsat signals :
Screenshot from 2023-02-16 14-46-53
Screenshot from 2023-02-16 14-47-10

My current patch is the following :

    if (dev->feature == BLADERF_FEATURE_OVERSAMPLE && (gain > 11 && gain < 39)) {
        log_warning("Out of oversample feature gain range. RF Gain clamped to 11.\n");
        gain = 11;
    }
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

1 participant