2023-01-16 01:10 AM
When I program to my stm32 MCU, I need to hard reset to lower the current consumption. I mean, after I programmed the MCU, the board consume 580uA. Then I do a software reset via NRST and still had the same current consumption. Then I do a hard reset (GND-VCC short), and the current consumption drops to 6uA. Why do I need a hardware reset? By the way, the code enters STOP2 mode.
2023-01-16 03:44 AM
1- this is named power down reset
2- if you programm mcu with config debug in low power mode enebled = STOP2 isnt real disable it
3- this all is controll by MCUDBGREGS , that isnt reset with NRST only with power off or prog in code