SOFTDEVICE DISABLE ISSUE WHILE WDT IS RUNNING

Hello,

I need to write to the UICR flash multiple times. Typically, this involves disabling the softdevice, writing to the UICR, and then re-enabling the softdevice. However, when the software WDT is enabled, this process becomes problematic. The enabled WDT prevents the low-frequency clock (lfclk) from stopping, thus preventing the softdevice from being disabled.

Is there a way to disable the WDT functionality temporarily and re-enable it after writing to the UICR?

Parents Reply
  • I am using nrf_sdh_disable_request(); and then sd_softdevice_disable(); functions to disable the soft device, which calls nrf_drv_clock_lfclk_release(); in event: NRF_SDH_EVT_STATE_DISABLED of soft device enable/disable state handler. 

       By commenting nrf_drv_clock_lfclk_release(); in NRF_SDH_EVT_STATE_DISABLED event there was no issue while disabling the soft device. is it ok to comment nrf_drv_clock_lfclk_release(); for my application.

    There will be any impact on other functionalities due to commenting nrf_drv_clock_lfclk_release();  ??????

Children
Related