admin管理员组文章数量:1318802
android usb ftdi,android
我有一个简单的ATMEL微控制器,该板上的LED灯通过FTDI-232电缆和USB-> micro-USB OTG电缆连接到Nexus平板电脑.
在以下情况下无法识别该设备:
1)FTDI cable is connected to the board + micro-controller
2)The OTG cable is connected to the FTDI cable
3)OTG cable is connected to the tablet
可以识别以下情况:
1)The FTDI cable is connected to the board + micro-controller
2)the OTG cable is plugged into the tablet
3)the FTDI cable is plugged into the OTG cable
可以识别以下情况:
1)FTDI cable is plugged into the OTG cable
2)OTG cable is plugged into the tablet
3)FTDI cable is plugged into the board + micro controller
我还有一块Arduino UNO板,其工作原理与连接顺序无关.
对于第一个将OTG电缆最后连接到平板电脑的示例,我需要使用它.
编辑:
经过四处观察并进行了一些测试之后,我认为OTG电缆会根据第一个有电的设备来确定哪个设备是主机.如果我断开ATMEL板/芯片的电源,然后再插上电源,则它将平板电脑设置为主机.
因此,即使已将Nexus7平板电脑插入有源设备中,我也需要采取一些方法来将其设置为主机.
本文标签: android usb ftdiAndroid
版权声明:本文标题:android usb ftdi,android 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/biancheng/1702274237a569686.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论