This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB remote wakeup support

Hey,

After some messing with Interface Association Descriptors, I now have a working composite device that supports both HID and audio streaming. Now, I would like the HID to be able to wake the computer via remote wakeup. The HID device is recognized as having this capability by Windows, but what is the right way to actually initiate the remote wakeup sequence? Is there any support for this in the STM32 internal USB state machine or USB standard library?

Resume(RESUME_EXTERNAL) does not seem to work, and I couldn't find any reference to the proper wakeup sequence (D+ high, D- low for at least 12 ms). Is this implemented at all in the standard library or should I write my own routine for this?

Much obliged.