It looks like we have the same issue here with an STM32F412CG.Both VDD and VBAT are powered together by a switching regulator that will retain the power supply through some GoldCaps when the input voltage to the device is powered off. But after the s...