Skip to main content
Associate II
August 11, 2024
Solved

HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY) fails in HAL_MspInit.

Hello,

I am currently working with the STM32H7R7I8T6 and I am having issues configuring the Power. When HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY) is called in the HAL_MspInit function, it fails waiting for the PWR_SR1_ACTVOSRDY bit to set. I have measured the output of the internal LDO from the VCAP pins and it gives me a value of 1.187V which is within the acceptable voltage range for Vcore and so thePWR_SR1_ACTVOSRDY is supposed to set. I am starting to think that the registers can't be written or read. If this is the case how can I fix it and are there other reasons why this could be happening? 

 

Screenshot 2024-08-11 at 3.21.17 AM.png

This topic has been closed for replies.
KwameBest answer
Associate II
August 22, 2024

I just updated cubeIDE to the latest version and it worked. 

4 replies

AScha.3
Super User
August 11, 2024

Hi,

what did you set in Cube/ioc ?

If you feel a post has answered your question, please click on " Best Answer ".
KwameAuthor
Associate II
August 11, 2024
Pavel A.
August 11, 2024

>  I am starting to think that the registers can't be written or read.

What is content of PWR->SR1 (other bits?)  Is this ST or custom board?

 

KwameAuthorBest answer
Associate II
August 22, 2024

I just updated cubeIDE to the latest version and it worked.