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

"ASSERTION FAIL [err == 0] k_sem_take failed with err -11" when HCI is used with LP-UART

Test setup -

1. nRF52840 DK - 1 as hci host, 1 as hci controller

2. HCI Host runs nrf/samples/bluetooth/peripheral_hr_coded with modified configuration (attached as conf_hci_host.zip)

3. HCI Controller runs nrf/samples/bluetooth/hci_lpuart with overlay and conf for nrf52840 dk (attached as conf_hci_controller.zip)

4. Connections are made tx-pin <-> rx-pin, req-pin <-> rdy-pin with each other.

Issues observed -

[2021-03-24 12:10:46.108] ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:333
[2021-03-24 12:10:46.115]   k_sem_take failed with err -11

This results in a continuous restart of the hci host firmware.

Question -

1. What should be done to make HCI over LP-UART work?conf_hci_controller.zipconf_hci_host.zip

Related