2023-07-23 09:31 PM
Hello,
I have a board with stm32wb55 used as end device, I've tried to enter standby mode after connecting to zigbee network.
I found out that if HSE is selected as RF wakeup clock
PeriphClkInitStruct.RFWakeUpClockSelection = RCC_RFWKPCLKSOURCE_HSE_DIV1024;
than MCU would enter standby mode.
But if LSE is selected as RF wakeup clock
PeriphClkInitStruct.RFWakeUpClockSelection = RCC_RFWKPCLKSOURCE_LSE;
than MCU would not enter standby mode correctly.
But I need to use LSE as RF wakeup clock.
I think it is because RF activity is not disabled before standby mode enabled.
Is there any function could be called to disable RF activities with Zigbee?
2023-07-26 09:38 AM
Hello,
As mentioned in AN5289, on STM32WB55 STOP2 is the deepest low power mode supported when RF is active. When the user application has to enter Standby mode, it must first stop all RF activities, and fully re-initialize CPU2 when coming out of Standby mode.
Best Regards
2023-07-26 08:54 PM
Hi,
Thanks for your reply.
But which function could be called to stop all the RF activities for Zigbee?
I just tried to finish my Zigbee request first and wait for several seconds, and MCU still couldn't step into standby mode.