📄 l1_rf10.c
字号:
{ 112, 1}, //
{ 124, 2}, //
{ 991, 3}, //
{1009, 2}, //
{1023, 1}, //
},
{ //RX temperature compensation
{ -15 , 0 },
{ -5 , 0 },
{ 6 , 0 },
{ 16 , 0 },
{ 25 , 0 },
{ 35 , 0 },
{ 45 , 0 },
{ 56 , 0 },
{ 66 , 0 },
{ 75 , 0 },
{ 100 , 0 }
}
},
{ //TX structure
{// gsm900 T_LEVEL_TX
{ 510, 0, 0 }, // 0
{ 510, 0, 0 }, // 1
{ 510, 0, 0 }, // 2
{ 510, 0, 0 }, // 3
{ 510, 0, 0 }, // 4
{ 510, 0, 0 }, // 5
{ 449, 1, 0 }, // 6
{ 361, 2, 0 }, // 7
{ 291, 3, 0 }, // 8
{ 236, 4, 0 }, // 9
{ 192, 5, 0 }, // 10
{ 157, 6, 0 }, // 11
{ 130, 7, 0 }, // 12
{ 107, 8, 0 }, // 13
{ 86, 9, 0 }, // 14
{ 71, 10, 0 }, // 15
{ 61, 11, 0 }, // 16
{ 52, 12, 0 }, // 17
{ 47, 13, 0 }, // 18
{ 43, 14, 0 }, // 19
{ 43, 14, 0 }, // 20
{ 43, 14, 0 }, // 21
{ 43, 14, 0 }, // 22
{ 43, 14, 0 }, // 23
{ 43, 14, 0 }, // 24
{ 43, 14, 0 }, // 25
{ 43, 14, 0 }, // 26
{ 43, 14, 0 }, // 27
{ 43, 14, 0 }, // 28
{ 43, 14, 0 }, // 29
{ 43, 14, 0 }, // 30
{ 43, 14, 0 }, // 31
},
{// Channel Calibration Talbles
{// arfcn, tx_chan_cal
{ 27, 126 }, // Calibration Table 0
{ 47, 128 },
{ 66, 129 },
{ 85, 129 },
{ 104, 133 },
{ 124, 133 },
{ 994, 125 },
{ 1023, 125 }
},
{// arfcn, tx_chan_cal
{ 27, 128 }, // Calibration Table 1
{ 47, 128 },
{ 66, 128 },
{ 85, 128 },
{ 104, 128 },
{ 124, 128 },
{ 994, 128 },
{ 1023, 128 }
},
{// arfcn, tx_chan_cal
{ 27, 128 }, // Calibration Table 2
{ 47, 128 },
{ 66, 128 },
{ 85, 128 },
{ 104, 128 },
{ 124, 128 },
{ 994, 128 },
{ 1023, 128 }
},
{// arfcn, tx_chan_cal
{ 27, 128 }, // Calibration Table 3
{ 47, 128 },
{ 66, 128 },
{ 85, 128 },
{ 104, 128 },
{ 124, 128 },
{ 994, 128 },
{ 1023, 128 }
}
},
{ // GSM Power Ramp Values
{
{// Ramp-Up #0 profile - Power Level 5
0,0,0,0,0,0,0,0,0,10,31,31,31,15,10,0
},
{// Ramp-Down #0 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #1 profile - Power Level 6
0,0,0,0,0,0,0,0,0,10,31,31,31,15,10,0
},
{// Ramp-Down #1 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #2 profile - Power Level 7
0,0,0,0,0,0,0,0,0,6,19,31,31,31,10,0
},
{// Ramp-Down #2 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #3 profile - Power Level 8
0,0,0,0,0,0,0,0,0,6,19,31,31,31,10,0
},
{// Ramp-Down #3 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #4 profile - Power Level 9
0,0,0,0,0,0,0,0,0,9,16,31,31,31,10,0
},
{// Ramp-Down #4 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #5 profile - Power Level 10
0,0,0,0,0,0,0,0,0,9,16,31,31,31,10,0
},
{// Ramp-Down #5 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #6 profile - Power Level 11
0,0,0,0,0,0,0,0,0,9,16,31,31,31,10,0
},
{// Ramp-Down #6 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #7 profile - Power Level 12
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #7 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #8 profile - Power Level 13
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #8 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #9 profile - Power Level 14
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #9 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #10 profile - Power Level 15
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #10 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #11 profile - Power Level 16
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #11 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #12 profile - Power Level 17
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #12 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #13 profile - Power Level 18
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #13 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #14 profile - Power Level 19
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #14 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #15 profile - Power Level 19
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #15 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
}
}
},
{ //TX temperature compensation
#if (ORDER2_TX_TEMP_CAL==1)
{ -11, 0, 0, 0 },
{ +9, 0, 0, 0 },
{ +39, 0, 0, 0 },
{ +59, 0, 0, 0 },
{ 127, 0, 0, 0 }
#else
{ -11, 0 },
{ +9, 0 },
{ +39, 0 },
{ +59, 0 },
{ 127, 0 }
#endif
},
},
//IQ swap
SWAP_IQ_GSM,
};
const T_RF_BAND rf_1800 =
{
{ //RX structure
{ //T_RX_CAL_PARAMS rx_cal_params
188, //g_magic
40, //lna gain * 2
40, //lna_th_high
44 //lna_th_low
},
{ //T_RF_AGC_BAND agc_bands[RF_RX_CAL_CHAN_SIZE];
/*--------------*/
/*-- DCS band --*/
/*--------------*/
{548, 0}, //
{622, 1}, //
{680, 0}, //
{745, 0}, //
{812, 0}, //
{860, 0}, //
{885, 2}, //
{ 991, 0}, //
{ 992, 0}, //
{1023, 0}, //
},
{ //RX temperature compensation
{ -15 , 0 },
{ -5 , 0 },
{ 6 , 0 },
{ 16 , 0 },
{ 25 , 0 },
{ 35 , 0 },
{ 45 , 0 },
{ 56 , 0 },
{ 66 , 0 },
{ 75 , 0 },
{ 100 , 0 }
}
},
{ //TX structure
{// dcs1800 T_LEVEL_TX
{ 463, 0, 0 }, // 0
{ 376, 1, 0 }, // 1
{ 309, 2, 0 }, // 2
{ 255, 3, 0 }, // 3
{ 211, 4, 0 }, // 4
{ 176, 5, 0 }, // 5
{ 146, 6, 0 }, // 6
{ 122, 7, 0 }, // 7
{ 99, 8, 0 }, // 8
{ 83, 9, 0 }, // 9
{ 70, 10, 0 }, // 10
{ 58, 11, 0 }, // 11
{ 47, 12, 0 }, // 12
{ 38, 13, 0 }, // 13
{ 32, 14, 0 }, // 14
{ 26, 15, 0 }, // 15
{ 26, 15, 0 }, // 16
{ 26, 15, 0 }, // 17
{ 26, 15, 0 }, // 18
{ 26, 15, 0 }, // 19
{ 26, 15, 0 }, // 20
{ 26, 15, 0 }, // 21
{ 26, 15, 0 }, // 22
{ 26, 15, 0 }, // 23
{ 26, 15, 0 }, // 24
{ 26, 15, 0 }, // 25
{ 26, 15, 0 }, // 26
{ 26, 15, 0 }, // 27
{ 26, 15, 0 }, // 28
{ 463, 0, 0 }, // 29
{ 463, 0, 0 }, // 30
{ 463, 0, 0 }, // 31
},
{// Channel Calibration Talbles
{// arfcn, tx_chan_cal
{ 553, 128 }, // Calibration Table 0
{ 594, 128 },
{ 636, 128 },
{ 677, 128 },
{ 720, 128 },
{ 760, 128 },
{ 802, 127 },
{ 885, 127 }
},
{
{ 553, 128 }, // Calibration Table 1
{ 594, 128 },
{ 636, 128 },
{ 677, 128 },
{ 720, 128 },
{ 760, 128 },
{ 802, 128 },
{ 885, 128 }
},
{// arfcn, tx_chan_cal
{ 553, 128 }, // Calibration Table 2
{ 594, 128 },
{ 636, 128 },
{ 677, 128 },
{ 720, 128 },
{ 760, 128 },
{ 802, 128 },
{ 885, 128 }
},
{// arfcn, tx_chan_cal
{ 553, 128 }, // Calibration Table 3
{ 594, 128 },
{ 636, 128 },
{ 677, 128 },
{ 720, 128 },
{ 760, 128 },
{ 802, 128 },
{ 885, 128 }
}
},
{ // DCS Power Ramp Values
{
{// Ramp-Up #0 profile - Power Level 0
0,0,0,0,0,0,0,0,0,5,20,31,31,31,10,0
},
{// Ramp-Down #0 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #1 profile - Power Level 1
0,0,0,0,0,0,0,0,0,5,20,31,31,31,10,0
},
{// Ramp-Down #1 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #2 profile - Power Level 2
0,0,0,0,0,0,0,0,0,5,20,31,31,31,10,0
},
{// Ramp-Down #2 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #3 profile - Power Level 3
0,0,0,0,0,0,0,0,0,5,20,31,31,31,10,0
},
{// Ramp-Down #3 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #4 profile - Power Level 4
0,0,0,0,0,0,0,0,0,5,20,31,31,31,10,0
},
{// Ramp-Down #4 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #5 profile - Power Level 5
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #5 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #6 profile - Power Level 6
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #6 profile
0,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #7 profile - Power Level 7
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
{// Ramp-Down #7 profile
0 ,10,25,31,31,22,9,0,0,0,0,0,0,0,0,0
},
},
{
{// Ramp-Up #8 profile - Power Level 8
0,0,0,0,0,0,0,0,0,0,25,31,31,31,10,0
},
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -