fix(h7): init rambackup clock so EM process operates correctly (#6827)
This commit is contained in:
@@ -67,6 +67,10 @@ void rtcInit()
|
|||||||
__HAL_RCC_PWR_CLK_ENABLE();
|
__HAL_RCC_PWR_CLK_ENABLE();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(STM32H7) || defined(STM32H7RS)
|
||||||
|
__HAL_RCC_BKPRAM_CLK_ENABLE();
|
||||||
|
#endif
|
||||||
|
|
||||||
HAL_PWR_EnableBkUpAccess();
|
HAL_PWR_EnableBkUpAccess();
|
||||||
#if defined(LSE_DRIVE_STRENGTH)
|
#if defined(LSE_DRIVE_STRENGTH)
|
||||||
__HAL_RCC_LSE_CONFIG(RCC_LSE_OFF);
|
__HAL_RCC_LSE_CONFIG(RCC_LSE_OFF);
|
||||||
|
|||||||
Reference in New Issue
Block a user