I want to realize a function to reset MCU core? Does anyone know how to achieve this function.
Thanks in advance.
It depends on the MCU. Some provide a direct method of doing this - others provide a watchdog peripheral that can be used. Look at the manual for your MCU.
1 Like
If you’re using a Cortex M MCU and have CMSIS library available/included, you can call NVIC_SystemReset()
function.
1 Like