118
8.
Return the value of CONTROL.
Algorithm_E_TBB
Input Parameters: Band
Return Parameters: status
Band <= 11 MHz ?
CONTROL := 0
low_band := 1
RCAL_LPFLAD_TBB_(1, 2)[7:0](0x0109[7:0]) :=
CONTROL
low_band := 0
RCAL_LPFH_TBB_(1, 2)[7:0](0x0109[15:8]) :=
CONTROL
Perform
Algorithm_B_TBB
Procedure and get Result
Apply a single tone frequency at Band
low_band == 1
RCAL_LPFLAD_TBB_(1, 2)[7:0](0x0109[7:0]) :=
CONTROL
RCAL_LPFH_TBB_(1, 2)[7:0](0x0109[15:8]) :=
CONTROL
ADCOUT := RSSI[15:0] (0x040B[15:0])
ADCOUT >= LowFreqAmp
CONTROL := C 1
Result := FALSE
CONTROL == 0
YES
NO
NO
NO
Return Result.
END
Store CONTROL value RBANK @ Band Freq
Result := TRUE
YES
YES
NO
YES
Figure 42 TBB algorithm E
C code for algorithm E:
unsigned char Algorithm_E_TBB (unsigned char Band_id)
{
unsigned short ADCOUT;
unsigned char low_band, CONTROL;
CONTROL = 0; // Set the CONTROL to zero. This should bring the output cutt-off frequency to minimum.
Содержание LMS7002M Series
Страница 2: ......
Страница 79: ...75 A Ap pp pe en nd di ix x 2 2 Control Block Diagrams ...