Hi,
I added watchdog to usbd_ble_uart sample code.
BLE connection breaks when sending data to DK via USB.
What might be the cause?
Thanks.
Hi,
I added watchdog to usbd_ble_uart sample code.
BLE connection breaks when sending data to DK via USB.
What might be the cause?
Thanks.
I suggest to start by taking a look at the watchdog example:
https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/hardware_driver_wdt.html
I would have started at looking at the reload value you have set (NRFX_WDT_CONFIG_RELOAD_VALUE), and possible increase it. Secondly look at how often you are able to call nrf_drv_wdt_channel_feed(), and make sure it is called more frequently than set by the reload value (NRFX_WDT_CONFIG_RELOAD_VALUE).
Kenneth
I suggest to start by taking a look at the watchdog example:
https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/hardware_driver_wdt.html
I would have started at looking at the reload value you have set (NRFX_WDT_CONFIG_RELOAD_VALUE), and possible increase it. Secondly look at how often you are able to call nrf_drv_wdt_channel_feed(), and make sure it is called more frequently than set by the reload value (NRFX_WDT_CONFIG_RELOAD_VALUE).
Kenneth