通过WinIOT UWP在Raspberry Pi 3上获得4个USB输入 [英] Getting 4 USB inputs on Raspberry Pi 3 via WinIOT UWP

查看:80
本文介绍了通过WinIOT UWP在Raspberry Pi 3上获得4个USB输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有4个SAMD21G迷你分线板,可将字符串发送到RPi3中的4个USB端口。我们在winIOT中使用UWP库。但是,使用DataReader.LoadAsync或DataWriter.StoreAsync时,似乎使用3个以上的SerialDevice实例会导致第四个挂起。
一次使用3个似乎完全没问题。然而,使用4是问题发生时。另一个有趣的事情是4个SerialDevice实例在PC上运行正常。这是一个已知问题吗?


Win IOT核心操作系统版本:10.0.15063.297


使用的软件:Visual Studio 2015

解决方案

嗨marlomarion,


Pi USB堆栈或电源都可能过载。 与PC相比,它的资源非常有限。


您可以尝试向RPi论坛寻求关于如何扩展硬件的想法。 一个简单的测试就是在混音中增加一个有源USB集线器,因为它应该消除电源作为问题的根源。


此致,


IoTGirl


We have 4 SAMD21G mini breakout boards sending strings to 4 USB ports in the RPi3. We are using UWP libaries in winIOT. However, it seems that using more than 3 SerialDevice instances causes the fourth to hang when using DataReader.LoadAsync or DataWriter.StoreAsync. Using 3 at a time seems perfectly fine. However using 4 is when the problem happens. Another interesting thing is 4 SerialDevice instances work ok on PC. Is this a known issue?

Win IOT Core OS Version: 10.0.15063.297

software used: Visual Studio 2015

解决方案

Hi marlomarion,

Either the Pi USB stack or power supply are likely being overloaded.  Compared to a PC it is very resource limited.

You might try looking to the RPi forums for their thoughts on how to extend the hardware.  An easy test would be adding a powered USB hub in the mix as that should remove power supply as the source of the issue.

Sincerely,

IoTGirl


这篇关于通过WinIOT UWP在Raspberry Pi 3上获得4个USB输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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