4PC-sends-string-to-read-MSP430-P

所属分类:单片机开发
开发工具:C/C++
文件大小:68KB
下载次数:4
上传日期:2012-09-14 17:33:55
上 传 者zhaomh2010
说明:  使用MSP430F149芯片,透过串口与电脑通信,波特率9600,8数据,无校验。使用32.768k晶振,使用P3.6和P3.7口作为发送和接收口,使用异步通信USART1,采用查询形式。实现通信,当单片机接收到以S结尾时表示命令结束:以WR开始的字符串时,中间的数据最好是二进制的16位,单片机会把中间的数据高八位赋值给P6口,把中间的数据低八位赋值给P4口;以WO开始的字符串时,中间的数据最好是二进制的8位,单片机会把中间的数据赋值给P5口;以RI开始的字符串时,读取P2口P1口的状态,显示到电脑上,高八位是P2口的状态,低八位是P1口的状态。
(MSP430F149 chip through the serial port to communicate with the computer, baud rate 9600 data, no parity. 32.768k crystal oscillator, P3.6 and P3.7 port as send and receive ports use asynchronous communication USART1, the query form. Achieve communication microcontroller receives the string to the end of the S end of said command: WR start, the middle of the data best is a 16-bit binary, the MCU will be the middle of the eight assigned to the port P6 data, the middle The data low eight assigned to P4 mouth WO start string, the middle of the data is the best binary 8 microcontroller will be the middle of the data assigned to the port P5 the RI start of string, read P2 port P1 port status display to a computer, high eight the P2 port state low eight P1 port state.)

文件列表:
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Backup of R1.ewd (12489, 2010-05-09)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Backup of R1.ewp (44198, 2006-12-06)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Debug\Exe\R1.d43 (26360, 2012-08-27)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Debug\Obj\main.r43 (37896, 2012-08-27)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Debug\Obj\R1.pbd (178, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\main.c (7164, 2012-08-25)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\path.txt (0, 2012-08-27)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\R1.dep (2935, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\R1.ewd (20107, 2012-08-22)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\R1.ewp (50222, 2012-08-22)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\R1.eww (156, 2010-05-09)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\settings\R1.cspy.bat (987, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\settings\R1.dbgdt (4992, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\settings\R1.dni (1326, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\settings\R1.wsdt (3247, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\串口实验R1.pdf (40341, 2010-07-31)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\程序功能.txt (491, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Debug\Exe (0, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Debug\List (0, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Debug\Obj (0, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\Debug (0, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态\settings (0, 2012-09-11)
电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态 (0, 2012-09-11)

近期下载者

相关文件


收藏者