Rdp = 1, locks backup register
I’m working on an STM32WLE5 device and I’m facing a reproducible issue when enabling Read-Out Protection level 1 (RDP = 1).
When RDP = 0, everything works as expected: i can write/read RTC Backup registers, my initialization sequence behaves correctly.
However, as soon as I set RDP = 1, the firmware can no longer access the backup domain: Any attempt to write Backup registers fails, even with SWD completely disconnected
The strange part: If I disconnect VBAT (short it to GND to fully drop the backup supply), everything works again — even with RDP = 1.
After removing VBAT and letting the backup domain fully reset, my firmware can again access backup registers normally.
This strongly suggests that the Backup Domain remains in a “protected” or “locked” state after enabling RDP, and can only be reset by removing VBAT.
My problem is that we have a supercap soldered on the vbat pin, and we cannot shortcircuit it during production.
Any help? Thank you
