2025-02-19 10:31 PM
I'm new to fiddling with MCUs, so I'm looking for some advice, I'm working on a project for my class and I'm trying to emulate a keyboard using the nucleo-F103rb. I have my code written out, I have a usb cable with D+ Connected to PA12 and D- to PA11, GND to GND and VCC to E5V all within CN5. Despite having all the headers in place, my computer doesn't detect any connection whatsoever. If anyone could suggest anything that may help it'd be really appreciated.
Solved! Go to Solution.
2025-02-25 9:57 AM
Hi, I have since got the device to connect to the computer however, it now displays Unknown USB Device (Device Descriptor Request Failed) in my devices as well as Error Code 43 in device manager. I believe the issue im having is that the MCU hasn't initialized USB in time and so the host enumeration fails albeit I don't have the knowledge to understand how to fix this. Is there anything you could recommend? I did also try the example but couldn't understand how to import it into CubeMX without errors.
2025-03-26 5:37 AM
Hi @Logan_
If still having issues, I recommend you starting new discussion in a separate thread to ensure proper follow-up.
About device descriptor request failed, you need to check your descriptors and ensure proper configuration. The example provided doesn't support CubeMX natively. You can simply run the project using your preferred toolchain/.
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.