I'm using a STM32f373x and with no battery. The product specification on page 77 says it should be connected to VDD. I have made a test with Vbat pin left open and the micro is working. Why I should connect Vbat to VDD and why it may work if it's open?
STM32 Microcontroller – Why Connect Vbat Pin to VDD When No Battery Is Present
microcontrollerpower supplystm32stm32f3
Related Topic
- Electrical – Can you Step up voltage with LDO
- STM32F030R8T6 – VBAT Pin and External Crystals
- Electrical – Why does a GPIO pin always return logic low when devices are connected to it
- Electronic – Microcontroller VDD and VSS pins are shorted. Does that mean the MCU is fried
- Electronic – How ST-Link RESETS the MCU by using Reset pin? How to connect Boot0 pin when it is not used and SWD interface is used
Best Answer
There is an excellent video by Dave Jones of the EEVBlog explaining why you can power almost every IC through almost every pin. This applies to your situation as well since you're supplying power through VDD. Vbat will be connected through the ESD protection diodes (which are present on virtually all pins on the IC) to the VDD pin and taking it's supply via this "detour".
It is just good practice not to leave the Vbat pin open but instead connecting it to VDD. Although leaving Vbat open works perfectly well as you have found, the circuits feeding from Vbat will operate at a lower supply voltage because they receive their supply voltage through the ESD diodes. In certain situations this could lead to unwanted effects. For example the minimum supply voltage at which the processor will work might be different.