For a very small percentage of our devices, we sometimes see watchdog reset events that we cannot explain. The only pattern that we see so far is that the watchdog reset happens a few minutes after there was BLE activity with the device (nrf52840 using peripheral role with BT NUS service).
We are using NCS 3.1.0 now, but we also observed the resets on NCS 3.0.x and 2.9.x We now suspect that it is maybe caused by one of the known BLE issues below:
- NCSDK-31528: Deadlock on system workqueue with tx_notify in host
- NCSDK-30959: The Bluetooth subsystem might deadlock when CONFIG_BT_HCI_ACL_FLOW_CONTROL is disabled
More info here: docs.nordicsemi.com/.../known_issues.html
A workaround for both issues seems to be to enable CONFIG_BT_HCI_ACL_FLOW_CONTROL. Currently this is indeed disabled in our firmware, so we will test if the resets are gone once we enable it.
We have 3 questions though:
- Are those known issues relevant for the nrf52840 or can you only get deadlocks on multicore socs?
- Why is CONFIG_BT_HCI_ACL_FLOW_CONTROL not enabled by default if it fixes the known issues?
- Are there any downsides of enabling it?
Thanks in advance!
