节点文献
基于TinyOS的CC2430无线数据收发的设计
Design of point to point communication on CC2430 based on TinyOS
【摘要】 为解决现有CC2430无线数据收发程序代码量庞大,结构不清晰,关键源码不公开等问题,提出一种基于TinyOS的CC2430无线数据收发设计方案。在分析CC2430性能的基础上,设计一种基于DMA的节点收发机制,配置DMA的源和目的地址寄存器、数据长度寄存器以及触发模式寄存器,并根据DMA操作流程给出数据发送和接收流程图。基于TinyOS的组件结构,给出了包括DMA数据收发、简单MAC协议、定时器和串口的组件配置文件。编译结果表明该方法结构简单,占用RAM为11字节,占用程序空间少于7 KB。在CC2430节点上的运行结果表明在节点通信范围内,在各种网络负载下节点间数据收发成功率和正确率均达到100%。
【Abstract】 A novel communication mechanism was designed to solve the shortcomings in existing programs.including huge code size,comples code sonstruction,invisible key codes and so on.After a general introducing of the features of CC2430,a communication mechanism based on DMA and its flow chars were illustrated.Registers about DMA were configured in detail.The components in TinyOS include communication module,timer module,MAC module and UART module were designed as well.Compilation shows that this mechanism occupies only 11 Bytes of RAM and less than 7K Bytes of ROM.The experiment on CC2430 illustrates that node can transmit to and receive from its neighbor accurately in all kinds of data rates.
【Key words】 wireless sensor networks; TinyOS; CC2430; DMA; communication;
- 【文献出处】 电子设计工程 ,Electronic Design Engineering , 编辑部邮箱 ,2010年03期
- 【分类号】TP212.9;TN929.5
- 【被引频次】8
- 【下载频次】420