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

问题描述

我们正在尝试使用 UFT230XA(FTDI模块)将USB连接到UART(串行)。我们成功地在PC(Windows XP-SP2)端进行了环回。我们还将通信PC连接到UART ,但问题是我们从UART端的PC获取相同的数据,而在PC上从UART获取数据。



例如,我们发送''A''(使用byte []或string)到UART我们得到十六进制值0x5F(ASCII char _)。我们再次得到相同的值没有垃圾。



任何帮助都是非常感谢!

提前谢谢。

As we are trying to communicate USB to UART(serial) using UFT230XA (FTDI module).We successfully did loopback at PC(Windows XP-SP2) side.We also did communication PC to UART,but the problem is we are getting same data from PC at UART side nor data from UART at PC.

For example, as we sent ''A''(using byte[] or string) to UART we are getting hex value 0x5F(ASCII char _).Also we are getting same value again no garbage.

Any help is much appreciated!
Thanks in advance.

推荐答案


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

09-26 16:13