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 Reply
  • Hi Kenneth,

    Sorry for this again but my device is not receiving data from nrf52 sometime. maybe UART is getting hanged.

    As I removed APP_ERROR_HANDLER(p_event->data.error_communication) from uart handler, there no soft reset now but causing other issues in uart communication.

    when device is kept live for long time with continuous UART communication, at some time(Its Random, it varies from 2-10 days) nrf52 stops sending data to other MCU. When I given power cycle to the device then starts sending data and works normal.

    I am not getting what is the issue. is UART getting stucked somewhere? or softdevice ?

    Please help me to resolve the same.

Children
Related