Skip to main content
Graduate
May 5, 2025
Solved

stm32f411 PCB fail?

  • May 5, 2025
  • 2 replies
  • 486 views

I made a stm32f411 simple test board and I am failing to do some things with it, now I am trying to send a string using the usb cdc, the code is uploaded but the device is not shown in usb list, I have a stm32f411 blackpill with 25mhz crystal hse(in my custom pcb the crystal is PTH instead of SMD) and the code works as expected, what i be doing wrong? here is the schematic please remember it's my first time making a custom board and I was aiming a very simple design:schematicschematic

 

    This topic has been closed for replies.
    Best answer by AScha.3

    Wrong : no cap on VCAP pin. This is the core voltage....so it will not run correct.

    See rm or circuit of a nucleo, what to have there.

     

    AScha3_0-1746476207549.png

    on black pill:

    AScha3_1-1746476292602.png

     

    2 replies

    AScha.3Answer
    Super User
    May 5, 2025

    Wrong : no cap on VCAP pin. This is the core voltage....so it will not run correct.

    See rm or circuit of a nucleo, what to have there.

     

    AScha3_0-1746476207549.png

    on black pill:

    AScha3_1-1746476292602.png

     

    Graduate
    May 5, 2025

    ***, is this really mandatory? what other tips would you give me to avoid making other mistakes?

    Graduate II
    May 5, 2025

    Yes, it's the bulk capacitance for the 1.25V internal LDO regulator.

    Without the board will be very unstable beyond HSI frequency, likely to Hard Fault, and FLASH fail to program.

    Single pin VCAP should be 4.7uF  (for two pins, 2.2uF each), please check data sheet

    Super User
    May 5, 2025

    Yes, VCAP is mandatory.

    I'm guessing pin 2 of U2 should be the +3.3 V net. It's not marked on the schematic.

     

    Those appear to be the only mistakes.

     

    Consider reviewing the hardware design guide:

    Getting started with STM32F4xxxx MCU hardware development - Application note