How to get the restart reason

My AMB82-mini board reboots randomly, i have the watchdog running, but i dont think thats the reason.

Is there an api i can call to give the restart reason, or boot reason?

Thanks

Hi @nsmith1024 ,

Yes, there is an API to check if the reboot was triggered by AON WDT. You may call watchdog_aon_reboot_check() , it will return 1 if the reboot reason was AON WDT and 0 if wasn’t.

Please make sure #define AON_WDT 1

Thank you.