2025-01-07 01:24 AM
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.
Thank you,
Deekshitha.
2025-01-07 08:17 AM
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.