Skip to main content
Visitor II
July 15, 2022
Solved

How make a keyboard with stm32F103 with usb?

  • July 15, 2022
  • 2 replies
  • 2470 views

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.
    Best answer by FBOCA.1

    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

    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

    FBOCA.1AuthorAnswer
    Visitor II
    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: