2020-02-05 10:45 PM
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.
What causes this problem?
2020-02-11 10:00 PM
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.