jopohl / urh

Universal Radio Hacker: Investigate Wireless Protocols Like A Boss
GNU General Public License v3.0
10.99k stars 874 forks source link

RSP1 - the signal is not recorded correctly (incorrect Sample rate) #1042

Closed nop0x900 closed 1 year ago

nop0x900 commented 1 year ago
Expected Behavior

SDRPlay RSP1 device. If you set the sample rate to 2M and the bandwidth to 125k (250k), then the real sample rate after recording is 500k. And the record length is exactly 4 times less. Well, accordingly, the width of the pulses is also 4 times smaller. With a bandwidth of 500k, the real sample rate is 1M (2M is specified in the settings). If Sample rate 2M, Band width 1M then real sample rate is 2M...

Actual Behavior
Steps To Reproduce

Sample rate 2M, Band width 125k,250k -> real sample rate is 500k Sample rate 2M, Band width 500k -> real sample rate is 1M Sample rate 2M, Band width 1M -> real sample rate is 1M

Screenshots

scr1

Platform Specifications

Windows 7 x86, Windows 10 x64, Sdrplay RSP1 (china clone)

andynoack commented 1 year ago

The bandwidth does not influence the sample rate.

nop0x900 commented 1 year ago

Полоса пропускания не влияет на частоту дискретизации.

The bandwidth does not influence the sample rate.

Yes. But there is a bug...

andynoack commented 1 year ago

I am unsure what exactly the problem is. By the way, you can configure the sample rate of a signal with a click on the (i) button. This is, however, only for displaying purposes (including the calculation of the shown timings).

nop0x900 commented 1 year ago

I am unsure what exactly the problem is. By the way, you can configure the sample rate of a signal with a click on the (i) button. This is, however, only for displaying purposes (including the calculation of the shown timings).

Thank you, that's exactly what I do. Only here is the problem with playback, through hack rf (minimal sample rate 2M), and it turns out it does not work correctly. And it's not convenient, you have to set the parameters every time through the (i) button.

andynoack commented 1 year ago

Well, playback/replay should not work at all using different sample rates for recording and sending, as the data stream is passed to the sending device directly. However, if you generate this signal, it is possible. I understand your problem as follows:

Do you confirm?

andynoack commented 1 year ago

Closed due to inactivity.