This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF9160 BLE Gateway using nRF52820

Is it feasible for me to use the 9160 as ble-host and 52820 as ble-controller using just TX and RX lines? (no request or ready lines) My setup is NCS v1.7.0, custom board. I've configured my project to where I get reliable transmissions for around 30 min then my application will crash due to an hci command timing out:

00> ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:305
00>   k_sem_take failed with err -11

The error is sporadic; sometimes happening much sooner or later than 30 min in the lifetime of the boot. I referenced the samples found in samples/nrf9160/lte_ble_gateway and samples/bluetooth/hci_lpuart to get to where I am now, but I'm a little lost with these errors. After looking at this ticket "ASSERTION FAIL [err == 0] k_sem_take failed with err -11" when HCI is used with LP-UART - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com) my assumption is that I should be able to, but maybe I've just set up the UART device wrong. Any guidance would be appreciated

Parents
  • esisk said:
    I let my HW team know to possibly include two extra lines for UART communication in future board revisions, so we can utilize the low power UART driver. The software choice of the split BLE stack was not known to us at the time of HW design, so we didn't take it into account.

    Thanks a lot for your feedback, Ethan. Yes, that makes totally sense. But I’m glad to hear that you were able to find a solution that might work for you anyway :-)

    Cheers,

    Markus

Reply
  • esisk said:
    I let my HW team know to possibly include two extra lines for UART communication in future board revisions, so we can utilize the low power UART driver. The software choice of the split BLE stack was not known to us at the time of HW design, so we didn't take it into account.

    Thanks a lot for your feedback, Ethan. Yes, that makes totally sense. But I’m glad to hear that you were able to find a solution that might work for you anyway :-)

    Cheers,

    Markus

Children
No Data
Related