cancel
Showing results for 
Search instead for 
Did you mean: 

My STM32 device is overheating and has malfunctioned

Wadeva
Associate III

Hello,

We’ve designed a device that uses an STM32 microcontroller to manage various features such as I2C, UART, ADC, IWDG, DMA, Flash memory handling etc. After running smoothly for a month, the device began malfunctioning, drawing 220 mA of current and heating up noticeably. I’m trying to determine the root cause of this issue. Could you provide insights into the possible reasons for this behavior?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Wadeva
Associate III

Hello everyone, after reviewing our design, I discovered an unprotected pin that is connected to the chassis ground of the device. I’ll need to check if there are any other similar pins. It must be the problem.

 

View solution in original post

20 REPLIES 20

@Wadeva wrote:

Could you provide insights into the possible reasons for this behavior?


  1. A hardware failure in your external hardware
  2. A design error (software and/or hardware) over-stressing the part (or allowing it to get over-stressed).

 

For anything more specific, you're going to have to give a lot more detail!

 

Wadeva
Associate III

Dear Andrew,

Our design involves numerous components, making it difficult to specify each one. We are using the STM32G070CBT microcontroller.

I’m unsure what might be causing this issue, as all peripherals and features seem to be functioning normally—no signs of overcurrent or short circuits. However, I’m curious if this type of malfunction could be related to something specific, like overcurrent in a peripheral or excessive heat.

I will try to narrow down the issue by individually testing each peripheral and reviewing our software.

 


@Wadeva wrote:

Our design involves numerous components, making it difficult to specify each one.


Your design should fully specify all of them!

 


@Wadeva wrote:

I’m curious if this type of malfunction could be related to something specific, like overcurrent in a peripheral or excessive heat.


Yes - as I said, over-stressing the part.

The primary result of overcurrent is overheating!

TDK
Guru

Look for possible places where the chip might have been overstressed, perhaps on powerup, perhaps by an external component through a long (inductive) wire, or ESD damage, or something of the sort.

When the chip is overstressed, the protection diodes can fail and cause the chip to sink a massive amount of current, sometimes while otherwise working okay.

If you feel a post has answered your question, please click "Accept as Solution".
White_Fox
Associate III

How do you have your output pins configured?

Just try to config all as open drain with pull-up, be carefully that e.g. pwm stages may stop working correctly. If all pins are going high, you can exclude that your periphery is broken.

Next tests and other cases are more difficult, but also more rare I guess.

If you have connected to external equipment, boards or circuits, and have insufficient protection on-to the STM32.

Things like motors. Things with their own independent power sources.

Or where you've created conduction paths running through the MCU.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Wadeva
Associate III

Thank you TDK.

I will look and search with my team and tell you if we found the main reason.

 

 

We are using both push-pull and open-drain configurations on different pins. Additionally, some pins have internal pull-up or pull-down resistors activated.

 

An interesting test. I will give it a try but as you said my problem might be the rare one.

As you mentioned, our design includes external devices. Thank you for all the responses. If we identify the root cause, I will provide an update here.