'STM32WB don't enter to the STOP2 MODE

I took the example of a project Zigbee_OnOff_Client_SED on a module STM32WB5MMGH6TR on custom board. I have got a supply current of 3 mA instead of 3 μA if the device is connected to hub (H***y) and I have got a supply current of 168 μA instead of 3 μA if the device is connected to Zigbee_OnOff_Server_Coord.

The ST-Link is disconnected.

The symbol STM32WB55xx is redefined to STM32WB5Mxx. I have tried example PWR_STOP2_RTC but this does not work if I am working on ZigBee stack onboard.

How can I fix sleep mode? How can I enter the RFD ZigBee stack and RF module in STOP2 mode?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source