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

About WDT with only BLE empty packet communication

Hi Nordic,

I am using SDK 12.3.0, S130 2.0.1 and PCA10028 nrf51 DK.

I would like to ask about WDT and softdevice (centre).

The WDT setting is 2s timeout and the WDT counter would be paused during sleep and halt. I put below function in front of power_manage().

void testfunction(void)
{
    nrf_drv_wdt_channel_feed(m_wdt_channel_id);
    nrf_gpio_pin_toggle(test_pin);
}

The test pin is connecting to an led indicating that the WDT is fed.

After connecting to a peripheral (connection interval: 2s), I notice that when there is no interrupt for the application, the WDT is not fed because the led is not blinking.

I re-test it in debug mode and confirm that system would not enter testfunction() if there is no other interrupt.

I would like to ask if the WDT counter would continue to count during BLE empty packets communication (2s interval) and eventually reset the MCU?

If this would reset MCU, how to prevent this issue?

Parents Reply Children
No Data
Related