You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing calibration upon initializing LimeSDR receiver and upon changing the sampling rate.
if(_antenna == LMS_PATH_LNAL){
// LNAL matching workaround
if(LMS_SetLOFrequency(_device, LMS_CH_RX, _chan, 200e6))
result = false;
else if(LMS_Calibrate(_device, LMS_CH_RX, _chan, bandwidth, 0))
result = false;
else if (LMS_SetLOFrequency(_device, LMS_CH_RX, _chan, _freq))
result = false;
}
else if(_freq >= 31e6){
// Normal calibration
if(LMS_Calibrate(_device, LMS_CH_RX, _chan, bandwidth, 0))
result = false;
}
else{
// Lower than 31 MHz center frequency workaround
if(LMS_SetLOFrequency(_device, LMS_CH_RX, _chan, 50e6))
result = false;
else if(LMS_Calibrate(_device, LMS_CH_RX, _chan, bandwidth, 0))
result = false;
else if (LMS_SetLOFrequency(_device, LMS_CH_RX, _chan, _freq))
result = false;
}
This is the way, provided with the basic LimeSuite API. But it fails to compensate I/Q value, so resulting spectrum looks nasty.
I've tried to calibrate I/Q with LimeSuiteGUI, and it worked fine. So I have to use:
I'm doing calibration upon initializing LimeSDR receiver and upon changing the sampling rate.
This is the way, provided with the basic LimeSuite API. But it fails to compensate I/Q value, so resulting spectrum looks nasty.
I've tried to calibrate I/Q with LimeSuiteGUI, and it worked fine. So I have to use:
Please fix this problem with API.
The text was updated successfully, but these errors were encountered: