Skip to main content
Explorer
January 7, 2025
Question

USB not recognized

  • January 7, 2025
  • 1 reply
  • 561 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

    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.