2018-12-19 08:11 AM
I'm programming a L432KC Nucleo using STM32CubeMx. When a certain condition is given in my program I want the controller to reset itself instead of pushing the external reset button. For example,
if ( x == 5){
\\reset the controller
}
Is there a way of doing this? I haven't used the watchdog concept. Is it applicable here?
Solved! Go to Solution.
2018-12-19 08:43 AM
NVIC_SystemReset();
2018-12-19 08:43 AM
NVIC_SystemReset();