[资料来源:http://THINK58.com]
摘 要 [资料来源:www.THINK58.com]
[资料来源:http://www.THINK58.com]
在多机通信的分布式控制系统中,通过PC机的串口与多台单片机的通信是最方便的。在这样的分布式控制系统中,单片机与微机之间的多路通信是整个系统的关键。基于MSP430系列单片机自身优越的性能以及其超低功耗的特点,利用MSP430F149的USART可以实现这种分布式多机通信功能。在解决了与PC串口或其他带有串口的终端相连所需要的串口电平和逻辑关系的转变之后,选用MSP430F149的异步模式UART,用C语言完成下位机(PC机)接收和发送数据程序,借助VC++6.0开发平台并利用PComm软件包完成上位机(单片机)的通信程序。
[资料来源:www.THINK58.com]
文章介绍了美国TI公司新一代16位Flash型MSP430F149系列单片机的结构、特性和功能。详细介绍了如何利用VC十+6.0进行串口通讯程序的编制,重点介绍了如何利用实现异步通讯的方法。 [来源:http://think58.com]
[资料来源:http://THINK58.com]
关键词:MSP430系列单片机,多路通信,控制系统,异步模式,Pcomm [资料来源:THINK58.com]
[资料来源:www.THINK58.com]
[资料来源:http://www.THINK58.com]
[资料来源:http://THINK58.com]
[资料来源:www.THINK58.com]
[资料来源:THINK58.com]
[资料来源:http://THINK58.com]
[来源:http://www.think58.com]
[资料来源:http://www.THINK58.com]
[资料来源:THINK58.com]
[资料来源:http://www.THINK58.com]
[资料来源:THINK58.com]
[资料来源:THINK58.com]
[来源:http://www.think58.com]
[资料来源:http://think58.com]
Design of the Serial Communication between MSP430F149 and PC [来源:http://www.think58.com]
[来源:http://www.think58.com]
[资料来源:www.THINK58.com]
ABSTRACT
[资料来源:THINK58.com]
[资料来源:www.THINK58.com]
[来源:http://www.think58.com]
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. [资料来源:http://www.THINK58.com]
This paper introduces the structure, principle and feature of new generation of 16 bit&Flash-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.
[来源:http://think58.com]
[资料来源:http://think58.com]
[资料来源:http://www.THINK58.com]
KEY WORDS: MSP430F149single-chip computer, serial communication, control system,UART,PComm
[资料来源:www.THINK58.com]
[来源:http://think58.com]
[资料来源:http://THINK58.com]
[资料来源:http://think58.com]