Skip to main content
AAhme.41
Associate II
April 12, 2023
Question

STM32F407-Discovery Reset Delay When Power Applied.

Dear All,

I have a STM32F407-Discovery Kit, I have a problem that when I Power up my Discovery Kit it takes 2 to 3 Seconds to initialize, and during this time there is Garbage values on GPIO Pins. Please tell me what is the problem?

This topic has been closed for replies.

5 replies

Karl Yamashita
Principal
April 12, 2023

If you don't post any code, then we don't know what you're trying to initialize.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
Tesla DeLorean
Guru
April 12, 2023

Probably the ST-LINK holding it reset.

Check if there is a solder bridge for NRST you can unmake.

Still likely to be a brief delay from your code starting to the point you initialize the clocks/pins. Understand the flow of the code and what it is doing, and where along the time line.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
AAhme.41
AAhme.41Author
Associate II
April 12, 2023

Thanks for your answer, When I connect & power it through USB Cable then it does take any delay, it takes delay only when I Power it from VDD Pins. I Comment all the code just setting the GPIO pins in startup.

Karl Yamashita
Principal
April 13, 2023

Sounds like you're not powering up the Discovery board correctly. Have you checked to see when you power VDD that the voltage isn't rising slowly to 3V? Is X2 oscillating right away when you supply power to VDD? Or maybe an issue with NRST pin staying low briefly before going high?

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source