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

nRF52832 after few minute of power up MCU reset itself. (reset reason:0x10000)

Hello,

I have a trouble handling new chip nRF52832 I recently changed.

what I previously used is nRF51822, and there wasn't that kind of problem.

I'm using my custom board, Softdevice version is nRF52_6.1.0.

for the test, I compiled and uploaded ble_app_uart example project to MCU,

but it doesn't work properly, it seems quiet regularly reset itself, the interval is about 3-5minute.

I found the way how to get reset reason from other questions,

uint32_t reset = nrf_power_resetreas_get();
NRF_LOG_INFO("reset : 0x%x", reset);
sd_power_reset_reason_clr(reset));

then, it returns like this,

 0> <info> app: reset : 0x10000

According to nRF52832 product specification, 16th bit of RESETREAS register means

 Reset due to wake up from System OFF mode when wakeup is triggered from DETECT signal from GPIO

but I don't get what are these stuff meaning like, System Off mode, Detect signal.

please let me know what should I do.

thank you.

  • Hi Daehyeon Kim

    the ble_app_uart example will call the following function

    static void sleep_mode_enter(void)
    {
        uint32_t err_code = bsp_indication_set(BSP_INDICATE_IDLE);
        APP_ERROR_CHECK(err_code);
    
        // Prepare wakeup buttons.
        err_code = bsp_btn_ble_sleep_mode_prepare();
        APP_ERROR_CHECK(err_code);
    
        // Go to system-off mode (this function will not return; wakeup will cause a reset).
        err_code = sd_power_system_off();
        APP_ERROR_CHECK(err_code);
    }
     

    when the nRF52832 has been advertising for 180 seconds(i.e. no connection has been made within 180 seconds) or if Button 1 is pressed when the device is advertising. The sleep_mode_enter() configures Button 1 as a wakeup button and then put the nRF52832 in System OFF mode. In order to wake up the chip from this mode, the user must push Button 1 to generate the Detect signal, which in turn wakes up the chip. A wakeup from System OFF will reset the chip, see Reset behavior

    Best regards

    Bjørn 

Related