Skip to main content
Visitor II
June 7, 2025
Question

Problem connecting STM32F429ZI as usb hid keyboard

  • June 7, 2025
  • 2 replies
  • 352 views

Hi, I assume there have already been posts on this topic, but I can't handle this problem. I have an STM32F429I-DISC1 board and I'm trying to connect it as a USB HID keyboard. Unfortunately, all the guides and articles don't work, and my board isn't even detected by the computer after uploading the program. Why? Has anyone else had this problem and would like to share a solution?

    This topic has been closed for replies.

    2 replies

    Super User
    June 7, 2025

    Start a CubeMX project on this board from the Board Selector.

    Change USB host to USB device and add HID usb device in middleware.

    Generate code.

    Compile.

    Run code.

     

    Works here.

    HusteczkaAuthor
    Visitor II
    June 7, 2025

    Could you please create a project and send it to me? I made the project as you suggested but I have already tried these settings but I still have a problem with the connection. My computer and others I have checked do not detect this board as a USB or keyboard or mouse. Thanks in advance for your help.

    Technical Moderator
    June 9, 2025

    Hello @Husteczka 

    You can refer to this knowledge base article that explains how to implement a USB HID keyboard device from a USB HID mouse application

    BR Gyessine