Skip to main content
fab04
Associate III
October 23, 2025
Solved

STM32F446 starting squence

  • October 23, 2025
  • 4 replies
  • 324 views

Hi everybody,

I've two cards with a STM32F446 on them.

My first one works very well, the µc starts a each time.

On the second card, the µc starts sometimes (I have a LED on my card that blinks at start).

I've checked Vcap (2.2µF), the 3V3 rising (1ms), boot is well connected to GND with a 10k resistor.

I cannot see what happens in debug mode, because in debug mode , it starts everytime.

Is there a mean to check something else ?

I don't understand what happens.

If you have some ideas...

Thank you.

 

Best answer by fab04

I think I've found the solution. I put two capacitors for LSE (22pF).

But the crystal that I choose needs 12pF. I've made the modification and now it starts each time.

4 replies

mƎALLEm
Technical Moderator
October 23, 2025

Hello,


@fab04 wrote:

Hi everybody,

I've two cards with a STM32F446 on them.


Which board? custom board? ST board?

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
fab04
fab04Author
Associate III
October 24, 2025

Hi,

 

No, it's a custom board. I think something happens on my power supply. I'll check it.

Bob S
Super User
October 24, 2025

> because in debug mode , it starts everytime.

Do you mean while using a debugger (STLink,etc.)?  That is because the debuggers bypass the "power on reset" sequence - manually loading the PC/SP from the reset vector and then starting the CPU.

You don't mention what you have connected to the NRST pin, nor the crystal or oscillator circuit.  Can you post portions of your schematic related to power, reset and external crystal (if you are using one).

TDK
Super User
October 23, 2025

Usually this is due to a hardware issue. Perhaps bad design, perhaps manufacturing defect such as a cold solder joint.

"If you feel a post has answered your question, please click ""Accept as Solution""."
TDK
Super User
October 29, 2025

Perhaps blink an LED before SystemClock_Config and then again after. Perhaps it's getting stuck in there.

If power is valid and NRST is high, which it looks to be, the chip is running something.

"If you feel a post has answered your question, please click ""Accept as Solution""."
fab04
fab04AuthorBest answer
Associate III
October 29, 2025

I think I've found the solution. I put two capacitors for LSE (22pF).

But the crystal that I choose needs 12pF. I've made the modification and now it starts each time.