11 years, 10 months ago.

USB Sleep from Windows PC on KL25Z board

I'm using a KL25Z board with the mbed USB HID libraries, and using the device as a joystick. I noticed when my WIndows PC goes to sleep, the board stops working. It requires it to be unplugged/replugged in.

I found a "todo" for power savings in the mbed USB HAL code, could this be the cause, or does anyone know what might be going on?

void USBHAL::remoteWakeup(void) { [TODO] }

1 Answer

9 years ago.

yes, that happened because Windows in mode sleep turn off the usb connectors, you must to disable that option in control panel.Sorry for my English, I speak Spanish.