有没有大牛做过CE6.0下的RDA驱动,厂家只给了mtk方案下的源码,具体的添加步骤。
unsigned short rdabt_rf_init_11[][2] =
{
{0x3f,0x0000},
{0x01,0x1FFF},//;
{0x06,0x07F4},//;padrv_set,increase the power.
{0x08,0x01E7},//;
{0x09,0x0520},//;
{0x0B,0x030F},//;filter_cap_tuning<3:0>1101
{0x0C,0x85E8},//;
{0x0F,0x1DCC},//; adc_clk_sel=1 20101126
{0x12,0x07F4},//;padrv_set,increase the power.
{0x13,0x0327},//;agpio down pullen
{0x14,0x0CFE},//;
{0x15,0x0526},//;Pll_bypass_ontch:1,improve ACPR.
{0x16,0x8918},//;add div24 20101126
{0x18,0x8800},//;//pll_fref_mdll_en=0 20101231 by shuran
{0x19,0x10C8},//;pll_adcclk_en=1 20101126
{0x1A,0x9128},//;Mdll_adcclk_out_en=0
{0x1B,0x80C2},//;//mdll_en_rx=0;mdll_div_rx=0001 20101231 by shuran
{0x1C,0x3613},//;
{0x1D,0x13E3},//;Pll_cp_bit_tx<3:0>1110;13D3
{0x1E,0x300C},//;Pll_lpf_gain_tx<1:0> 00;304C
{0x23,0x3333},//; //TX GAIN_GFSK
{0x24,0x78AF},//; //TX GAIN_GFSK
{0x27,0x1111},//; //TX GAIN_DPSK
{0x28,0x234F},//; //TX GAIN_DPSK
{0x3f,0x0001},
{0x00,0x043F},//;agc
{0x01,0x467F},//;agc
{0x02,0x68FF},//;agc
{0x03,0x67FF},//;agc
{0x04,0x57FF},//;agc
{0x05,0x7BFF},//;agc
{0x06,0x3FFF},//;agc
{0x07,0x7FFF},//;agc
{0x18,0xB1B1},//;padrv_gain
{0x19,0xB1B1},//;padrv_gain
{0x1A,0xB1B1},//;padrv_gain
{0x1B,0xB2B2},//;padrv_gain
{0x1C,0xD7B0},//;padrv_gain
{0x1D,0xE5E0},//;padrv_gain
{0x1E,0xE7E9},//;padrv_gain
{0x1F,0xE9E9},//;padrv_gain;9FH,16'hFFEC;padrv_gain20101103;improve ACPR;
{0x23,0x4224},//;ext32k
#ifdef __5875_USE_DCDC__
{0x24,0x9b10},
#else
{0x24,0x0110},
#endif
{0x25,0x43A0},//;ldo_vbit:110,2.04v
{0x26,0x49B5},//;reg_ibit:100,reg_vbit:110,1.1v,reg_vbit_deepsleep:110,750mV
{0x32,0x0059},//;TM mod 001
{0x3f,0x0000}
};
kal_uint32 rdabt_pskey_rf_11[][2] =
{
{0x40240000,0x0004f39c}, //; SPI2_CLK_EN PCLK_SPI2_EN
{0x800000C0,0x00000021}, //; CHIP_PS PSKEY: Total number -----------------
{0x800000C4,0x003F0000}, //; PSKEY: Page 0
{0x800000C8,0x00410003}, //; PSKEY: Swch_clk_ADC
{0x800000CC,0x004225BD}, //; PSKEY: dig IF 625K IF by lihua20101231
{0x800000D0,0x004908E4}, //; PSKEY: freq_offset_for rateconv by lihua20101231(replace 47H)
{0x800000D4,0x0043B074}, //; PSKEY: AM dac gain, 20100605
{0x800000D8,0x0044D01A}, //; PSKEY: gfsk dac gain, 20100605//22
{0x800000DC,0x004A0800}, //; PSKEY: 4AH=0800
{0x800000E0,0x0054A020}, //; PSKEY: 54H=A020;agc_th_max=A0;agc_th_min=20
{0x800000E4,0x0055A020}, //; PSKEY: 55H=A020;agc_th_max_lg=A0;agc_th_min_lg=20
{0x800000E8,0x0056A542}, //; PSKEY: 56H=A542
{0x800000EC,0x00574C18}, //; PSKEY: 57H=4C18
{0x800000F0,0x003F0001}, //; PSKEY: Page 1
{0x800000F4,0x00410900}, //; PSKEY: C1=0900;Phase Delay, 20101029
{0x800000F8,0x0046033F}, //; PSKEY: C6=033F;modulation Index;delta f2=160KHZ,delta f1=164khz
{0x800000FC,0x004C0000}, //; PSKEY: CC=0000;20101108
{0x80000100,0x004D0015}, //; PSKEY: CD=0015;
{0x80000104,0x004E002B}, //; PSKEY: CE=002B;
{0x80000108,0x004F0042}, //; PSKEY: CF=0042
{0x8000010C,0x0050005A}, //; PSKEY: D0=005A
{0x80000110,0x00510073}, //; PSKEY: D1=0073
{0x80000114,0x0052008D}, //; PSKEY: D2=008D
{0x80000118,0x005300A7}, //; PSKEY: D3=00A7
{0x8000011C,0x005400C4}, //; PSKEY: D4=00C4
{0x80000120,0x005500E3}, //; PSKEY: D5=00E3