STM32WB getting stuck into Hard Fault on unsuccessful Bluetooth connection attempt!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-12-08 7:09 AM
We have tried using
NVIC_SystemReset();
but it seems it only resets the M4 core and not the M0+ responsible for Bluetooth communication.
It would be really appreciable if someone could guide us towards identifying the cause behind this behavior, and how to eliminate it.
- Labels:
-
BLE
-
DEBUG
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-12-08 8:07 AM
A few questions to understand the context:
- are you using a coin battery or a main supply? If a coin battery, what is the model?
- Do you active the SMPS mode?
- Was the device scanning or advertising? what's its role: central or peripheral?
- Did the issue happen before or after connection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-12-08 10:50 AM
Really appreciate your prompt response, Remi QUINTIN.
We are using a Li-Ion battery to power our custom designed board. Rest assured, there are no fluctuations and/or loading effects on the supply line. The controller that we are using is STM32WB50, and it does not have a SMPS. The device is advertising as a server (central).
This issue happens during a connection attempt, if the attempt fails. If the connection attempt is successful, the device works great. Although it is a rare event, but it does happen, which will ruin the customer experience.
