cancel
Showing results for 
Search instead for 
Did you mean: 

SRAM2 erased on backup domain reset

PScal
Associate III

Hi @all,

we have an application, where we use the LSE. In due to weaknesses of the part we use, the LSE can fail sometimes.

If I then use the __HAL_RCC_BACKUPRESET_FORCE() and __HAL_RCC_BACKUPRESET_RELEASE() to reset the LSE and LSI system, also the SRAM2 section is deleted.

I don't understand why.

From the reference manual Rev.04 page 481 chapter 11.3.3 Backup domain reset it says: "A backup domain reset affects the LSE oscillator, the RTC, the TAMP, the backup registers, RCC_BDCR, and PWR_BDCR1. The reset of PWR_BDCR1 affects the backup SRAM."
The backup SRAM for me is only the BKPSRAM, or not? 
Also that sentence misses the LSI, if used. 

The tamper unit is not configured and not used at all. We have a STM32U575CIU6 Rev. X. I also did not found something within the errata sheet. Did I overlook something? 

Does anyone has a tip for me? Is there a configuration/register/bit I miss which gives the information if the SRAM2 shall be erased with a backup domain reset? 

10 REPLIES 10

Hi @STOne-32 ,

Impressive speed. I wish Errata for all other STM32 families are updated as promptly as this one...

JW