cancel
Showing results for 
Search instead for 
Did you mean: 

STm32Wl55 WakeUp Radio from Low Power Mode

Henry77
Associate

Hello!

I am using the STM32WL55 microcontroller and the NUCLEO WL55JC1 development board. My goal is to resume execution after a low power mode through a LoRa radio reception. In run mode, the microcontroller can exchange radio signals. My problem is that once the microcontroller enters low power mode, the radio cannot wake it up, and the microcontroller remains in low power mode. I have tried various low power modes: sleep, stop 0, 1, 2 without success.

Before entering low power mode, I enable the radio in reception with Radio.Rx(0), but the Rxdone interrupt function is not executed. Does anyone know a way to solve this problem? Thanks

Here example code:

...

Radio.Rx(0); /*Radio Continue receiving*/

//none of them wake up after radio signal
// Go into STOP0
//HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI);
// Go into STOP1
//HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);
// Go intoSTOP2
//HAL_PWREx_EnterSTOP2Mode(PWR_STOPENTRY_WFI);
//Go into Sleep Mode
HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON,PWR_SLEEPENTRY_WFI);

//RxDone not executed when micro in Low Power Mode
static void RxDone(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr)
{

...

0 REPLIES 0