期刊文献+

基于VC++6.0的串口通信的设计 被引量:13

Design of serial communitication based on VC++6.0
下载PDF
导出
摘要 本文主要介绍了如何利用VC++6.0 MSComm控件来实现PC与基于LPC2210的嵌入式系统之间的串口通信。以MFC来设计界面编制程序,同时用MSComm控件通过串口发送和接收数据,实现上下机位的串口通信。首先给出了系统的硬件组成与搭建,及系统的通信原理,接着分别实现上下机位的软件设计,最后通过具体实例由下机位向PC的串口输入一个字符串,并在ADS1.2的开发环境中,启动AXD进行仿真调试,得到系统的测试结果。结果表明完全可以实现上下机位的通信联系,证明了该系统的可靠性和稳定性。 This article describes how to use the MSComm of VC++6.0 to achieve serial communication between the PC and embedded system based on LPC2210. Designing the interface and programming according to MFC , as well using MSComm control to send and receive data through the serial port in order to achieve the upper and lower slots of the serial communication. First, the system's hardware components and structures, communication theory of systems are introduced; then achieve the software design of upper and lower bits; finally we take an specific example that input a string from the lower slot to the serial of PC and start AXD simulation debugging in the development environment of ADS1.2 to obtain the test results of system. The result shows that we can achieve the communication link of the upper and lower slots , and proves that reliability and stability of the system.
作者 王娇 姚竹亭
出处 《电子测试》 2009年第11期47-50,共4页 Electronic Test
关键词 串口通信 VC++6.0 嵌入式系统 MSCOMM serial communitication VC++ 6.0 embedded system MSComm
  • 相关文献

参考文献8

二级参考文献12

共引文献76

同被引文献97

引证文献13

二级引证文献78

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部