目 录
摘 要 .....................................................................................................................................I
Abstract ......................................................................................................................................II
第 1 章 绪论...............................................................................................................................1
1.1 课题的研究意义..........................................................................................................1
1.2 研究现状及发展趋势..................................................................................................2
1.2.1 RS232 串行通信的研究现状............................................................................2
1.2.2 RS232 串行通信的发展趋势............................................................................2
1.3 本文主要的研究内容..................................................................................................2
第 2 章串行通信基本原理.........................................................................................................4
2.1 RS232 通信协议...........................................................................................................4
2.1.1 RS232 标准........................................................................................................4
2.1.2 RS232 接口........................................................................................................4
2.2 串行通信......................................................................................................................5
2.2.1 串行通信基本原理...........................................................................................5
2.2.2 串行通信参数...................................................................................................6
2.2.3 串行通信的分类.......................................................................................................7
2.3 串口的调制..................................................................................................................8
2.3.1 串口连接...........................................................................................................8
2.3.2 串口调试...........................................................................................................9
2.4 本章小结....................................................................................................................10
第 3 章 CRC 校验 ...................................................................................................................11
3.1 CRC 校验原理 ...........................................................................................................11
3.1.1 CRC 校验码的基本原理 ................................................................................11
3.1.2 CRC 校验码权的形式 ....................................................................................12
3.2 CRC 校验的实现 .......................................................................................................13
3.3 本章小结.....................................................................................................................13
第 4 章 软件的实现及其测试.................................................................................................14
4.1 开发工具概述............................................................................................................14
4.1.1 Windows 编程与 MFC....................................................................................14
4.1.2 串行通信控件 MSComm...............................................................................14
4.2 程序的主要功能........................................................................................................15
4.3 程序运行平台............................................................................................................17