cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32CUBEMX][USB] CAN NOT BE RECOGNISED when STM32F103 be set up to a keyboard.

Dylan_Du
Associate

Anybody occured this issue?

configuarions in stm32cubeMX

1. RCC configuration

Dylan_Du_0-1722925072809.png

2. SYS configuration: use ST-LINK to debug

Dylan_Du_1-1722925101020.png

3. select the USB of connectivity

Dylan_Du_2-1722925192896.png

4. Middleware setting

Dylan_Du_3-1722925246955.png

5. clock configuration

Dylan_Du_4-1722925281135.png

6. project setting 

Dylan_Du_5-1722925348067.png

7. code generation 

Dylan_Du_6-1722925385309.png

 

 

problem in this project

1. device cannot be recongnized.

Dylan_Du_0-1722926145921.png

 

 

 

 

1 REPLY 1
Imen.D
ST Employee

Hello @Dylan_Du ,

I advise you to follow this FAQ: USB device not recognized with the solution to either increase the heap size, or configure the USB library.

This STM32 USB training video will help you for setting up the USB device.

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen