Skip to main content
Associate II
January 7, 2025
Question

USB not recognized

  • January 7, 2025
  • 1 reply
  • 914 views

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.

 

This topic has been closed for replies.

1 reply

ST Technical Moderator
January 7, 2025

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 "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL