soapy_power icon indicating copy to clipboard operation
soapy_power copied to clipboard

Gains doing some odd things in calibration on LimeSDR

Open kieranfish opened this issue 6 years ago • 2 comments

Hey there. I’m using Qspectrumanalyzer, which runs on soapy_power. And I'm using the "--specific gains" command to change my gains and it goes through the usual calibration, but it's doing some odd things. I’ve set the gains using:

–specific-gains LNA=10,PGA=10,TIA=10

But when I read through the terminal, it says the following:

Rx calibration using RSSI INTERNAL ON BOARD loopback Rx ch.A @ 1904.65 MHz, BW: 30 MHz, RF input: LNAH, PGA: 22, LNA: 4, TIA: 2 Rx calibration: using cached values Rx calibration values found in cache:

According to the data sheet, the max gains are: LNA = 30, TIA =12, and PGA = 19. So that shouldn't be an issue.

If I set the gains to their max, I get the following.

Rx ch.A @ 1904.65 MHz, BW: 30 MHz, RF input: LNAH, PGA: 31, LNA: 15, TIA: 3

Not sure if this is relevant, but I commented out 2 lines (111 and 112) in Soapy_power.py that apply a -g option to the command line if the value is not negative. This was just to get the program to accept the specific gains, as it was telling me:

'soapy_power: error: argument -G/–specific-gains: not allowed with argument -g/–gain'

kieranfish avatar Nov 08 '17 08:11 kieranfish

Just set the LNA, TIA and PGA to 10dB with the specific gains command and got the following on the terminal

'Rx ch.A @ 1904.65 MHz, BW: 30 MHz, RF input: LNAH, PGA: 22, LNA: 4, TIA: 2' So something weird is happening. Can someone try replicate this?

kieranfish avatar Nov 08 '17 10:11 kieranfish

@xmikos please help

kieranfish avatar Nov 08 '17 10:11 kieranfish