下载后可任意编辑 基于 LPC2138 芯片与 PC 机的串行通信设计 摘要:串口通信是一种广泛使用且有用的通信方式,介绍RS232串行通信的联结方式,讨论利用c语言编程实现RS232串行通信的过程.结合实际应用,在约定双方串行通信协议的基础上,运用C语言开发的串行通信软件,LPC2138芯片与PC机的串行数据通信。关键词:ARM 嵌入式系统、LPC2138 芯片、RS232 串行通信Abstract: Serial Communication is avery broad and practical means ofcommunication . In this paper,the RS232 serialcommunication link is introduced , the use of C—language programming RS232 serial communication process is fully stu—died.With practical applications,the two sides agreed in serial communication protocol , the communication softwarecompleted the pc and embedded serial LPC2138 Data communications , which based on the use ofC—language development in the actual system of application.Keywords: ARM Embedded System、LPC2138 Chip、RS232 Serial Communication- -1下载后可任意编辑目录第一章 设计的目的和要求1.1 设计的目的……………………………………………………………………………… 31.2 设计要求………………………………………………………………………………… 3第二章 方案论证2.1 设计方案………………………………………………………………………………… 42.2 方案选择………………………………………………………………………………… 4第三章 硬件电路设计3.1 设计思路………………………………………………………………………………… 53.2 主电路设计……………………………………………………………………………… 53.2.1 LPC2138 芯片 …………………………………………………………………… 53.2.2 晶振电路………………………………………………………………………… 93.2.3 复位电路…………………………………………………………………………103.2.4 电源电路…………………………………………………………………………103.3 RS232 电平转换电路设计 ………………………………………………………………113.4 硬件电路连线图………………………………………………………………………...