MCU hung after staying idle for hours
In our system with SMT32G041F6P6 powered by a battery, device gets to hung state when kept idle for few hours or days (randomly). We have already implemented a window watchdog to detect any faults. Even with watchdog enabled, we are getting this hang issue. ( In this hang state, we couldn't see any kind of LED UI indications upon pressing the button which is the expected behaviour in idle state)
When the NRST was checked , it was HIGH at that instant. At the instant, battery level is adequate. The device was only recovered by doing software reset.
