BLE Mesh Sample using HCI SPI controller #76170
Replies: 11 comments
-
@henrikbrixandersen @PavelVPV Is there anyway we can get this looked at fairly quickly as I have a rather large hardware design decision hanging on this capability, sorry to chase |
Beta Was this translation helpful? Give feedback.
-
CC @jhedberg |
Beta Was this translation helpful? Give feedback.
-
@matt-wood-ct Please add the below to
Do provide the log here... |
Beta Was this translation helpful? Give feedback.
-
Added that config to both side, just in case, can confirm both sides are running Host:Log:
Controller:Log:
|
Beta Was this translation helpful? Give feedback.
-
To make mesh on HCI work do I need Ok more investigation, I forced |
Beta Was this translation helpful? Give feedback.
-
FYI I did also try using nordics hci_lpuart sample in conjunction with the same beacon and mesh samples configured for H4 HCI rather then SPI on the NRF52832 ICs and found the same result, beacon works, mesh does not appear to work. |
Beta Was this translation helpful? Give feedback.
-
Hi @matt-wood-ct, I'm on a leave atm and can't try the sample at my desk, but the first thing comes up to my mind when trying to build mesh separately of controller is misconfiguration of host and controller. Though IIRC you should have had an error when host and controller are misconfigured, it is worth comparing bluetooth configuration (CONFIG_BT_* Kconfigs from |
Beta Was this translation helpful? Give feedback.
-
Hi @PavelVPV, thank you for your time, |
Beta Was this translation helpful? Give feedback.
-
Controller is missing Here's the exact branch I used: jori-nordic@bfb3e30 |
Beta Was this translation helpful? Give feedback.
-
@jori-nordic Thank you so much for this I will retest soon to make sure but it looks like you've cracked it 😄 This is a really important proving exercise for the project I am working on |
Beta Was this translation helpful? Give feedback.
-
No problem :) Feel free to review and +1 the doc change if the instructions work for you: #76161 |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
So I am attempting to validate using a NRF52832 SOC as an external BLE controller for use in a BLE Mesh application and I am struggling to get BLE Mesh to work using a BLE controller connected via SPI.
Test setup
I have two NRF52DK kits with the following jumper connections:
* P0.21 functions as the HW RST on these dev kits
To Reproduce
Using_SPI_HCI_for_mesh_and_beacon_samples.patch
hci_spi
andmesh
samples (see attached patch file)Expected behavior
Mesh sample to run as it does with a combined host and controller build on a single dev kit
Impact
Showstopper for using mesh on an external BLE controller
Logs and console output
Host:
Controller (log level increased as it ordinarily would say nothing):
Although the logs look like it is doing something, there is nothing futher after those messages and I am unable to see any mesh advertisements using the NRF connect app or the NRF mesh app.
Environment (please complete the following information):
Additional context
I did validate my device tree and configurations using a simple BLE beacon sample, this operated without fault and proved the connections are correct.
Beta Was this translation helpful? Give feedback.
All reactions