cancel
Showing results for 
Search instead for 
Did you mean: 

the reset pin of stm32

dongboli365
Associate
Posted on February 19, 2012 at 10:56

When power on , the reset pin functions well. But after several minitues, the reset pin goes to 2.x V and then goes to 0.6V. I just soldered a simple board, only the power and IC and caps and oscillator. Someone also encountered this phenomenon, but I do not have any solutions. So if you have any sugggestion? Thank you!

The board is 4 layer and the caps' one pin to IC VDD, and caps' another pin to GND plane not to IC's GND pin.If this kind of place and route is suitable?
3 REPLIES 3
Danish1
Lead II
Posted on February 19, 2012 at 11:56

You do not mention what you are doing with the BOOT0 and PB2/BOOT1 pins. If you hope to get repeatable results then these pins should be pulled to the appropriate levels (likely to be booting from System Memory if you intend to use the ST bootloader, or User Flash if you are using e.g. JTAG to load your program; but then for this you have to pull other pins as well).

You say that the reset pin functions as you hope for a few minutes. How far are you able to get in that time? Can you establish contact between your debugging environment and the STM32 in that time? Incidentally, what debugging software are you using, and what programming hardware (e.g JTAG, SWJ).

The STM32 microcontrollers can drive their reset pin low for a pulse of longer than 20 microseconds under certain conditions (for example watchdog reset). Might the 0.6 V you observe actually be the average voltage on the pin, which is actually doing something more complicated? An oscilloscope would be very helpful here.

As to your comment about power-supply-decoupling, in my opinion, the loop from each Vdd pin through the capacitor to the nearest Vss pin that must be kept short, and so must the path from each Vss pin to the ground plane.

If your Vss pins have a very short path to the ground plane (ideally less than 5 mm) then the fact that the decoupling capacitors go to the ground plane on a similarly short path rather than to the nearest Vss is not likely to be a problem.

I am aware how frustrating it can be trying to get a chip up and running. Do you have a commercial demo board to hand so you can confirm that all your other tools are working as you expect?

Hope this helps,

Danish

dongboli365
Associate
Posted on February 19, 2012 at 12:12

BOOT0 and PB2/BOOT1 pins connect right.And 0.6V is constant even not download program to it.

Posted on February 19, 2012 at 16:05

Someone also encountered this phenomenon,...

 

And wasn't his problem one of a solder short?

One suspects that the power-on-reset circuit kicks in at some point when the supply dips.

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