I am developing a VNA application using a LimeSDR Mini (V1.2), a Raspberry Pi 4 and a touchscreen to add to the test equipment suite of the Portsdown 4 DATV Transceiver.
It uses a 1 MHz (high side) carrier as the TX source and an fft to detect the RX signal; sample rate is 8 MHz. I can get more than 70 dB of dynamic range and good phase measurement on a constant frequency, but every time I change frequency the received phase jumps randomly to one of the four 90 degree quadrants.
I want to use a short burst of RF loopback every time that the frequency changes to check the phase, but I don’t seem to be able to get RF Loopback to work. I am using LNAW (for phase detection) so that I don’t have to make any changes as the frequency transitions through 2 GHz.
After the frequency changes, with the TX stream running, I’m making the following changes to registers:
0x0101 bits 11 and 12 to 0 "L_LOOPB_TXPAD_TRF" to 0 dB loss
0x0101 bit 0 to 0 "EN_LOOPB_TXPAD_TRF_(1, 2)" Enable
0x010C bits 5 and 6 to 1 "PD_RLOOPB_1_RFE_(1, 2)" RXFE loopback 1 and 2 active
0x010D bits 7 and 8 to 1 "SEL_PATH_RFE_(1, 2)" LNAW path active
0x010D bit 3 to 0 "EN_INSHSW_LB2_RFE_(1, 2)" disable loopback shorting on LNAW
0x010D bit 1 to 1 "EN_INSHSW_W_RFE_(1, 2)" enable antenna input short on LNAW
0x0113 bits 2 to 5 to 1 "G_RXLOOPB_RFE_(1, 2)[3:0]" set RXFE loopback gain to Gmax
After making these changes, all I get is the same signal as is on the input but about 15 dB lower. If that signal is removed there is no sign of any loopback signal.
What am I missing?
Thanks
Dave, G8GKQ