本文包含原理图、PCB、源代码、封装库、中英文PDF等资源
您需要 登录 才可以下载或查看,没有账号?注册会员
×
无线模块JF24D中寄存器0组与寄存器1组怎么定义啊?还有通道是怎么回事啊?
/*********************寄存器组1初始值**********************************/
code UINT32 RegArrFSKAnalog[]={
0xF2014B41,
0x30064BC0,
0x00C4FCA0,
0x60350017,
0x0B009941, // 0B109941 for 2 Mbps mode
0xBE7F0124,
0x00400000,
0x00000000,
0x00000000,
0x00000000,
0xF64EF5F6,
0x5C1851D6,
0x4055002D,
0x00700000 // 00040000 for 2 Mbps mode
};
code UINT8 RegArrFSKAnalogReg14[]=
{
0x41,0x10,0x08,0x82,0x40,0x10,0x08,0xF2,0x7C,0xEF,0xCF
};
/**************************寄存器组0初始值********************/
code UINT8 RegArrFSK[][2]={
{0,0x0F},
{1,0x3F},
{2,0x3F},
{3,0x03},
{4,0xff},
{5,0x17},
{6,0x17},
{7,0x07},
{8,0x00},
{9,0x00},
{12,0xc3},
{13,0xc4},
{14,0xc5},
{15,0xc6},
{17,0x20},
{18,0x20},
{19,0x20},
{20,0x20},
{21,0x20},
{22,0x20},
{23,0x00},
{28,0x3F},
{29,0x07}
};
/***********************定义通道地址********************************/
code uchar TX_PIPE0[]={0x12,0x34,0x56,0x78,0x01};
code uchar TX_PIPE1[]={0xc2,0x56,0x34,0x12,0x02};
code uchar TX_PIPE2[]={0xc3,0x56,0x34,0x12,0x02};
code uchar TX_PIPE3[]={0xc4,0x56,0x34,0x12,0x02};
code uchar TX_PIPE4[]={0xc5,0x56,0x34,0x12,0x02};
code uchar TX_PIPE5[]={0xc6,0x56,0x34,0x12,0x02}; |