Hi, Albert
The only restriction that the VBAT register file has is that it can only store data up to 32 bytes, you just need to write directly into the VBAT register file adress: 0x4003E000.
Also consider it is only reset during a VBAT power-on reset and is not affected by the other reset types.
Hope it helps
Regards!
Patricia
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------