Skip to main content
Visitor II
April 12, 2023
Question

STM32F407-Discovery Reset Delay When Power Applied.

  • April 12, 2023
  • 3 replies
  • 2002 views

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.

    3 replies

    Graduate II
    April 12, 2023

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

    Graduate II
    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.​

    AAhme.41Author
    Visitor 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.

    Graduate II
    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?