2023-02-08 01:55 PM
Ideally using something like the HCI_RESET command is preferable for our application rather than simply cycling power or resetting the system. Is there some procedure for recycling the M0 processor in the stm32wb while leaving the application processor running? I'm not finding any informatio on what to do after issuing HCI_RESET to try to get the BLE radio back up.
Thank you.
Solved! Go to Solution.
2023-03-08 01:17 AM
Sorry for jumping in, I have similar issue in a different scenario that when I jump from bootloader at 0x08000000 to application binary at 0x08024000, BLE advertisement does not work.
Both bootloader and application use BLE with different services.
It is suggested here to stop or re-init BLE stack somehow:
So, I wish to do the same but calling SHCI_C2_Reinit or SHCI_C2_802_15_4_DeInit in hopes that we can later re-init BLE does not work and CPU1 code remains blocked waiting for response from CPU2 (wireless core).
Calling hci_reset() from ble_hci_le.h header included gives link time error and I could not find any work around for this.