This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52832 Softreset

Hello Everyone,

I am using nrf52832 and sdk 15.2 for BLE scanning and advertising. scanning and advertising is working parallel. this is controlled by other MCU over serial.

but there is random reset in nrf chip. when I tried to find out the reason using sd_power_reset_reason_get(&reset_reason), I got 0x00000004 ( i.e. softreset ).

I am not getting why there is softreset randomly(i.e. once in a hour ). Is it due to UART handler hang?

Please help me resolve the same.

One more question, Is there any chance to soft reset nrf in normal condition which may handled by softdevice?

Parents
  • I expect you have an assert, which by default will execute an NVIC_SystemReset() to recover. This is a good idea for a final product, however during prototype development you may want to add DEBUG to the preprocessor symbol such that you in can set a breakpoint to identify file name, line number and error code causing the assert, this is done in app_error_fault_handler().

Reply
  • I expect you have an assert, which by default will execute an NVIC_SystemReset() to recover. This is a good idea for a final product, however during prototype development you may want to add DEBUG to the preprocessor symbol such that you in can set a breakpoint to identify file name, line number and error code causing the assert, this is done in app_error_fault_handler().

Children
Related