Calibration_LowBand_RBB
Input Parameters: channel
Return Parameters: status
Restore configuration
Perform Algorithm_B_RBB Procedure and get Result
Perform Algorithm_F_RBB Procedure for 1.4 MHz band
and get Result
Perform Algorithm_F_RBB Procedure for 3.0 MHz band
and get Result
Perform Algorithm_F_RBB Procedure for 5.0 MHz band
and get Result
Perform Algorithm_F_RBB Procedure for 10.0 MHz band
and get Result
Perform Algorithm_F_RBB Procedure for 15.0 MHz band
and get Result
Perform Algorithm_F_RBB Procedure for 20.0 MHz band
and get Result
Result == TRUE
Return Result.
END
Result := FALSEResult := TRUE
YES
NO
Perform Algorithm_A_RBB Procedure and get Result
Save current configuration
Select channel
unsigned char Calibration_LowBand_RBB (unsigned char ch)
{
unsigned char result = 0;
Save_config_RBB (); //save current configuration
MIMO_Ctrl (ch);
Modify_SPI_Reg_bits (0x040A, 13, 12, 1); // AGC Mode = 1 (RSSI mode);
Algorithm_A_RBB (); // Aproximate resistor value for RBB RBANKS (Algorithm A)
Set_cal_path_RBB (7); // Set control signals to path 7 (RX LowBand)
if (Algorithm_B_RBB (&LowFreqAmp) != 1) goto RESTORE; // Calibrate and Record the low frequency output amplitude (Algorithm B)
Algorithm_F_RBB (RBB_1_4MHZ);// CalibrateByCap the output cuttoff frequency at 0,7 MHz and store
Algorithm_F_RBB (RBB_3_0MHZ);// CalibrateByCap the output cuttoff frequency at 1,5 MHz MHz and store
Algorithm_F_RBB (RBB_5_0MHZ);// CalibrateByCap the output cuttoff frequency at 2,5 MHz MHz and store
Algorithm_F_RBB (RBB_10_0MHZ);// CalibrateByCap the output cuttoff frequency at 5 MHz MHz and store
Algorithm_F_RBB (RBB_15_0MHZ);// CalibrateByCap the output cuttoff frequency at 7,5 MHz and store
Algorithm_F_RBB (RBB_20_0MHZ);// CalibrateByCap the output cuttoff frequency at 10 MHz MHz and store