rhgndf / rx888_stream

command line utility to stream samples from RX888
GNU General Public License v3.0
8 stars 3 forks source link

RX-888 (non-mkii) SDR not receiving signals #1

Open azwirko opened 1 year ago

azwirko commented 1 year ago

Thanks for this great little app to stream data from the RX-888, but this only worked with my MKII version, not the original RX-888 version. It turns out that the older SDR uses a different means of setting the attenuator and only has 4 settings vs 32 with the newer SDR. The older version uses GPIO bit to set the attenuation. Without setting these bits, my older SDR would only receive dead band white noise.

I did modify your app to work with my older SDR by doing the following. In rx888_stream.c on line 417 add ONE of the lines as follows for 0 dB, 10 dB or 20 dB respectively:

gpio |= ATT_SEL1 gpio |= ATT_SEL0 | ATT_SEL1 gpio |= ATT_SEL0

and then comment out line 421 with the DAT31_ATT setting.

Maybe you could add a different command line argument to the app to handle the older SDR and this requirement?

73

andyz - K1RA

rhgndf commented 1 year ago

Thanks for the suggestion, however I don't have the hardware to test the changes out. Mind if you could PR your changes?

rhgndf commented 8 months ago

The new version has support for the non MKII version. It auto-detects the version and sets the correct gain based on the command line arguments now.