STM32 gotchas
273. Backup SRAM and RTC can fail, if VDDA is not within prescribed 50mV of VDD (in 'F4)

In STM32F4xx, the backup domain is powered from a switch, which switches between VBAT when the chip is powered down, and to VDD otherwise. However, his switch appears to be controlled by VDDA. The consequence of this is, that if VDDA fails to follow VDD within 50mV required by the datasheet, the backup domain - battery-backed SRAM and/or RTC content may get lost.

One way how users unwittingly create this situation is, when they generate VDDA separately from VDD, using a separate regulator, in an effort to keep VDDA clean.

This issue has been observed by user Scott_DeltaDev. (A similar incident has been reported also by a different user, but that went under moderation for whatever reason.)

See also the VDDA-related anecdote in g174.