2024-08-01 01:57 AM
Hi i want to hard reset my MCU once after 5 minutes is there any way to implement it i know i can do this by NVIC_SystemReset(); but i just want to do it once after power on the mcu
2024-08-01 01:59 AM
@this_is_kd_singh wrote:i just want to do it once after power on the mcu
Why?
A power-on reset is "harder" than NVIC_SystemReset()...
2024-08-01 05:40 AM
> i know i can do this by NVIC_SystemReset()
But you don't want to use that? Why?
Tie a open drain GPIO pin to NRST and set it low to hard reset the chip.
2024-08-01 05:54 AM
Perhaps stash a magic value in RAM at the 5 minutes reset, and flag to yourself not to do that again when you recognize that at start up.