cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect a STM32F4xxxRE on a custom PCB

Paulo971
Associate III

Hello,

This is the first time I've designed a PCB with a stm32. I found a PDF on the internet that gives me an example of a Nucleo connection but I'm not sure if my schematic is correct.
I don't need all the headerts or the usb connection (I'll be using Stlink v2).
Here's a screenshot of my MCU schematic and my power supply schematic.

Paulo971_0-1712943662324.pngPaulo971_1-1712943686124.png

 


Can anyone tell me if this is correct or if I need to add or remove components and where?

 

Best regard.

Paulo971

10 REPLIES 10

Add capacitor at VCAP1 (AFAIK 2u2, but consult with datasheet).
Bring required level to boot pin.
Connect power supply to AVDD.
Do not connect 11.1V to VBAT pin on MCU !

Single VCAP pin, typically 4u7 F, two pins 2u2 F on each

Pull Down in BOOT0 to ensure your code in FLASH starts, perhaps option to go HIGH if you need to start the ROM based System Loader

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you very much, I completely forgot that I already had an input name VBAT
AVDD = 3.3V, I just gave it a different name to match the ST pdf schematic.
As far as the stlink connection is concerned, everything's fine?

Thank you very much, i'll fixe that ASAP.

As far as the stlink connection is concerned, everything's fine?

Chris21
Senior

Chris21_0-1712956697185.png

May want to connect VAPP, it's the MCU generated VDD to tell the ST-Link what signal level to use for the programming pins. 

I wouldn't use pin 19 on the JTAG, on Segger J-LINK this is 5V

VTarget (3.3V) should go to Pin 1 to power ST-LINK buffers to match those of the board

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I made these changes following all your recommendations.

Paulo971_0-1712960350890.png

 

kind reminder

Kind reminder