Some of st code does this on stm32wb, but this only seems to be done once in embassy:
HAL_PWR_EnableBkUpAccess(); /**< Enable access to the RTC registers */
/**
* Write twice the value to flush the APB-AHB bridge
* This bit shall be written in the register before writing the next one
*/
HAL_PWR_EnableBkUpAccess();
Some of st code does this on stm32wb, but this only seems to be done once in embassy:
cc @MathiasKoch