cancel
Showing results for 
Search instead for 
Did you mean: 

Problem connecting STM32F429ZI as usb hid keyboard

Husteczka
Associate

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?

3 REPLIES 3
TDK
Super User

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.

If you feel a post has answered your question, please click "Accept as Solution".

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.

Gyessine
ST Employee

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