2024-10-27 05:30 PM - last edited on 2024-10-28 01:40 AM by SofLit
I checked with the Uploaded File schematic board.
I'm using STM32CubeProgrammer.
Connect from PC via UART.
I confirmed that the UART is connected with STM32CubeProgrammer.
Software has not been written yet.
In that state, the MCU became so hot that I couldn't touch it.
Could you please tell me the possible reasons?
2024-10-27 06:10 PM
Hi,
I hope that helps
Kind regards
Pedro
2024-10-27 11:27 PM
Hello,Pedro
When I set Boot 0(E8) to Lo, it no longer heats up.
If I turn on the power before writing software, are there any GPIOs that are output?
2024-10-27 11:29 PM
Are there any signals such as GPIO that are turned on when Boot 0 is Hi?
2024-10-28 02:53 PM
Hi,
Possibly. You need to read "AN2606 STM32 microcontroller system memory boot mode"...
KInd regards
Pedro
2024-10-29 06:32 PM
Sorry, I didn't understand clearly even after reading it.
Since I2C is an open drain, I don't think there is any current consumption even if the load is GND.
Could the current consumption be caused by another signal USART, SPI, DFU, FDCAN?
2024-10-29 06:47 PM
Yes.
Kind regards
Pedro
2024-10-30 01:01 AM
Oh my, you connected ALL unused GPIOS to GND?
Bad idea when not knowing there default state after power up.
Check / do the following:
- check your MCU power settings: LDO is on ?
if you are using HAL, look for something like: HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
- first thing in your code after clock configuration: set all unused GPIOs to input without pull-up and without alternate function
2024-10-30 09:46 PM
Connecting all unused GPIO pins to GND is based on "AN4899 6.1 Avoid floating unused pins".
If an external PU/PD is required when the power is turned on(Boot0=0), I think you should write that.
When Boot0=1, there is no heat generation, so I think this is correct.
Therefore, I wanted to know which GPIO is changing when Boot0=0.
2024-10-30 09:50 PM
Sorry, Boot0 was written backwards.
Connecting all unused GPIO pins to GND is based on "AN4899 6.1 Avoid floating unused pins".
If an external PU/PD is required when the power is turned on(Boot0=1), I think you should write that.
When Boot0=0, there is no heat generation, so I think this is correct.
Therefore, I wanted to know which GPIO is changing when Boot0=1.