FX3 USB3V test - Remote Wakeup Test & Selective Suspend

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
spchc_1344561
Level 1
Level 1

Hi,

   

I have a test by USB3CV tool, and got a following report(fail);

   


TD 9.12 - Remote Wakeup Test (Configuration Index 0) - Enabled:

INFO Start time: Tue Jan 24 09:36:50 2017
INFO Suspended the parent port of the device
ERROR The timer for 15000 ms expired. Did not receive a wakeup event

   

FAIL (1.2.106) A device with remote wakeup enabled must be able to initiate a remote wakeup on it's suspended parent port.
INFO A failure to generate Remote Wake may be waived if the Device Under Test meets these requirements: * Device requires the client driver to be loaded to generate the wake event. * Device demonstrates remote wake from S3 during Interoperabilty testing.

   

INFO Stop time: Tue Jan 24 09:36:54 2017
INFO Duration: 4 seconds.
INFO Stopping Test [ TD 9.12 - Remote Wakeup Test (Configuration Index 0) - Enabled:: Number of: Fails (1); Aborts (0); Warnings (0) ]
 

   

The host send suspend command while the device has no response for a while.

   

If the host send a resume command, the device will wake-up. Therefore, we don't need the remote wake-up function.

   

But once we disable the remote wake-up attribute in the configuration descriptor, then the device never enter into suspend mode. How to fix the problem?

   

Thanks for your help.

0 Likes
3 Replies
Anonymous
Not applicable

Are you enabling the entry to suspend mode in the FX3 firmware? Once you enable this, you should be able to go into suspend mode.

   

Please use the API CyU3PSysEnterSuspendMode in the FX3 when you get a USB Event Callback corresponding to CY_U3P_USB_EVENT_SUSPEND

   

We have done a similar implementation in the USBBulkLoopAuto firmware please check: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\dma_examples\cyfxbulklpauto 

0 Likes
spchc_1344561
Level 1
Level 1

I have tried the sample code with CYUSB3KIT-003 explorer kit. However, we don't know how to make it enter suspend mode.
 We have tried to call the CYAPI Suspend () from host but it didn't work.

   

Would you have any suggestion? Thanks.
 

0 Likes
YangyangC_06
Employee
Employee
750 replies posted 500 replies posted 250 replies posted

Hi Spark,

   

To know how to enter the suspend mode, please refer to the lowpowertest firmware integrated in SDK.

   

The default path is C:\Cyy Materials\Firmware\cy_fx3_fw_v1.3.3_0\EZ-USB FX3 SDK\1.3\firmware\basic_examples\cyfxlowpowertest

0 Likes