摘要
本文首先介绍了TMS320F2812DSP与PC机进行串口通信时的硬件连接。然后,详细阐述了从机通信程序和主机通信模块的软件设计。其通信程序协议采用了一种通用工业标准Modbus协议。该系统中不但采用了奇校验和CRC校验,还利用定时器设置了超时报警机制,提高了通信系统抗干扰的能力。
This paper introduces the circuit connection between the TMS320F2812 DSP and PC. Then, a serial communication program design of the PC and DSP is provided , which uses Modbus protocol .To improve the ability of suppressing interference ,the communication does not only make use of odd parity and CRC parity ,but also apply to the overtime alarm mechanism.
出处
《微计算机信息》
北大核心
2006年第07Z期173-175,共3页
Control & Automation