2021-01-18 12:40 AM
I am not able to establish a BLE connection between the Zephyr RTOS and any other device I have (phone + laptop).
My setup is as follows
I have attached debug log from the nRF Connect Android App (Log 2021-01-14 110432) and a heavily annotated log of the SPI communication between board and shield (sib-connect3)
I was able to port the SensorDemo_BleSensor-App to this board and it is working. Unfortunately it only uses Vendor Specific commands, so it does not help me in analyzing what, if anything, I'm doing wrong...
Your help would be greatly appreciated.
Kind regards,
Wim Yedema
2021-01-25 08:35 PM
Please try to program X-NUCLEO-BNRG2A1 with the DTM firmware, built from DK with defining LL_ONLY.
This is to tell the BlueNRG-M2SP module not to use its BLE stack (vendor specific commands and events). It will act as a transceiver with standard HCI commands, and rely on the stack in Zepher OS.
To analyze the SPI transactions, please refer to ACI document located in:
file:///C:/Program%20Files%20(x86)/STMicroelectronics/BlueNRG%20GUI%203.2.1/Docs/gui_aci_html/bluenrg_1_v2_x.html
There shall be some error code or status in those transactions indicating what's wrong.
Take the first one for example, it is an ACI Blue Initialized Event
2021-12-23 06:15 AM
Hi, I'm solving similar problm while integrating the Bluenrg2+DTM into Zephyr. I can advertise and connect the peripheral to the nRF connect but the list of gatt services are missing.
There is an option for the BlueNRG in the Zephyr sources (CONFIG_BT_BLUENRG_ACI), but it is related to Bluenrg-MS which is on supported shield.
In the spi driver for shield i see that LL_MODE is enabled, so I follow this in my own driver. Wether I set the LL_MODE with aci_write_config_data or not the behavior of application is if I did not transfer the service and characteristics to the client.
Is there a document describing this particular feature in detail? Documents I found so far did not helped (bluenrg-datasheet, UM1755, UM1865, UM2058,...)
2021-12-23 08:10 AM
I did build the DTM example defining the LL_ONLY (using the TrueStudio), and flash it to the Bluenrg2.
The result is completely undefined behavior on the uart bus, not even initialization does work.
Can some of the ST engineers tell us how on earth use the Bluenrg2 with other stacks? Apparently there are some firmwares that can do this, as Bluenrg-ms does have support in the Zephyr rtos.
Thanks for the information in advance.