Skip to main content
abbas14
Associate III
December 8, 2020
Question

STM32WB getting stuck into Hard Fault on unsuccessful Bluetooth connection attempt!

  • December 8, 2020
  • 1 reply
  • 1137 views

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.

This topic has been closed for replies.

1 reply

Remi QUINTIN
Technical Moderator
December 8, 2020

​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?
abbas14
abbas14Author
Associate III
December 8, 2020

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. ​