预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共16页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

题目基于ARM的串口通信系统的设计系(院)信息科学与工程学院专业电子与通信工程班级2012学生姓名XXX学号XXX 二〇一三年二月二十八日 基于ARM的串口通信系统的设计 摘要 串口通信是目前单片机和DSP等嵌入式系统之间,以及嵌入式系统与PC机或无线模块之间的一种非常重要且普遍使用的通信方式。在嵌入式系统的硬件结构中,通常只有一个8位或16位的CPU,不仅要完成主流程的工作,同时还要处理随时发生的各种中断,因而嵌入式系统中的串口通信程序设计与PC机有很大的不同。 串行端口的本质功能是作为CPU和串行设备间的编码转换器,一般微机内都配有通信适配器,使计算机能够与其他具有RS232串口的计算机或设备进行通信。 本系统中目标机开发板的内核采用的是三星的S3C2410,工作非常可靠,可稳定运行在203MHz的时钟频率下。其外设非常丰富,功能强大,完全可以满足设计需要。串口线采用常用的RS232型接口模式,能实现计算机与开发板间的数据传输与控制。 关键词:ARM;串口通信;串行端口;RS232 TheDesignOfSerialCommunicationSystembasedonARM Abstract SerialcommunicationbetweentheSCMandDSPembeddedsystems,aswellasbetweentheembeddedsystemandaPCorwirelessmoduleisaveryimportantandwidelyusedmeansofcommunication.Inthehardwarestructureoftheembeddedsystem,thereisusuallyonlyan8-bitor16-bitCPU,whichnotonlycompletestheworkofthemainflow,butalsodealswithvariousinterruptsoccuratanytime.ThusembeddedsystemserialcommunicationprogramdesignhasabigdifferencefromPC. TheessentialfunctionoftheserialportisencodingconverterbetweentheCPUandserialdevices,andthegeneralmicrocomputerisequippedwithacommunicationadapter,whichenablesacomputertocommunicatewithtacomputerwithRS232serialportorotherequipment. Thedevelopmentboardofthetargetmachine'skernelusesinthissystemistheSamsungS3C2410.Itworksveryreliable,andhasstableoperationinthe203MHzclockfrequency.Itsperipheralsareveryrich,powerful,andcanfullymeetthedesignneeds.SeriallineusesRS232interfacemode,andcanrealizesdatatransferandcontrolbetweenthecomputerandthedevelopmentboard. Keywords:ARM;Serialcommunication;Serialport;RS232 目录TOC\o"1-3"\h\u HYPERLINK\l_Toc91101设计目的 PAGEREF_Toc91103 HYPERLINK\l_Toc320672设计要求 PAGEREF_Toc320673 HYPERLINK\l_Toc217513设计内容 PAGEREF_Toc217514 HYPERLINK\l_Toc294013.1S3C2410与串口通信概述 PAGEREF_Toc294014 HYPERLINK\l_Toc288373.1.1S3C2410处理器概述 PAGEREF_Toc288374 HYPERLINK\l_Toc239593.1.2串口通信 PAGEREF_Toc239595 HYPERLINK\l_Toc239833.2方案设计 PAGEREF_Toc239836 HYPERLINK\l_Toc232443.3电路设计 PAGEREF_Toc232447