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

direct sampling for rtl_tcp #35

Open
luoGanda opened this issue Nov 23, 2021 · 0 comments
Open

direct sampling for rtl_tcp #35

luoGanda opened this issue Nov 23, 2021 · 0 comments

Comments

@luoGanda
Copy link

i could be wrong but..
i tested this more times, and it doesn't work as it should..
I set direct sampling, but all i get is static noise with a peak in the middle from 100khz till cca 25MHz.
It may be that driver is using I, instead of Q sampling mode.

Maybe this is the issue at librtlsdr.c:
/* only enable In-phase ADC input */
r |= rtlsdr_demod_write_reg(dev, 0, 0x08, 0x4d, 1);

/* swap I and Q ADC, this allows to select between two inputs */
r |= rtlsdr_demod_write_reg(dev, 0, 0x06, (on > 1) ? 0x90 : 0x80, 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

1 participant