Should the LMS_SetAntenna be selecting the antenna based on the frequency? I see in the RF loopback tests that there are two antennas. Which frequency ranges should be used for which antenna?
->Run Tests (TX_2 → LNA_W):
CH0 (SXR=1000.0MHz, SXT=1005.0MHz): Result:(-19.1 dBFS, 5.00 MHz) - PASSED
->Run Tests (TX_1 → LNA_H):
CH0 (SXR=2100.0MHz, SXT=2105.0MHz): Result:(-21.6 dBFS, 5.00 MHz) - PASSED
->RF Loopback Test PASSED
https://limesdr-mini.myriadrf.org/documentation/board-description#rf-path-and-control-signals
Antennas are matched for different frequencies:
BAND1 2 GHz - 2.6 GHz
BAND2 30 MHz - 1.9 GHz
LNAH 2 GHz - 2.6 GHz
LNAW 30 MHz - 1900 MHz
I see in the sample code that a call to LMS_GetAntenna then a call to LMS_SetAntenna follows it. Does this need to be everytime the frequency is changed? Can we just set the antenna to AUTO and the LMS will automatically pick the correct antenna?
after antenna is set to AUTO, it will be automatically updated each time LO frequency is changed.