Hey there,I'm trying to access STM32G071's backup register TAMP_BKP0R, PWR_CR1 is set successfully, however I can't store anything in the backup register.enum backup_reg{foo0, foo1, foo2, LOW_POWER_RESET}; RCC_APBENR1 |= RCC_APBENR1_PWREN_MASK; ...
Yes but...I write successfully to the backup register and enable the backup domain write protection afterwards.PWR->CR1 &= ~PWR_CR1_DBP;However, my backup register does not store the values during reset or shutdown.My startup code does not clear the ...
Unfortunately, I'm trapped in a framework and not supposed to use CMSIS..Thanks, I've implemented a dummy read for synchronization.Do you have an idea why my backup register gets erased after power loss? I thought the backup register was reset proof.