STM32F427 does not boot after power on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-26 8:16 AM
Hello,
i am using a design with a STM32F427 100pin package, and notice after leaving the board unpowered for several hours if i power up again, the software its not starting.
If i retry the restat the power it will stil not work, only after 3-4 retries.
If i have the change to get starting the software, then if i power off/on it still works.
Boot1 - pin is left floating
Boot0 pin - is tied to ground trough a 4K7 resistor
Reset pin - is tied to 3.3V trough 4k7 resistor.
Capacitors from pins 49,73 ( V_CAP) are 100nf X7R smd type
What is causing this strange behaviour?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-26 8:35 AM
Analog supply/ground pins not connected?
Software issue?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-26 11:16 AM
Sure it is not starting?
Try adding an effective POR circuit (MCP120 type device with >100ms clamping of NRST)
Add code tight into Reset_Handler to provide signs of life immediately, before it gets stuck in loops waiting for HSE, PLL, etc to spin up.
Make sure Hard Fault reports.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-26 12:10 PM
The power supply pins are all connected, the ground pins the same.
I am wondering if this is a software issue, since once the software starts everything seems to work perfectly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-26 4:44 PM
Definitely sounds like a Reset Issue.
this is my solution, I never have startup issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-26 4:48 PM
Honestly i work with stm32f4 as a hobby for some years now, and never used dedicated POR ic for thss, never had such problems like this.
Also each power pin is bufferd by a 1uf tantal cap
I wil double check the resistor on the reset pin, is there any typical value for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-26 7:06 PM
Do you have a weak power supply ?
if the Vdd rail is slow to come up, this will
exacerbate
the reset issues.Do you have a scope ?
you could trigger on the reset pulse going high, but check the rails ramping up time.
The Reset pin needs a resistor and a Cap.
You mentioned the 4k7, but you didn't mention the cap.
I use a 10k pullup and a 0.1uF on the reset pin as a minimum, but its not 100% reliable, depending on the brown out duration.
For 100% reliable startup, use the reset chip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-27 12:14 AM
Could be a temperature-related clock problem as well.
You could try to heat it up after a long power off, before turning on.
If the startup problems are gone, I would check the clock setup and timings.
Power supply circuitry could create the same symptoms, but IMHO less likely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-27 7:27 AM
Hello,
Bellow is a scope image, yellow is the 3.3V supply line, and purple is the reset pin.
The measurements where taken at 500uS/1V division.
I dont have capacitor on the reset pin
What do you think?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-27 7:06 PM
I would say you definitely need a cap, is that 1uSec from power supply at 2.5v to Reset up ?
did you check the reference manual ?
page 29 of the F427 data sheet, VACAP has to be stable before Reset, can you check that ?
you should check pages 25-29
Page 97, NRST Pin
page 138: You need a 0.1uF, and no resistor ??
Table 59. NRST pin characteristics shows:
Time of NRST_OUT Generated reset pulse duration Internal Reset source 20 - - μs
I can't see this 20uS running on your scope.
page 222
Appendix A Recommendations when using internal reset OFF
