2025-05-15 4:36 PM - last edited on 2025-05-16 4:03 AM by Amel NASRI
Hello, I am an engineer developing a board using STM32G071.
Currently, I am using all pins of the MCU, SPI, I2C, and GPIO, but one of the products is overheating and overcurrent is occurring.
The existing consumption is 30mA, but the problematic product consumes 110mA. I would like to inquire about which pin of the MCU can cause overcurrent to flow.
Or, if you tell me a case where overcurrent can occur in the STM32G071, I will check it out.
2025-05-15 10:23 PM
Have you checked the package pins for any shorts?
Same with any external loads? E.g. pull-ups / downs, power, filter caps, ...
2025-05-16 12:39 AM
This issue does not occur on all boards that utilize MCU.
This is an issue that occurred during a restart while in use.
2025-05-16 1:13 AM
If it only happens on one board, that suggests there is a fault on that board.
So carefully inspect that board for:
2025-05-20 11:59 PM
The MCU board and power board are connected with a board-to-board connector, and an overcurrent phenomenon occurred in a product where the connector connection was unstable.
I am currently using both MCUs (LQFP48), but which two pins could cause an overcurrent phenomenon if they were shorted?
2025-05-21 12:46 AM
Any 2 pins that don't have the same voltage level...
Ever heard of Ohm's law? V = R * I
;)
But because of the difference being that high, it looks more like some power and / or GND pins are involved.
Maybe some power supply shorted to an GPIO set to output with low level.
2025-05-21 12:52 AM - edited 2025-05-21 12:53 AM
Your description is far too vague to make any specific comments.
You need to show full schematics.
Also some good, clear photos of the system.
Remember that we know nothing about your system other than what you provide in your posts; we can't see it, we can't investigate it for you.
Tell us what tests & measurements you've done to find where this excess current is going.
How to write your question to maximize your chances to find a solution.
@SJKwon wrote:The MCU board and power board are connected with a board-to-board connector, and an overcurrent phenomenon occurred in a product where the connector connection was unstable.
Are you plugging/unplugging while the power is on?
When you do that, you need to ensure that things connect/disconnect in the correct order - so you don't get power applied to IO pins before the supply is connected, etc ...