Hello @Jtron.11,
yes, I tried your example code STM32WBA52_PWR_STANDBY_RTC.zip and measured 2,5 uA when using CubeIDE
Speaking of the SMPS, the HAL_PWREx_ConfigSupply function has to possible arguments, in your case, you want to use PWR_LDO_SUPPLY
/**
* @brief Configure the system Power Supply.
* @param SupplySource : Specifies the Power Supply source.
* This parameter can be one of the following values :
* @arg PWR_LDO_SUPPLY : The LDO regulator supplies the Vcore Power Domains.
* @arg PWR_SMPS_SUPPLY : The SMPS regulator supplies the Vcore Power Domains.
* @retval HAL status.
*/
HAL_StatusTypeDef HAL_PWREx_ConfigSupply(uint32_t SupplySource)
The migrating itself is not described in any AN, but I have never met some major issues. The most important thing you need to pay more attention is that some peripherals may be on different pins of the MCU