Skip to main content
FBOCA.1
Associate
July 15, 2022
Solved

How make a keyboard with stm32F103 with usb?

Hi everyone,

I follow this tutrorial to mak a keyboard with a stm32 MCU.

But it's not works. The USB not recognized!

Could you help me please?

Thanks!

This topic has been closed for replies.
FBOCA.1
FBOCA.1Best answer
Associate
July 18, 2022

Hi,

Thanks @KDJEM.1​ .

But i solved my problem. When i bought my MCU, the reference which write on the chipset was not the same on the product description on the website.

I configure my project to the correct reference STM32F103C8XX to STM32F103C6XX and now all working fine!

:smiling_face_with_smiling_eyes:

2 replies

KDJEM.1
ST Technical Moderator
July 18, 2022

Hi @FBOCA.1​ ,

Try to increase the heap size, or configure the USB library to use static allocation.

For more explanation, I advise you to follow this article to solve the problem.

Make sure also that you are not facing this particular case.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
FBOCA.1
FBOCA.1AuthorBest answer
Associate
July 18, 2022

Hi,

Thanks @KDJEM.1​ .

But i solved my problem. When i bought my MCU, the reference which write on the chipset was not the same on the product description on the website.

I configure my project to the correct reference STM32F103C8XX to STM32F103C6XX and now all working fine!

:smiling_face_with_smiling_eyes: