智能车制作

标题: 串行通信 [打印本页]

作者: kuaikuai    时间: 2008-4-28 18:46
标题: 串行通信
<><FONT style="BACKGROUND-COLOR: #f4f4f4">用了这里的程序&nbsp;&nbsp; <A target=_blank href="http://www.intelligentcar.cn/ShowPost.asp?ThreadID=297">http://www.intelligentcar.cn/ShowPost.asp?ThreadID=297</A></FONT></P><P><FONT style="BACKGROUND-COLOR: #f4f4f4">怎么我按LZ的做 ,却显示不出来<FONT color=#3370cc size=3>HELLO WORLD&nbsp;&nbsp; 而是显示这样的:3B 3B 3A 23 FC&nbsp;&nbsp; (HEX选上)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;;:#(HEX不选)&nbsp;&nbsp; </FONT></FONT></P><P><FONT style="BACKGROUND-COLOR: #f4f4f4" color=#3370cc size=3>那么是哪里没设对么??? 程序没动过 测试软件也是默认的设置&nbsp;</FONT></P>
作者: demon    时间: 2008-4-28 20:23
标题: Re:串行通信
你是按照16位数据显示的,应该按照字符显示
作者: kuaikuai    时间: 2008-4-28 21:09
标题: Re:串行通信
<>不是很董 能否再说清楚点 -</P>
作者: kuaikuai    时间: 2008-4-28 21:12
标题: Re:串行通信
<><FONT style="BACKGROUND-COLOR: #f4f4f4">应该在哪里设置下&nbsp;&nbsp; 设置成字符显示 </FONT></P>
作者: demon    时间: 2008-4-28 21:31
标题: Re:串行通信
把调试助手里十六进制那个勾去掉就好了
作者: kuaikuai    时间: 2008-4-29 00:13
标题: Re:串行通信
<><FONT style="BACKGROUND-COLOR: #f4f4f4">不行啊 勾去掉十六进制 显示这样子 ;;:#;;:#;;:#;;:#;;:#;;:#;;:# 和我上面说的一样 </FONT></P>
作者: demon    时间: 2008-4-29 03:27
标题: Re:串行通信
那你再看看波特率对不对吧
作者: kuaikuai    时间: 2008-4-29 04:17
标题: Re:串行通信
是监控程序的原因&nbsp; 大家用时要注意&nbsp; 还是用BDM好&nbsp;&nbsp; 那么再次感谢DEMON<><FONT style="BACKGROUND-COLOR: #f4f4f4"></FONT>&nbsp;</P>
作者: auto    时间: 2008-4-29 18:26
标题: Re:串行通信
用监控的话,中断就不能用中断向量号,必须在PRM中改变才行!
作者: 孤星    时间: 2008-5-4 19:37
标题: Re:串行通信
<>有懂bang-bang控制的请和我联系</P><P>qq 331365657</P>
作者: sfh2081    时间: 2008-5-7 19:19
标题: Re:串行通信
<DIV>请大虾帮忙:</DIV><DIV>外接晶振16Mhz,通过设置PLL,使Bus Clock为32Mhz,然后设置波特率为</DIV><DIV>SCI0BDL = (unsigned char)((32000000UL) / 9600 / 16 /);</DIV><DIV>这样进行串口通信的时候,为什么超级终端上显示的是乱码?当把Bus Clock设置为24Mhz(一开始调试时是24MHz)时,就正常了,这时为什么呢?</DIV>
作者: yjchen    时间: 2009-4-16 16:33
看不懂
作者: yjchen    时间: 2009-4-16 16:33
看不懂
作者: qijitao    时间: 2009-11-8 00:04
连接打不开呀~~`~
作者: foreverionai    时间: 2012-2-18 09:16





欢迎光临 智能车制作 (http://111.231.132.190/) Powered by Discuz! X3.2