Hi ,
i am able to find the api related the reset cause" hwinfo_get_reset_cause". But i need to check this api for the Brownout reset ,Poweron reset and Watchdog reset. Any one suggest how to reproduce this three resets.
Hi,
Out of these three reset sources, it's only the watchdog reset that can reliably detected by reading the RESETREAS register. Brownout and poweron reset will clear the register as the table below shows.

To trigger a Watchdog reset, you can start using the driver APIs here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/zephyr/hardware/peripherals/watchdog.html and let it time out.
Best regards,
Vidar