摘要
简要介绍了漏水检测系统的工作流程,该系统要能够接收并处理A/D转换后的数据,具有无线传输数据的功能。选用DSP作为漏水检测的核心处理芯片,TI公司的TMS320VC5402提供两个McBSP,通过适当的寄存器设置,将其中一个McBSP配置成SPI接口主控设备与A/D转换模块相连;由于McBSP是同步串口,而无线通信模块XBee为异步串口,采用过采样的方法将McBSP软件配置成UART。该设计很好地满足了设计要求,充分利用了资源,软硬件实现简单。
Water leakage detection system is briefly introduced,which should have the function of connecting with A/D converter and transferring data wirelessly.DSP was chosen to the CPU of the system,TMS320VC5402 of TI Company provides two McBSPs.According to setting the relative registers properly,one is configured to a SPI-MASTER interface connected with the A/D converter,and another is configured to a UART interface connected with the wireless communication module using an over-sampled method.This design meets the requirements and uses the resource to the full,the implementation of software and hardware is very simple.
出处
《信息技术》
2013年第11期77-79,84,共4页
Information Technology
基金
广东省科技计划项目(2011B080701045)
惠州市产学研结合项目(2011C010002004)