文件名称:4PC-sends-string-to-read-MSP430-P

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 68kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 超*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

使用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

....................................................\Backup of R1.ewp

....................................................\Debug\Exe\R1.d43

....................................................\.....\Obj\main.r43

....................................................\.....\...\R1.pbd

....................................................\main.c

....................................................\path.txt

....................................................\R1.dep

....................................................\R1.ewd

....................................................\R1.ewp

....................................................\R1.eww

....................................................\settings\R1.cspy.bat

....................................................\........\R1.dbgdt

....................................................\........\R1.dni

....................................................\........\R1.wsdt

....................................................\串口实验R1.pdf

....................................................\程序功能.txt

....................................................\Debug\Exe

....................................................\.....\List

....................................................\.....\Obj

....................................................\Debug

....................................................\settings

电脑用串口协议给MSP430F149的P6P5P4赋值读取P2P1口状态

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org