cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 MCU pin voltage during and after reset. Entering bootloader.

karlis
Associate II
Posted on May 31, 2016 at 14:15

Hello everybody.

In my project it is necessary to reboot the MCU.

What are the pin voltages during reset and right after reset if pins before reset are configured as output with Low or High logic level? See picture below.

What about pin voltage level when it enters STM32 internal bootloader?

0690X000006039oQAA.jpg

More about my issue:

I want to enter the internal STM bootloader and to do so I must change BOOT0 pin voltage level and that is not an issue with 1 mosfet which is controlled by SBC.

To enter the bootloader I am going to do a software reset of MCU, but I am concerned about voltage level of pin which controls SBC load switch.

It would be really bad if during the MCU reset the SBC would lose its power supply.

In STM32F030CC datasheet  I found that -  During and just after reset, the alternate functions are not active and most of the I/O ports are configured in input floating mode.

Does this imply that 3.3V output will change to 0V?

Thanks in advance,

Karlis

#stm32f030cc #reset #bootloader
1 REPLY 1
Posted on May 31, 2016 at 14:34

Floating means it neither adds/remove charge, although some leakage is likely. If you want tri-stated pins to have a known state, pull them high or low externally.

Should be possible for the MCU to jump into boot loader without using BOOTx pins.

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