2017-07-27 06:51 AM
Hi friends
I am trying to make usb hid connection with STM32F103C8. I was able to compile the USB Library via the KEIL Compiler. The processor is running. After the USB init routines, the processor goes to the main program. And when I make the USB connection, I get the error that the ''USB Unknown Device''
USB connection as shown
My project file is attached. Can someone review the project?
What causes this problem?
#stm32 #usb #stm32f1032017-08-02 03:48 AM
Thank you for the reply. Now I created Custom USB HID project via CubeMX. When I loaded the project to the STM32F103 and then made the USB connection, I got the error ''This device cannot start''. The driver installation is successful, but the device can not be started.
Do you have any information about this problem? I do not understand why this happens.
2017-08-02 04:03 AM
Hi
YOL.Ferhat
,I recommend you to increase heap and stack sizes.
Regards
Imen
2018-10-26 09:04 AM
Hi
.I configured Usb HID Device libraries for my stmF042k..but windows says Usb device not recognised. since F042k dont have a dedicated user usb,so here is my scheme i connected a usb cable to my stm..i left the power cable open because i am not sure whether i need to power it.Can you please share your experience how you solved the problem..I am using Cube for initilisation..(I did the same for Stmf3 Discovery,the code was working but that board has a user usb.)