Skip to main content
Associate
August 18, 2026
Question

The STM32H562RET6 microcontroller enters a short circuit between VCC and GND after a few minutes of operation.

  • August 18, 2026
  • 7 replies
  • 144 views

The STM32H562RET6 microcontroller enters a short circuit between VCC and GND after a few minutes of operation.

I programmed a simple LED blinking application on GPIOB pin 2 (PB2). This issue has occurred with several STM32H562RET6 microcontrollers on different boards. I have worked with this microcontroller before, and I had never encountered this problem.

 

7 replies

MHoll.2
Senior III
August 18, 2026

This is not sufficent information to help You. Normaly “shorts” are caused by exeeding the max. Voltage or Current parameters.

Can You show the schematics of the cirquit?

Associate
August 18, 2026

The problem occurs simply when the microcontroller is powered through the ST-LINK. I have already tried two different ST-LINK programmers, and the same issue occurred with both.

Andrew Neil
Super User
August 18, 2026

As ​@MHoll.2 said, you need to provide more details:

 

Some good, clear photos of your setup could also help.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Danish1
Lead III
August 18, 2026

This could be “destructive latchup” caused by over-voltage, which might have been triggered by switching current on an inductive load.

Is this your own pcb design? (The other option being a commercial design)?

Do you have any relays on the pcb, as they are inductive? Unless you have a diode to contain the back-emf, they will destroy most semiconductors quickly.

Where is the voltage-regulation? Is it on your pcb, or are you using a regulated power-supply with leads longer than 20cm going to your pcb. And what voltage are you supplying to your stm32?

What power supply decoupling capacitors do you have very close to the stm32? There should be a 0.1uF ceramic capacitor very close to each pair of Vdd, Vss pins. Have you wired up every single Vdd pin and every single Vss pin?

Does stm32h5 have a core voltage that is brought out for you to decouple (or maybe even regulate)? Have you checked that voltage is correct?

What is the current through your LEDs? What series-resistance are you using to limit that current. (LEDs are very non-linear and a slight increase in voltage can lead to a large increase in current).

Richard Li
Senior
August 18, 2026

Do you know where is short, is it from PB2?

Use good DMM can find resistance difference for the short source.

When you test, is it any load in PB2?

Ozone
Principal
August 19, 2026

I strongly suspect you talk about a custom board here.

Review your schematics and PCB, and scrutinize your boards. And make sure you don’t violate and design requirements and exceed absolute maximum ratings.

Andrew Neil
Super User
August 19, 2026

I strongly suspect you talk about a custom board here.

Indeed.

@CesarTorrico72  this is why you need to post your schematics - we have no other way of knowing what you have!

And, again, some good, clear photos of your setup could also help.

 

As well as checking against the datasheet, see application note AN5711, Getting started with STM32H5 MCU hardware development

And check https://www.st.com/en/microcontrollers-microprocessors/stm32h562/documentation.html for other relevant materials.

 

Please also post a minimal but complete software example which demonstrates the issue.

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.