大家好,
在阅读
william hill官网
和例子,并在几个问题的USB驱动程序,现在我能够使用USPUART(CDC)接口与PSoC5LP!
它仍然只是一个问题:管理USB电缆的连接/断开。
我读KBA210620:
HTTP://OrgIn www. CyPur.com /知识基础文章/故障排除PSOC-3-PSOC-4-L系列和PSOC-5LP-USB设计-KBA210620
此文档建议监视VBUS线路以检测断开事件。
但是,在我目前的设计中,我不能监控VBUS线(自供电-没有VBUS)。
我做了一些实验,但我不走运。
有人知道在没有监视VBUS线路的情况下检测USB断开(USPADAR-CDC)的解决方案吗?
提前感谢大家;
PS:UBART组件数据表V.3.20没有定义UBuTARGETGETFION
tiON()API
以上来自于百度翻译
以下为原文
Hi to all,
after reading forum and examples and after a couple of problems regarding USB drivers, now I am able to use USBUART (CDC) interface with PSoC5LP!
It remains only a problem: manage the connection/disconnection of the USB cable.
I read KBA210620:
[url=https://community.cypress.com/external-link.jspa?url=http%3A%2F%2Forigin-
www.cypress.com%2Fknowledge-base-article%2Ftroubleshooting-psoc-3-psoc-4-l-series-and-psoc-5lp-u***-designs-kba210620]http://origin-
www.cypress.com/knowledge-base-article/troubleshooting-psoc-3-psoc-4-l-series-and-psoc-5lp-u***-designs-kba210620[/url]
This document suggest to monitor the VBUS line to detect the disconnection event.
But, in my current design, I cannot monitor the VBUS line (SELF POWERED - NO VBUS).
I did a bit of experiments but I was not lucky.
There is someone that knows a solution to detect USB disconnection (USBUART - CDC) without monitoring the VBUS line?
Thank you in advance to all ;-)
PS: UBUART component datasheet v.3.20 does not define USBUART_GetConfiguration() API