- 8
- 0
- 约4.31万字
- 约 49页
- 2018-12-03 发布于广西
- 举报
单片机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’
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 _Toc170051954 \h 1
HYPERLINK \l _Toc170051955 ABSTRACT PAGEREF _Toc1
您可能关注的文档
- 赤峪煤矿北进风井临时改绞施工组织设计-毕业(学术)论文设计.doc
- 冲孔灌注桩在客运专线桥梁工程中的实际应用及施工工艺-毕业(学术)论文设计.doc
- 冲压模具论文-毕业(学术)论文设计.doc
- 抽油机机械系统设计-毕业(学术)论文设计.doc
- 稠油开采物理方法的研究-毕业(学术)论文设计.doc
- 出口产品结构与当地资源禀赋相关性研究论文-毕业(学术)论文设计.doc
- 初级茶艺师教程-毕业(学术)论文设计.docx
- 初探80后现象-毕业(学术)论文设计.doc
- 初中科学课堂教学中师生思维共鸣初探论文-毕业(学术)论文设计.doc
- 初中生的人格特质和人际信任的相关研究-毕业(学术)论文设计.doc
- 单片机火灾报警系统设计论文-毕业(学术)论文设计.doc
- 单片机课程设计(论文)-IO口的扩展电路设计-毕业(学术)论文设计.doc
- 单片机课程设计报告--对可调光LED灯发光强度进行控制-毕业(学术)论文设计.doc
- 单片机原理及接口技术课程设计(论文)-单片机鸡雏恒温孵化器设计-毕业(学术)论文设计.doc
- 单片机智能控制鸡雏恒温孵化器设计论文-毕业(学术)论文设计.doc
- 单相液晶双向电能表的设计论文-毕业(学术)论文设计.doc
- 淡水渔业的现状与发展趋势论文-毕业(学术)论文设计.doc
- 弹力竹节牛仔布-毕业(学术)论文设计.doc
- 蛋白质的含量测定-毕业(学术)论文设计.doc
- 当代汉语词义的发展变化论文-毕业(学术)论文设计.doc
最近下载
- 运筹学题库及答案.doc VIP
- 2012江苏高考数学试卷(含答案).doc VIP
- 2018江苏高考数学.doc VIP
- 多因素身份验证系统设计与实现.docx VIP
- 新概念英语第一册上半册 Lesson15-16 课件.ppt VIP
- 2025 年剖宫产术后护理的最新要点与技巧.docx VIP
- 医院科室排班表.docx VIP
- 楼宇低压配电系统的设计.doc VIP
- 【电脑小知识】:如何使用注册表来恢复误删的Win7便签?.docx VIP
- 班子(在带头强化政治忠诚、提高政治能力;在带头固本培元、增强党性;在带头敬畏人民、敬畏组织、敬畏法纪;在带头干事创业、担当作为;在带头坚决扛起管党治党责任)存在不足.docx VIP
原创力文档

文档评论(0)