2023-11-28 02:18 AM - edited 2023-11-28 02:19 AM
I’m using a STM32WB5MMGHx module on a battery powered device. When the module loses power due to low battery or the battery being removed it does not advertise after regaining adequate power. Only after restarting or reflashing the wireless stack does the module begin to advertise again.
Here are my cube configurations for BLE:
How can i solve this?
2023-11-29 07:31 AM
Hello,
I think the embedded programmable voltage detector inside STM32WB can be useful in your case, see below an extract of the datasheet:
"The device features an embedded programmable voltage detector (PVD) that monitors the VDD power supply and compares it with the VPVD threshold. An interrupt can be generated when VDD drops below the VPVD threshold and/or when VDD is higher than the VPVD threshold. The interrupt service routine can then generate a warning message and/or put the MCU into a safe state. The PVD is enabled by software."
You refer to the STM32WB55 datasheet DS11929 part 3.7.4 Power supply supervisor.
Best Regards
2023-12-06 01:19 AM
Hi, @Remy ISSALYS
The power supply is stable at a healthy voltage for this module.
Can i maybe solve my problem by force resetting core 2 at power on?