Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > How to do a Device Remote Wakeup

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



How to do a Device Remote Wakeup
Moderator:
RSKV

Post Reply
Follow this topic



How to do a Device Remote Wakeup

Ken4242 posted on 22 May 2012 10:30 AM PST
Top Contributor
21 Forum Posts

What is the correct procedure to do a Device Remote Wakeup from SS, HS, FS?  I see flags in the API document telling me if they are enabled.  However, I would like to wakeup the host when I get certain interrupts on the device side.  The closest thing I can find is  CyU3PUsbSetLinkPowerState

Ken




Re: How to do a Device Remote Wakeup

aasi posted on 25 May 2012 04:14 AM PST
Cypress Employee
1073 Forum Posts

The next revision of the SDK will have APIs for this.

Regards,

Anand



Re: How to do a Device Remote Wakeup

Ken4242 posted on 07 Jun 2012 06:39 AM PST
Top Contributor
21 Forum Posts

Any update on this?  Is there any way for me to test this out?  I really need to get this working as my deadline is coming up.

 

Ken



Re: How to do a Device Remote Wakeup

dbir posted on 08 Jun 2012 12:20 AM PST
Cypress Employee
26 Forum Posts

You can the test build of the FX3 SDK from:

ftp://dbfcust:Cust5rvc@ftp.cypress.com/fx3/USB_TEST/FX3_SDK_B789.msi

Installing the MSI will require uninstall of the previous SDK (and maybe the Eclipse and ARM GCC as well if they used the full installer previously). If this is not acceptable, all of the files in the release can be obtained from the ZIP file below:

ftp://dbfcust:Cust5rvc@ftp.cypress.com/fx3/USB_TEST/FX3_SDK_B789.zip

Both of these links are publicly accessible and can be used directly. Please go through the release notes (change log and known problems sections) before starting to use the new SDK.

-dbir



Re: How to do a Device Remote Wakeup

Ken4242 posted on 18 Jul 2012 08:38 AM PST
Top Contributor
21 Forum Posts

I am getting back to this as this project is now my priority again.  Is there a later versioin of this file or is this file still the latest?

 

Ken



Re: How to do a Device Remote Wakeup

RSKV posted on 18 Jul 2012 09:00 AM PST
Cypress Employee
655 Forum Posts

Here is the latest SDK1.1.1

http://www.cypress.com/?rID=57990



Re: How to do a Device Remote Wakeup

RSKV posted on 18 Jul 2012 09:02 AM PST
Cypress Employee
655 Forum Posts

In SDK1.1.1, there is a new USB API called CyU3PUsbDoRemoteWakeup() to cause FX3 to perform
USB 2.0 remote wakeup signaling.

Regards,

sai krishna.



Re: How to do a Device Remote Wakeup

Ken4242 posted on 25 Jul 2012 03:25 PM PST
Top Contributor
21 Forum Posts

 

I am testing this routine and I am always getting a 0xFF status back which has the meaning below.  I have RWU enabled in the descriptor, and before calling this function, I am also doing a SetFeature Remote Wakeup command.  Any ideas?

CY_U3P_ERROR_OPERN_DISABLED = 0xFF /* The requested feature / operation is not enabled in current configuration. */

Also, how do I detect if RWU have been called? In the future, I would like to read a varaible to determine if the SetFeature request as been called.

 

Ken

 

 






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.