2021-05-16 06:28 AM
In an STM32F427, according to the Backup domain reset subchapter of RCC chapter of RM0090rev.19, backup domain can be reset by setting RCC_BDCR.BDRST. There is no other condition to this mentioned in that subchapter nor elsewhere in related material (e.g. in description of RCC_BDCR.BDRST bit) in the RM.
However, experimentally I found, that backup domain reset does not happen after setting RCC_BDCR.BDRST, if PWR_CR.DBP is not set.
JW
Solved! Go to Solution.
2021-05-20 10:44 AM
Hi @Community member,
Your feedback is important and clear now.
I've highlighted an internal request to the involved people to take a closer look at this and take the necessary actions.
Thank you for noticing this and for helping to improve the ST documentation! :smiling_face_with_smiling_eyes:
Imen
2021-05-18 09:45 AM
Hello @Community member ,
Yes, DBP bit is to disable backup protection, the backup won’t be write accessed without setting DBP same for the BDRST.
This is mentioned in the RM, in the "Backup domain access" part :
Imen
2021-05-18 02:08 PM
Hi Imen,
The RCC_BDCR.BDRST bit is *not* in the backup domain, as proven by the ability to write into it and read it back without setting PWR_CR.DBP. So why would any text on Backup domain access pertain to that bit?
The description of RCC_BDCR explicitly states the bits which are protected by PWR_CR.DBP and RCC_BDCR.BDRST does not belong to them.
> This is mentioned in the RM, in the "Backup domain access" part :
No, that text does not mention backup domain *reset*, nor RCC_BDCR.BDRST bit. There is NO mention of the need to enable backup domain access for the backup domain reset.
Contrary, there is an explicit chapter dealing with backup domain reset, and it fails to mention PWR_CR.DBP:
I fail to see why the ST manuals expect users being clairvoyants. How hard it may be to properly describe features and procedures?
JW
@Imen DAHMEN
2021-05-20 10:44 AM
Hi @Community member,
Your feedback is important and clear now.
I've highlighted an internal request to the involved people to take a closer look at this and take the necessary actions.
Thank you for noticing this and for helping to improve the ST documentation! :smiling_face_with_smiling_eyes:
Imen
2021-05-20 10:47 AM
Thanks, Imen.
Jan
2021-05-20 12:17 PM
By the way, I looked into RM of F7 and L4 and it's the same there. So probably RM of all series must be checked for this issue. :)
2021-05-20 12:26 PM
You're right @Piranha, for this kind of request, we will automatically do a check for all impacted reference manuals.
Imen
2024-02-14 05:57 AM - edited 2024-02-14 05:59 AM
Hi @Imen.D ,
[I retracted a hair-splitting remark which was here. I should be less nervous about this. :) ]
Thanks for the related Note in 7.1.3 Backup domain reset.
JW