首页 | 本学科首页   官方微博 | 高级检索  
     

基于TMS320VC5402和XBee模块的UART应用研究
引用本文:蒲显城,罗飞. 基于TMS320VC5402和XBee模块的UART应用研究[J]. 计算技术与自动化, 2013, 0(4): 33-36
作者姓名:蒲显城  罗飞
作者单位:华南理工大学自动化科学与工程学院,广东广州510640
基金项目:广东省科技计划项目(20118080701045);惠州市产学研结合项目(2011C010002004):
摘    要:基于DSP的漏水检测仪器在实现漏点定位时需要使用无线通信模块,TI公司的TMS320VC5402只提供了同步串行接口McBSP,而无线模块XBee为异步串口。本文采用16倍过采样的方法,结合直接存储器访问(DMA),通过对相关寄存器的适当配置,将McBSP软件模拟成通用异步接收/发送器(UART),从而实现DSP与XBee模块的连接通信。再通过对XBee模块的适当配置,可将从机检测信号无线传给主机,在主机中处理两路信号,从而确定出漏点位置。试验得到的漏点位置在误差范围内,证明了该法的可行性。

关 键 词:DSP  McBSP  DMA  XBee  UART

Study of UART Based on TMS320VC5402 and XBee Module
PU Xian-cheng,LUO Fei. Study of UART Based on TMS320VC5402 and XBee Module[J]. Computing Technology and Automation, 2013, 0(4): 33-36
Authors:PU Xian-cheng  LUO Fei
Affiliation:(College of Automation, South China University of Technology, Guangzhou 510640, China)
Abstract:The wireless communication module should be needed when the leak detector is finding leak location. The DSP TMS320VC5402 of TI Company only provides synchronous serial port McBSP, but the XBee module provides an asyn- chronous serial port. This paper provides an over-sampled method. According to this method, combining DMA and configu- ring relative registers properly, the McBSP can be configured a UART, which can be connected with XBee directly. Then, configuring Xbee module appropriately can help to find leak location. According to some tests, leak location is within the er- ror range, which indicates the method is feasible.
Keywords:DSP  McBSP  DMA  XBee  UART
本文献已被 维普 等数据库收录!
点击此处可从《计算技术与自动化》浏览原始摘要信息
点击此处可从《计算技术与自动化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号