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

TX interpolation >= 16x problem #1895

Open
srcejon opened this issue Nov 17, 2023 · 10 comments
Open

TX interpolation >= 16x problem #1895

srcejon opened this issue Nov 17, 2023 · 10 comments
Assignees

Comments

@srcejon
Copy link
Collaborator

srcejon commented Nov 17, 2023

As was discussed on #1892, the M17 modulator did not appear to work with low baseband sample rate (<100k).

I suspect the problem is actually with interpolation when set to 16x or greater.

Here's a picture of TX and RX spectrum of the packet mod, with Int = 8 - which looks OK (and pretty similar to Int 1, 2 and 4)

image

And here it is with Int = 16

image

Which looks like it has a problem.

@f4exb
Copy link
Owner

f4exb commented Nov 25, 2023

"MyB210" suggests you are using a USRP here. I have tried with a HackRF Tx + RTL-SDR Rx combo and I do not notice the issue:

issue-1895-2023-11-25_12.24.19.mp4

Also what modulator do you use? I have used the packet modulator in a loop transmission to obtain similar pulses.

@srcejon
Copy link
Collaborator Author

srcejon commented Nov 25, 2023

Yep, a USRP with with Packet Mod.

In usrpoutputthread.h

   Interpolators<qint16, SDR_TX_SAMP_SZ, 12> m_interpolators;

In hackrfoutputthread:

  Interpolators<qint8, SDR_TX_SAMP_SZ, 8> m_interpolators;

So different data-types / scaling may explain it.

@srcejon
Copy link
Collaborator Author

srcejon commented Nov 25, 2023

BladeRF uses the same interpolators, but I don't have one, to check if it has the problem.

Also, might need something with higher res ADC than RTL SDR to see the problem, as SNR needs to be more than 40dB.

@f4exb
Copy link
Owner

f4exb commented Nov 25, 2023

Yes I just tried with the BladeRF 2 at an interpolation of 16 and using the Aaronia RTSA as the receiver which cannot suspected of bad dynamic range. Even with a dynamic of 60dB on the spectrum no artifacts are visible.

image

@srcejon
Copy link
Collaborator Author

srcejon commented Nov 25, 2023

Ok, thanks. Will try to narrow it down some more here.

Copy link

github-actions bot commented Jan 5, 2024

This issue is going to be closed due to inactivity

@srcejon srcejon self-assigned this Jan 5, 2024
@sp5wwp
Copy link

sp5wwp commented Jan 31, 2024

Are there any updates to this?

@srcejon
Copy link
Collaborator Author

srcejon commented Jan 31, 2024

Working on something else at the moment, I'm afraid.

@sp5wwp
Copy link

sp5wwp commented Sep 26, 2024

Is this bug still present?

@srcejon
Copy link
Collaborator Author

srcejon commented Sep 27, 2024

I suspect so, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants