cc2510收发源程序

上传者: xuwei169_1 | 上传时间: 2019-12-21 22:06:39 | 文件大小: 236KB | 文件类型: rar
void radioConfigure_rx() { PA_TABLE0 = 0xFE;//1=0xff,-2=0xbf,-6=0x7f,-10=0xcb,-16=0x87,-20=0xc1,-30=0x44 /* FREQ2 = 0x5F;// 2480 MHz FREQ1 = 0x62; FREQ0 = 0x76;*/ FREQ2 = 0x5E;// 2460 MHz FREQ1 = 0x9D; FREQ0 = 0x89; /* FREQ2 = 0x5D;// 2440 MHz FREQ1 = 0xD8; FREQ0 = 0x9D; FREQ2 = 0x5D;// 2420 MHz FREQ1 = 0x13; FREQ0 = 0xB1; */ FSCTRL1 = 0x0A; // Frequency synthesizer control. FSCTRL0 = 0x00; // Frequency synthesizer control. MDMCFG4 = 0x2D; // Modem configuration. MDMCFG3 = 0x3B; // Modem configuration. MDMCFG2 = 0x73; // Modem configuration. MDMCFG1 = 0x22; // Modem configuration. MDMCFG0 = 0xF8; // Modem configuration. DEVIATN = 0x00; // Modem deviation setting (when FSK modulation is enabled). FREND1 = 0xB6; // Front end RX configuration. FREND0 = 0x10; // Front end RX configuration. MCSM0 = 0x14; // Main Radio Control State Machine configuration. FOCCFG = 0x1D; // Frequency Offset Compensation Configuration. BSCFG = 0x1C; // Bit synchronization Configuration. AGCCTRL2 = 0xC7; // AGC control. AGCCTRL1 = 0x00; // AGC control. AGCCTRL0 = 0xB2; // AGC control. FSCAL3 = 0xEA; // Frequency synthesizer calibration. FSCAL2 = 0x0A; // Frequency synthesizer calibration. FSCAL0 = 0x11; // Frequency synthesizer calibration. TEST2 = 0x88; // Various test settings. TEST1 = 0x31; // Various test settings. TEST0 = 0x0B; // Various test settings. // Common radio settings for CCxx10, any frequency and data rate CHANNR = 0x00; // Channel num

文件下载

资源详情

[{"title":"( 42 个子文件 236KB ) cc2510收发源程序","children":[{"title":"tx","children":[{"title":"settings","children":[{"title":"tx.dbgdt <span style='color:#111;'> 5.24KB </span>","children":null,"spread":false},{"title":"tx.wsdt <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"tx.dni <span style='color:#111;'> 585B </span>","children":null,"spread":false},{"title":"tx.cspy.bat <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"tx.c.bak <span style='color:#111;'> 16.60KB </span>","children":null,"spread":false},{"title":"hal.h <span style='color:#111;'> 70.88KB </span>","children":null,"spread":false},{"title":"tx.c <span style='color:#111;'> 18.14KB </span>","children":null,"spread":false},{"title":"tx.eww <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Obj","children":[{"title":"tx.r51 <span style='color:#111;'> 33.37KB </span>","children":null,"spread":false},{"title":"kge37c.r51 <span style='color:#111;'> 52.25KB </span>","children":null,"spread":false},{"title":"tx.pbd <span style='color:#111;'> 134B </span>","children":null,"spread":false}],"spread":true},{"title":"List","children":null,"spread":false},{"title":"Exe","children":[{"title":"tx.d51 <span style='color:#111;'> 23.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"发生器工作波形","children":[{"title":"有发有收.bmp <span style='color:#111;'> 2.25MB </span>","children":null,"spread":false},{"title":"单发无收.bmp <span style='color:#111;'> 2.25MB </span>","children":null,"spread":false}],"spread":true},{"title":"tx.dep <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"tx.ewd <span style='color:#111;'> 25.61KB </span>","children":null,"spread":false},{"title":"tx.ewp <span style='color:#111;'> 51.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"rx","children":[{"title":"settings","children":[{"title":"rx.cspy.bat <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"rx.wsdt <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"rx.dbgdt <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"rx.dni <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":true},{"title":"rx.ewd <span style='color:#111;'> 25.61KB </span>","children":null,"spread":false},{"title":"rx.dep <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"Adapter.c <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"Adapter.h <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"Adapter.c.bak <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false},{"title":"rx.c <span style='color:#111;'> 22.00KB </span>","children":null,"spread":false},{"title":"Adapter.h.bak <span style='color:#111;'> 939B </span>","children":null,"spread":false},{"title":"hal.h <span style='color:#111;'> 70.88KB </span>","children":null,"spread":false},{"title":"rx.ewp <span style='color:#111;'> 51.29KB </span>","children":null,"spread":false},{"title":"rx.eww <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Obj","children":[{"title":"kjf902.r51 <span style='color:#111;'> 50.41KB </span>","children":null,"spread":false},{"title":"rx.pbd <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"rx.r51 <span style='color:#111;'> 43.16KB </span>","children":null,"spread":false},{"title":"Adapter.r51 <span style='color:#111;'> 49.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"List","children":[{"title":"kjf902.s51 <span style='color:#111;'> 93.77KB </span>","children":null,"spread":false},{"title":"kjf902.lst <span style='color:#111;'> 115.46KB </span>","children":null,"spread":false},{"title":"Adapter.lst <span style='color:#111;'> 69.89KB </span>","children":null,"spread":false},{"title":"Adapter.s51 <span style='color:#111;'> 48.38KB </span>","children":null,"spread":false}],"spread":false},{"title":"Exe","children":[{"title":"rx.d51 <span style='color:#111;'> 20.91KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"rx.c.bak <span style='color:#111;'> 22.01KB </span>","children":null,"spread":false},{"title":"hal.h.bak <span style='color:#111;'> 70.88KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • vestiges :
    看了评论下载的,很多地方还是值得参考的,感谢分享
    2016-11-18
  • ydwake :
    如前人所述,代码是写的挺乱,但是主要的收发部分是可以用的,用DMA进行收发。有个参考总比自己写控制寄存器的代码强多了
    2014-07-23
  • aerkate :
    写的比较好,比较适合有一定经验的阅读
    2012-09-04
  • wenbin1050277622 :
    程序不能运行,不过程序内容对于理解cc2510还是很有帮助的
    2012-09-04
  • casillas00 :
    程序写的太乱了,注释也不是很清楚,不适合新手学习。不过还是非常感谢!
    2012-02-17

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明