- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
—计算机网络与通信
.ComputerNetworkCommunications.
单片机与PC机串行通信应注意的两个问题
DiscussionofTwOProblemsintheSerial
Communication
Tianru FanJiaZhiwei
(Xi’art710038)Cheng
Yang
摘要:分析了串行通信中出现的波特率误差和误码两大问题,针对其不同来源,提出了相应的减小误差措施和校验方法,从而有效提高
了串行通信的可靠性和准确性。
关键词:串行通信波特率准确性
Abstract:This two rateerroranderrorcodeintheserialcommunication
paperanalyzesproblems:baud exhaustively,thenproposes
totheir codes
methodtoreducetheerrors different methodstosolvethe oferror
according sources;moreover,itputsupchecking problem
the and areenhanced.
duringcommunication.Thus,itsreliabilityaccuracy
communicationbaudrate
Keywords:serial accuracy
[中图分类号】TN911.7[文献标识码]A[论文编号】1000.3886(2086)06.0025.02
1 引言 波特率=i聂1.习84孺3再2M丽Hz (1)
目前,采用PC系列微机作为上位机,多台单片机作为下位机
当对8250初始化预置波特率因子之后,波特率发生器方可产生规
所组成的小型分布式串行通信系统,已广泛应用于数据处理和过
定的波特率。
程控制中,以实现集中管理和最优控制。
在不同机种的串行通信系统中,必须解决信息的准确问题。
口工作方式选择有关,还与系统的振动频率、电源控制寄存器
首先必须解决通信的可靠性问题,影响串行通信数据性准确性的
因素很多,包括通信双方传输波特率误差,通信距离的远近、通信
环境的优劣、传输线路的屏蔽与否、接口电路性能好坏,通信软件
置。常用的是模式1和模式2,分别是8位和9位异步通信口,其
设计水平等等均对串行通信的数据准确性有着不同程度的影响。
既然通信系统的传输差错不可避免,那么通信系统必须具备识别
T-有三种工作模式,一般都采用T,的模式2。因为当T。溢出时,参
这种差错的能力,并能采取相应的校验措施,从而使系统能准确地
数能自动装入,可避免不必要的中断请求,同时也避免了因中断响
进行通信。
应时间不同而引起的波特率随机误差。从而波特率
您可能关注的文档
- 带空气气化炉的整体煤气化湿空气透平循环的模拟研究 simulation and analysis on ighat system based on air blown gasifier.pdf
- 带免疫的蚁群算法用于电力系统无功优化 application of immune ant colony algorithm in reactive power optimization of power system.pdf
- 带内锥的扩散式分离器内两相流动的数值模拟 numerical simulation of two-phase flow in tangential inlet enlarged diffusion square separator.pdf
- 带内数模混叠同播中的ofdm对fm的干扰分析 analysis of ofdm interference on fm in band on channel broadcasting.pdf
- 带宽时变高速通信网络的鲁棒控制 robust controller for the communication networks with time-varying bandwidth.pdf
- 带耦电抗器电磁结构设计 design of the electromagnetism structure of reactor with coupling coil.pdf
- 带偶倍频反电势负载的偏磁消弧线圈数字励磁系统 digital excitation regulator of arc-suppression coil with even frequency reverse electromotive force load.pdf
- 带耦合变压器的直流侧有源电力滤波器的仿真研究 simulation study on dc side series active power filter based on coupling transformer.pdf
- 带耦合电感的双向dcdc变换器电路分析 analysis of bi-directional dcdc converter with coupled inductors.pdf
- 带螺旋桨负载的永磁电机dtc-svm研究 research on dtc-svm of pmsm with propeller load.pdf
- 单片机原理及接口技术课程教学改革新思路 teaching innovation of single-chip microcomputer principle and interface technology.pdf
- 单片机原理及应用课程教学改革探讨 an exploration on the teaching reformation of the scm course.pdf
- 单片机原理与应用课程教学改革的研究 research on the teaching reform of theory and application of single-chip microcomputer course.pdf
- 单片机智能语音提醒报站系统.pdf
- 单片机课程教学的探索与实践 exploring and practice in teaching of single chip computer.pdf
- 单片机在初轧机定尺检测装置的应用 application of one chip computer in the scalling-off detecting device of a bloom mill.pdf
- 单片机控制的pwm调速装置的研究 a research about device of pwm speed adjustment by mcu controlling.pdf
- 单片机转矩转速测量仪 single chip instrument for measuring rotative velocity and moment.pdf
- 单片集成cmos电阻真空传感器 a monolithic integrated cmos thermal vacuum sensor.pdf
- 单片集成0.8μm栅长gaas基ingapalgaasingaas增强耗尽型赝配高电子迁移率晶体管 monolithic integration of 0.8μm gate-length gaas-based ingapalgaas ingaas enhancement- and depletion-mode phemts.pdf
文档评论(0)