UART接收 [英] UART Reception

查看:60
本文介绍了UART接收的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正试图通过UART与BlackBox接收器通信。

虽然我通过Hyperterminal向接收者发送文本文件,

i希望减少对我的依赖。所以我尝试使用标准的DCB结构在Win32上编写一个样本

应用程序。

尽管在我的PC的短路Rx-Tx引脚上获得有效输出, im

没有从接收者那里得到所需的ack信号。但是,在Hyperterminal上有1ms

字符延迟,我得到了我所需的输出。并且

morover以115200 bps的速度传输一个105KB的文件,成功完成需要大约28

分钟。我不知道这次的时间是如何运作的。

所以如果有人帮助我通过这些街区,我会很高兴。

Hi,

I am trying to communicate with a BlackBox Receiver through UART.
Although i m sending a text file to the reciever through Hyperterminal,
i want to reduce my dependency on the same. So i tried writing a sample
application for the same on Win32 using the standard DCB structure.
Inspite of getting valid output on a shorted Rx-Tx pin of my PC, i m
not getting required ack signals from the reciever. However with a 1ms
character delay on Hyperterminal, i m getting my required output. And
morover to transfer a 105KB file at 115200 bps, it takes about 28
minutes to be done succesfully. I dunno how this time cacluation works.
So i would be glad if someone helps me get thru these blocks.

推荐答案

在文章< 11 ********************* @ i42g2000cwa.googlegroups中。 com>,

Sundar< su ********* @ gmail.comwrote:
In article <11*********************@i42g2000cwa.googlegroups. com>,
Sundar <su*********@gmail.comwrote:

>

我正试图通过UART与BlackBox接收器进行通信。
虽然我通过Hyperterminal向接收者发送文本文件,但我希望减少对它的依赖。所以我尝试使用标准的DCB结构在Win32上为它编写一个样本
应用程序。
尽管在我的PC的短路Rx-Tx引脚上获得有效输出,但我没有得到要求来自接收者的确认信号。但是,在Hyperterminal上有1ms
字符延迟,我得到了我所需的输出。并且要以115200 bps的速度传输一个105KB的文件,成功完成大约需要28分钟。我不知道这次的时间是如何运作的。
如果有人帮助我通过这些街区,我会很高兴的。
>Hi,

I am trying to communicate with a BlackBox Receiver through UART.
Although i m sending a text file to the reciever through Hyperterminal,
i want to reduce my dependency on the same. So i tried writing a sample
application for the same on Win32 using the standard DCB structure.
Inspite of getting valid output on a shorted Rx-Tx pin of my PC, i m
not getting required ack signals from the reciever. However with a 1ms
character delay on Hyperterminal, i m getting my required output. And
morover to transfer a 105KB file at 115200 bps, it takes about 28
minutes to be done succesfully. I dunno how this time cacluation works.
So i would be glad if someone helps me get thru these blocks.



非主题。不便携。不能在这里讨论它。 Blah,等等,等等。


有用的clc相关链接:

http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language

Off topic. Not portable. Cant discuss it here. Blah, blah, blah.

Useful clc-related links:

http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language


"孙大信" < su ********* @ gmail.comwrites:
"Sundar" <su*********@gmail.comwrites:

我正试图通过UART与BlackBox接收器通信。

虽然我通过Hyperterminal向收件人发送文本文件,但是
i希望减少对相同的依赖。所以我尝试使用标准的DCB结构在Win32上编写一个样本

应用程序。

尽管在我的PC的短路Rx-Tx引脚上获得有效输出, im

没有从接收者那里得到所需的ack信号。但是,在Hyperterminal上有1ms

字符延迟,我得到了我所需的输出。并且

morover以115200 bps的速度传输一个105KB的文件,成功完成需要大约28

分钟。我不知道这次的时间是如何运作的。

所以如果有人帮助我通过这些街区,我会很高兴的。
I am trying to communicate with a BlackBox Receiver through UART.
Although i m sending a text file to the reciever through Hyperterminal,
i want to reduce my dependency on the same. So i tried writing a sample
application for the same on Win32 using the standard DCB structure.
Inspite of getting valid output on a shorted Rx-Tx pin of my PC, i m
not getting required ack signals from the reciever. However with a 1ms
character delay on Hyperterminal, i m getting my required output. And
morover to transfer a 105KB file at 115200 bps, it takes about 28
minutes to be done succesfully. I dunno how this time cacluation works.
So i would be glad if someone helps me get thru these blocks.



我担心你在错误的新闻组中。您可以尝试

comp.os.ms-windows.programmer.win32。


(不要理会Kenny McCormack的后续行动。他是只是我们的

常驻巨魔;他不是来帮你的。)


-

Keith Thompson(The_Other_Keith ) ks***@mib.org < http://www.ghoti.net/~kst>

圣地亚哥超级计算机中心< *< http://users.sdsc.edu/~kst>

我们必须做点什么。这是事情。因此,我们必须这样做。

I''m afraid you''re in the wrong newsgroup. You might try
comp.os.ms-windows.programmer.win32.

(Pay no attention to the followup from Kenny McCormack. He''s just our
resident troll; he''s not here to help you.)

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.




Kenny McCormack写道:

Kenny McCormack wrote:

在文章< 11 ********************* @ i42g2000cwa.googlegroups中。 com>,

Sundar< su ********* @ gmail.comwrote:
In article <11*********************@i42g2000cwa.googlegroups. com>,
Sundar <su*********@gmail.comwrote:




我正试图通过UART与BlackBox接收器进行通信。

虽然我通过Hyperterminal向接收者发送文本文件,但是b $ bi想要减少我对同样的依赖。所以我尝试使用标准的DCB结构在Win32上编写一个样本

应用程序。

尽管在我的PC的短路Rx-Tx引脚上获得有效输出, im

没有从接收者那里得到所需的ack信号。但是,在Hyperterminal上有1ms

字符延迟,我得到了我所需的输出。并且

morover以115200 bps的速度传输一个105KB的文件,成功完成需要大约28

分钟。我不知道这次的时间是如何运作的。

所以如果有人帮助我通过这些街区,我会很高兴的。
Hi,

I am trying to communicate with a BlackBox Receiver through UART.
Although i m sending a text file to the reciever through Hyperterminal,
i want to reduce my dependency on the same. So i tried writing a sample
application for the same on Win32 using the standard DCB structure.
Inspite of getting valid output on a shorted Rx-Tx pin of my PC, i m
not getting required ack signals from the reciever. However with a 1ms
character delay on Hyperterminal, i m getting my required output. And
morover to transfer a 105KB file at 115200 bps, it takes about 28
minutes to be done succesfully. I dunno how this time cacluation works.
So i would be glad if someone helps me get thru these blocks.



非主题。不便携。不能在这里讨论它。 Blah,等等,等等。


有用的clc相关链接:

http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language



老兄,如果你是对常客很生气,把它带到

的常客身上。对某人提出一个诚实的问题是个问题,这是一回事。对某人要求一个诚实的问题*另一件事就是向别人提出问题*只是为了表达你对其他人的不满

dicks *。


Sundar,问题是特定的硬件问题在外面这个新闻组的范围,以及你需要的专业知识

可能*不会*会在这里找到。


如果您对C语言的语法或语义有疑问,那么这就是

的地方。不幸的是,你的问题几乎没有用C语言来做
。我怀疑你需要的专业知识将在comp.arch。*层次结构中,但我不确定。


(见,肯尼,那么*太难了?)

Dude, if you''re pissed off at the regulars, take it out on the
regulars. It''s one thing to be a dick to someone asking an honest
question. It''s another thing to be a dick to someone asking an honest
question *just to express your displeasure with other people being
dicks*.

Sundar, the problem is that specific hardware issues are way outside
the scope of this newsgroup, and the expertise that you need is
probably *not* going to be found here.

If you have a question about C language syntax or semantics, this is
the place to come. Unfortunately, your question has very little to do
with the C language. I suspect the expertise you need would be under
the comp.arch.* hierarchy, but I''m not sure about that.

(See, Kenny, was that *so* hard?)


这篇关于UART接收的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆