EasyManua.ls Logo

Lime Microsystems LMS7002MR3 - A3.5 TBB Calibration; A3.6 TBB Low Band Calibration

Default Icon
123 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
111
if(Band_id <= RBB_20_0MHZ) //low band
{
low_band = 1; // CONTROL=C_CTL_LPFL_RBB
CONTROL = 0xFF; // Set the CONTROL to maximum value. This should bring the output cutt-off frequency to minimum.
Modify_SPI_Reg_bits (0x0117, 10, 0, CONTROL); // write to C_CTL_LPFL_RBB
}
else //high band
{
low_band = 0; // CONTROL=C_CTL_LPFH_RBB
CONTROL = 0x7FF; // Set the CONTROL to maximum value. This should bring the output cutt-off frequency to minimum.
Modify_SPI_Reg_bits (0x0116, 7, 0, CONTROL); // write to C_CTL_LPFH_RBB
}
Set_NCO_Freq (RBB_CalFreq[Band_id]); // Apply a single tone frequency at “CalFreq”.
while (1)
{
ADCOUT = Get_SPI_Reg_bits(0x040B, 15, 0); //RSSI value // Measure the value of the amplitude at the ADC input. This value should be lower
than “LowFreqAmp”.
if (ADCOUT >= LowFreqAmp) break; //If it is lower than “LowFreqAmp” repeat cycle
if (CONTROL == 0) return 0;
CONTROL--; // Decrease the CONTROL value by one.
if (low_band) Modify_SPI_Reg_bits (0x0117, 10, 0, CONTROL); // write to C_CTL_LPFL_RBB
else Modify_SPI_Reg_bits (0x0116, 7, 0, CONTROL); // write to C_CTL_LPFH_RBB
}
RBB_CBANK[MIMO_ch][Band_id] = CONTROL; // Store CBANK Values
RBB_STATUS[MIMO_ch][Band_id] = 1;
return 1;
}
A3.5 TBB calibration
TBB calibration is divided into two calibrations for low and high bands. Each calibration
consist of several smaller algorithms.
A3.6 TBB Low Band Calibration
Calibration steps:
1. Save current configuration
2. Start with calibrated value of the R.
3. Approximate (by calculation) the control value of the RBANK for the 11MHz
bandwidth setting.=>Register the value of the RBANK controls (ladder and real pole).
4. Calibrate (by measurement using loopback path 3) the control value of the CBANK(
same controls for both the ladder and the real pole) at the 11MHz bandwidth. =>
Register the CBANK control value for the low-band section.
5. Calibrate (by measurement using loopback path 4) the mismatch between the pre-
emphasis and the real pole stage. => Register the ‘high’ pre-emphasis parameters. (11
MHz).
6. Calibrate (by measurement using loopback path 5) the control value of the RBANK
(ladder only) for the 8.2MHz bandwidth setting => Register the value of the RBANK
controls.

Table of Contents