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

HCI Controller for NRF52840

Hi,

We are in the process of integrating a NRF52840 to a linux based host gateway device, which is supposed to be the gateway for another peripheral device which also run NRF52840.

So far our approach has been to integrate NRF52840 as a HCI controller over UART and the use Bluez stack for the application development. So far we could only find the Zephyr provided HCI controller. But recently when we tried to load test with high frequency writes  and notifications. We are seeing abnormal results.

1. Suddenly the connections hangs with where btmon logs showed a pause followed by disconnection. Which forces us to restart the btattach and worst case hard reset the NRF52840(HCI). Before worrying about the peripheral i'm aligned to thing something/s wrong at the master side. Because after the above bluetoothctl also becomes unresponsive with similar to following output.

[dev]# scan on
Failed to start discovery: org.bluez.Error.InProgress
Failed to disconnect: org.freedesktop.DBus.Error.NoReply
Failed to start discovery: org.freedesktop.DBus.Error.NoReply
[dev]# scan off
Failed to stop discovery: org.bluez.Error.InProgress
[dev]# scan on
Failed to start discovery: org.bluez.Error.InProgress

Where my only option is to go for a reset.(btattach , nrf52 controller)

So we have arrived at a point of doubt, whether this HCI+BLUEZ setup is stable enough to move into production.

Please let me know your thoughts, and if there are any commercial offerings available in place of the zephyr HCI I'd be happy to hear.

Cheers. 

Related