通过 USB OTG 连接对等点
我的问题是连接两个具有 OTG 功能的 USB 接口的相同设备。这是一个简单的赠品,还是我必须以任意计时模式手动启动和停止主机和设备模式,以便最终在另一个是 OTG 主机时在设备模式下命中?通过浏览几个 USB 堆栈生产商的 API,我不清楚对称连接是否可能。
问候, slarti
PS:该设备是AVR32
my problem is to connect two identical devices with OTG-capable USB interfaces. Is this a simple giveaway or do I have to start and stop host- and device-mode manually with an arbitrary timing pattern so that eventually one is hit in device mode when the other one is an OTG host? From skimming over the APIs of several USB-stack producers it is unclear to me if symmetrical connections are possible at all.
regards,
slarti
PS: the device is an AVR32
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
官方电缆的 A 端有一个“跳线”,告诉它所插入的设备是主机。 OTG 补充还包括主机协商协议,该协议允许两个双角色设备互换角色。
The official cable has a "jumper" in the A end that tells the device it is plugged into to be the host. The OTG Supplement also includes a Host Negotiation Protocol which allows the two dual-role devices to interchange roles.