cancel
Showing results for 
Search instead for 
Did you mean: 

Power and STM32s

Yahya Asl Soleimani
Associate II
Posted on March 13, 2017 at 09:08

Hello

Our team is using STM32F103R8T6 and STM32F405R8T6 for a robot and for some reason sometimes when we turn the power on (from battery or a DC power Supply) the MCUs short from the inside and when we change the header board for the MCUs which we designed ourselves, everything is fine. 

here is the schematics for our power supply.0690X00000606XZQAY.png

we have also used coupling capacitors as recommended in STM32 datasheets.

What do you suggest? is there anything we have missed?

if anymore information is needed, i'd be happy to provide.

7 REPLIES 7
Nor Sch
Associate III
Posted on March 15, 2017 at 14:36

Don't know how you connected all the needed Stuff (Power-Pins of MCU with some 10nF and 100nF Capacitors, nReset-Pin). But you should look with an Oscilloscope on these Pins. Is your Power-Supply stable? Is the Reset-Pin fine?

Posted on March 15, 2017 at 15:11

Unfortunately you need to take a more systemic view, large voltages/currents can be introduced through a variety of routes, and back into the supplies. Review the whole design looking for potential to violate the 'absolute maximum' limits on all pins, especially those controlling motors, relays, etc where large reverse emf pulses might occur, or large voltage/current spikes.

Consider if you need more protection on IO pins.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 15, 2017 at 16:23

I'd agree with this assessment.

Either you violate some power supply related requirements (perhaps temporarily injecting voltages on GPIOs before Vcc is stable), or you have EMI issues with attached inductive components.

T J
Lead
Posted on March 16, 2017 at 01:20

I think you are getting ground spikes when the switch is bouncing.

i try to use inrush current protection into a larger capacitance, I dont have any trouble.

eg, after the switch before the 5V switcher

but you may feel this is going overboard.

0690X00000603c7QAA.jpg
Posted on March 16, 2017 at 11:07

thank you I think this may be it we are monitoring all the voltages to see what's what

AvaTar
Lead
Posted on March 16, 2017 at 12:07

Older CMOS chips, AFAIK, tended to 'latch-up' at about 15V. Not sure about ST's technology.

However, that seems to point to external, inductive sources (motor coils, switched supplies).