Cypress技术论坛
直播中

孙世珍

7年用户 204经验值
私信 关注
[问答]

CY7C68013枚举怎么检测

我怎么知道CY7C68013是枚举的?我需要发送通知的硬件(通过固件),USB电缆已被拔出。

以上来自于百度翻译


     以下为原文
  How can I tell that the CY7C68013 is enumerated?  I need to send notification to the hardware (via firmware) that the USB cable has been unplugged.

回帖(1)

王琰

2019-3-20 12:41:49
在自供电设计中,您必须监视VBUS以获得正确的USBbehavior:请查看CyPress AN15813的详细信息。这样做,你有一个关于电缆插头的信息。您还可以查看“StTeS配置”命令,但这只在TEH主机的插件和成功枚举调用。除此之外,在移除USB电缆后没有软件命令。

以上来自于百度翻译


     以下为原文
  In a self powered design you have to monitor the VBus for correct USB behavior: Take a look into the Cypress AN15813 for details. Doing this, you have an information about the cable plugged or not. You can also watch the "SetConfiguration" Command, but this is only called at Plug-In and successfull enumeration by teh host. AFAIK there is no software command after removing the USB cable.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分