2023-07-12 07:25 AM - last edited on 2024-01-09 02:37 AM by Amel NASRI
I have a custom BLE app on a Nucleo-WB15CC board. The BLE application works as expected, but now I want to introduce low power modes (I want to be able to go into standby mode and wake up with edge detection on one of the wake up pins). After enabling CFG_LPM_SUPPORTED and CFG_LPM_STANDBY_SUPPORTED in app_conf.h, I no longer see my BLE advertising and the rest of my application seems to be at a halt. At a high level, my main loop looks like the below code, where "OtherCode_Loop()" calls into none BLE related things. After turning on those configurations, I no longer reach "OtherCode_Loop()". Only thing that has changed is enabling CFG_LPM_SUPPORTED and CFG_LPM_STANDBY_SUPPORTED. Is there more to this configuration?
while (1)
{
MX_APPE_Process();
OtherCode_Loop()
}