STM32-X360-xinput
STM32-X360-xinput copied to clipboard
Can not shut down and restart after plugging in USB
WIN10 Enterprise Edition 2004 When shutting down or restarting, the USB device will be turned off. My keyboard and mouse have been turned off. STM32F103 will not turn off. I want to remove STM32 or press RESET on STM32. The computer will continue to restart or shut down. please help me
We found the solution to this problem, when configuring the USB device in MX Configurator. Be sure to set the setting "Self-Powered" to "Disabled". This fixed our problem. If you are not using the MX Configurator, under "usbd_conf.h" change the define #define USBD_SELF_POWERED 1U
to 0U
.
Unfortunately it didn't work