H750VBT6 BKPSRAM can't keep DATA
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-11 12:06 AM
/* Enable write access to Backup domain */
PWR->CR1 |= PWR_CR1_DBP;
while((PWR->CR1 & PWR_CR1_DBP) == RESET)
{
}
/*Enable BKPRAM clock*/
__HAL_RCC_BKPRAM_CLK_ENABLE();
*(__IO uint32_t*)(0x38800000+36) = 12345678;
run to here, DATA 12345678 is written to adress 0x38800000+36 , but I reset the chip,the DATA in adress 0x38800000+36 has been changed,I don't konw what's the reason?
Labels:
- Labels:
-
Power
-
STM32H7 Series
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-11 12:48 AM
Check power supply on VBAT pin.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-11 05:40 PM
VBAT is OK. I used ​the ADC3 to measure the voltage of VBAT, the value is about 3V.
