- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
精品
单片机MSP430与PC机串口通讯设计
摘 要
在多机通信的分布式控制系统中,通过PC机的串口与多台单片机的通信是最方便的。在这样的分布式控制系统中,单片机与微机之间的多路通信是整个系统的关键。基于MSP430系列单片机自身优越的性能以及其超低功耗的特点,利用MSP430F149的USART可以实现这种分布式多机通信功能。在解决了与PC串口或其他带有串口的终端相连所需要的串口电平和逻辑关系的转变之后,选用MSP430F149的异步模式UART,用C语言完成下位机(PC机)接收和发送数据程序,借助VC++6.0开发平台并利用PComm软件包完成上位机(单片机)的通信程序。
文章介绍了美国TI公司新一代16位Flash型MSP430F149系列单片机的结构、特性和功能。详细介绍了如何利用VC十+6.0进行串口通讯程序的编制,重点介绍了如何利用实现异步通讯的方法。
关键词:MSP430系列单片机,多路通信,控制系统,异步模式,Pcomm
Design of the Serial Communication between MSP430F149 and PC
ABSTRACT
In the controlled system of distributing type in which many computers are communicating, by way of the PC string contact with many single chip machines to correspond is the most convenient. In this controlled system of distributing type, the various communication between single chip machines and microcomputer is the whole key. According to the low achievement consume and perfect function of MSP430,The USART that used in system of MSP430F149 can carry out this kind of function of singular to group. It is required to solve the voltage conversion and the change of logic relation, when the MSP430 connects with the PC string or other terminals which take with strings. And then, we can choose the asynchronous module (UART) of MSP430F149 to complete the MSP430F149’s main processor in language of C and write out the PC’s processor asking for help from The VC++6.0 and The Pcomm.
This paper introduces the structure, principle and feature of new generation of 16 bitFlash-type microcontroller which belongs to the Texas Instruments MSP430F149 series. At the same time, it also introduces how to carry out the method of the serial communication between PC and MSP430F149. The paper presents how to use VC++6.0 design serial port communication program,especially calling Pcomm functions to control serial port to transfer data.
KEY WORDS: MSP430F149single-chip computer, serial communication, control system,UART,PComm
目 录
TOC \o 1-3 \h \z \u HYPERLINK \l _Toc170051954 摘 要 PAGEREF _Toc170
您可能关注的文档
- 《创意思维论文应用论文:创意思维在标志设计中的应用研究》-毕业学术论文设计.doc
- 《创造教育之》-毕业学术论文设计.doc
- 《创造轻松和谐的英语课堂》-毕业学术论文设计.doc
- 《创造思维训练尝试论文:创造思维训练的尝试》-毕业学术论文设计.doc
- 《创造性思维论文主观论文:浅谈高校装饰画教学对学生创造性思维的训练》-毕业学术论文设计.doc
- 《创造性思维能力的培养论文》-毕业学术论文设计.doc
- 《吹风机逆向建模及数控加工》-毕业学术论文设计.doc
- 《纯净水系统常压设备设计论文》-毕业学术论文设计.doc
- 《纯净水语音系统管理论文》-毕业学术论文设计.doc
- 《纯净水语音宅送系统数据毕业设计论文》-毕业学术论文设计.doc
最近下载
- CAS 127.1-2009 洁净室及相关受控环境 第1部分:空气洁净度等级.docx
- 2021-2022学年六年级数学上册典型例题系列之第六单元百分数的应用题其三:百分率问题(解析版).docx VIP
- 湖南省高中信息技术学业水平考试.docx VIP
- RCS-9700系列C型测控装置技术和使用说明书.pdf VIP
- Unit+2+More+than+fun+Starting+out+&understanding+ideas+课件+2025-2026学年外研版(2024)英语七年级上册.pptx VIP
- 新人教版7年级上册英语全册课件(2024年新版教材).pptx
- (安全生产标准化资料7.2-1-4)劳动防护用品发放管理制度.doc VIP
- 七年级语文上册 第三单元 单元测试卷(人教版 2024年秋).pdf VIP
- 一种磁悬浮式旋转餐桌.pdf VIP
- 2022公路上边坡崩塌坡灾害风险评估指南.docx VIP
原创力文档


文档评论(0)