cancel
Showing results for 
Search instead for 
Did you mean: 

BLUENRG-LP deepsleep mode + ble

akkkkkk
Associate

Hello st community,

I'm trying to use the BlueNRG-355 in deepstop mode with timer, to wake it up with an I/O. I used function from Power Save Modes project from the Navigator with Bluetooth function.

 

while(1)
{
ModulesTick();
APP_Tick();
HAL_PWR_MNGR_Request(POWER_SAVE_LEVEL_STOP_TIMER...);
}

Modulestick function is as follows

while(1)
{
ModulesTick();
APP_Tick();
HAL_PWR_MNGR_Request(POWER_SAVE_LEVEL_STOP_TIMER...);
}

However, when you enter deep sleep mode, you continue to wake up immediately for some reason.

After debugging through the HAL_PWR_MNGR_Request function, we found that we could not enter the next if statement. Is there a solution?

/* BLE Stack allows to enable the power save */
  if (BLE_STACK_SleepCheck() != POWER_SAVE_LEVEL_RUNNING)

 

 

1 REPLY 1
AndyR1
Senior

Hello @akkkkkk 

Have you made any progress ?

I'm stuck on the same problem : bluenrg-lp-power-save-level-stop-mode-using-ble-stack 

for the immediate wakeup : bluenrg2-ble-timeout 

Thanks.