110
Algorithm_F_RBB
Input Parameters: Band_id
Return Parameters: status
Band <= 20 MHz ?
low_band := 1
CONTROL := 0xFF
C_CTL_LPFL_RBB_(1, 2)[10:0](0x0117[10:0]) :=
CONTROL
low_band := 0
CONTROL := 0x7FF
C_CTL_LPFH_RBB_(1, 2)[7:0](0x0116[7:0]) :=
CONTROL
Apply a single tone frequency at (Band/2)
low_band == 1
C_CTL_LPFL_RBB_(1, 2)[10:0](0x0117[10:0]) :=
CONTROL
C_CTL_LPFH_RBB_(1, 2)[7:0](0x0116[7:0]) :=
CONTROL
ADCOUT := RSSI[15:0] (0x040B[15:0])
ADCOUT >= LowFreqAmp
CONTROL := CONTROL – 1
Result := FALSE
CONTROL == 0
NO
YES
YES
NO
NO
NO
Return Result.
END
Store CONTROL value @ Band Freq
Result := TRUE
YES
YES
Figure 37 RBB algorithm F
C code for algorithm F:
unsigned char Algorithm_F_RBB (unsigned char Band_id)
{
unsigned short ADCOUT, CONTROL;
unsigned char low_band;
//Modify_SPI_Reg_bits (0x040A, 13, 12, 1); // AGC Mode = 1 (RSSI mode)
Содержание LMS7002M Series
Страница 2: ......
Страница 79: ...75 A Ap pp pe en nd di ix x 2 2 Control Block Diagrams ...