rhgndf / rx888_stream

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

PGA and other questions #5

Open Steven9101 opened 6 months ago

Steven9101 commented 6 months ago

What exactly is PGA? Also when i set gain mode to high then in PhantomSDR the Waterfall is just full of noise no signals same with pga. I have a Mk2 Rx888. Also what are the max values for the rx888 mk2 for each setting?

rhgndf commented 6 months ago

PGA is probably the programmable gain amplifier in the LTC2208 datasheet. I have been using it with PGA on and a high gain mode with value 70 with no issues. Were the signals received already very strong without PGA and high gain mode? It could be due to the signals beyond the range of the ADC, or that the input format is wrong, s16 and u16.

For the set of commands I just copied the set of commands from the original repo to this codebase.

Steven9101 commented 6 months ago

What should i set it s16 or u16. I used the example config file. Yea the signals are strong on 50 gain low

Steven9101 commented 6 months ago

But i can set the gain very low and pga will break it

rhgndf commented 6 months ago

Took a look, s16 looks correct. Setting it to u16 makes things worse.

I suggest you stick with the settings that work well for you: low gain mode and pga disabled. One more test you can try is to set the gain to very low, such as 1 or 2 and check whether it will break on pga, then try again on gain mode 0.