- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sometimes the PC(personal computer) can't detect USB device.
Then, unplug usb cable and plug it for porper operation.
There is no other way than this.
I want to use auto Power On/Off device or disconnect USB.
If I use 2 Port Hub between PC and USB device, is there a way for USB HUB to recognized whether PC detect USB device.
If possible, please rerecommand device and tell me the relevant register.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
-Please let us know what Cypress USB device you are using?
-If you use a hub between PC and the device, the hub can enable the ports but will not know if the PC can detect the device. Hence if there is any power cycle needed on the device for proper detection, it will have to be done even with the hub connected.
Best Regards,
Sananya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
-Please let us know what Cypress USB device you are using?
-If you use a hub between PC and the device, the hub can enable the ports but will not know if the PC can detect the device. Hence if there is any power cycle needed on the device for proper detection, it will have to be done even with the hub connected.
Best Regards,
Sananya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-Please let us know what Cypress USB device you are using?
==> No, I don't use cypress USB device.
It's not a product I made, but a commercial product I bought.
-If you use a hub between PC and the device, the hub can enable the ports but will not know if the PC can detect the device.
==> Yes, I got it.
I need to find another way.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there a way to read the status, if I use the USB device of cypress.
What register is valid ,if I use USB device such as CYUSB3064?
Best Regards,
Choi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Choi,
If you are using CYUSB3064 device you can use following APIs
1) CyU3PConnectState ( CyBool_t connect, CyBool_t ssEnable )
- Enable / disable the USB connection.This function is used to enable or disable the USB PHYs on the FX3 device and to control the connection to the USB host in that manner. Re-enumeration can be achieved by disabling and then enabling the USB connection.
2) CyBool_t CyU3PGetConnectState ( void )
Check whether the FX3 device is currently connected to a host.This function checks whether the the FX3 device is connected to a USB host. This depends on the detection of a valid Vbus input to the device.
For detailed information about the API's you can refer to FX3 API Guide in the SDK 1.3.4
Please let me know if any queries on this.
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rashi,
Thanks for your recommandaton.
Best Regards,
Choi