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

LPUART causing deadlock

Hi guys,

I am experiencing some issues with the LPUART implementation: it seems that when using the setup with hci_lpuart (with LE Coded PHY) bluetooth connection isn't stable. Every now and then the whole program stops working either when connecing to a remote BLE device or when discovering a device' services and characteristics. Like there is a deadlock, because other threads don't get scheduled anymore. And its random. Sometimes it works (connection establishment, service discovery, data transmission), sometimes there is this deadlock situation. From reading the (program specific) logs I guess that a callback isn't responding as expected, but that is just a guess. I am not having this issue with the regular hci_uart connection.

The setup I am using:

  • Actinius Icarus (nRF9160) connected via lp_uart to
  • Particle Xenon (nRF52840) running hci_lpuart (with additional settings for LE Coded PHY)
  • nRF Connect SDK v1.5.1
  • LE Coded PHY enabled
  • 115200 baud rate (happens also with 1000000 baud rate).

Any suggestion what triggers this issue?

Kind regards!
Christian

Parents Reply Children
Related