读取RP3上的串行数据时出现问题 [英] Problems reading serial data on RP3

查看:57
本文介绍了读取RP3上的串行数据时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在USB串行接口上​​安装了Adafruit Ultimate GPS,使用相同的UWP应用程序可以在桌面上的x86版本上轻松读取数据。当我在PI3(远程)上尝试ARM构建时,一切似乎都有效,但读取的串行数据永远不会返回。
没有超时,没有。在桌面上,它立即开始从芯片获取GPS数据。我也尝试过CustomSerial示例应用程序并获得相同的结果。我确实更新了清单以显示串口访问,所以不要认为这是问题。



任何想法都将不胜感激。谢谢。

解决方案

亲爱的朋友,


您的意思是在USB端口上获取GPS数据RPi3?


据我所知,PRi需要USB转UART转换器,官方支持模块是CP2102 USB 2.0转TTL模块串口转换器,请参阅:


https://developer.microsoft.com/en-us/windows/iot/docs/hardwarecompatlist


或者现在,Win IoT Core不支持您的GPS模块。


I have an Adafruit Ultimate GPS on a USB serial interface and using the same UWP application can read data just fine on a x86 build on a desktop. When I try a ARM build on the PI3 (remote), everything appears to work, but the serial data read never returns. No timeout, nothing. On the desktop, it starts getting GPS data from the chip right away. I also tried the CustomSerial sample app and am getting the same result. I do have the manifest updated to show serial port access, so don't think that is the problem.

Any ideas would be greatly appreciated. Thanks.

解决方案

Dear friend,

Do you mean get GPS data on USB port of RPi3?

As far as I know, PRi needs USB to UART converter, and the official support module is CP2102 USB 2.0 to TTL Module Serial Converter, see:

https://developer.microsoft.com/en-us/windows/iot/docs/hardwarecompatlist

Or maybe your GPS module is not supported on Win IoT Core now.


这篇关于读取RP3上的串行数据时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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