cancel
Showing results for 
Search instead for 
Did you mean: 

USB not recognized

DDS
Associate II

Hi,

I have developed an application using the STM32F103C8T6 MCU to function as a USB keyboard. The application uses the USB communication protocol to send keystrokes. One of the requirements is an emergency button that, when pressed, disables all other buttons, ensuring no letters are sent and no USB communication occurs. However, if the emergency button is pressed and the system is powered off and then back on, USB enumeration fails, displaying a "USB not recognized" error.

DDS_0-1736241778359.png

Thank you,

Deekshitha.

 

1 REPLY 1
FBL
ST Employee

Hi @DDS 

Make sure the emergency button is properly debounced. When the emergency button is pressed, ensure that all USB communication is properly disabled and when the device is powered back on, the USB peripheral should be properly initialized.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.