Skip to main content
AChyt.1
Associate
February 6, 2020
Question

How make USB HID work on BluePill (STM32F103C8T6)

  • February 6, 2020
  • 1 reply
  • 2909 views

Hi friends,

I am trying to make me USB HID work on STM32 blue pill (STM32F103C8T6).

I generated project from STM32CubeMX, Device should be connected like mouse device ,but after i connected blue pill to pc, it showed error message. In device manager->state of device was error state "A request for the USB device descriptor failed."

I have three Blue pill modules and all of them have same problem. I tried add 1K8 ohm rezistor between pins PA12 and 3,3. This modules have problem with wrong value of rezistor R10, but that didnt help. Did somebody have same problem.

0690X00000D85WFQAZ.png

 0690X00000D85WyQAJ.png

What causes this problem?

This topic has been closed for replies.

1 reply

AChyt.1
AChyt.1Author
Associate
February 12, 2020

Okay, maybe I found a reason why USB doesn't work. Looks like the blue pill I bought was with a fake STM32F103C8T6 or a copy. I bought a new blue pill from another seller and this new one worked on first try.