cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY) fails in HAL_MspInit.

Kwame
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Kwame
Associate II

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

View solution in original post

4 REPLIES 4
AScha.3
Chief III

Hi,

what did you set in Cube/ioc ?

If you feel a post has answered your question, please click "Accept as Solution".
Pavel A.
Evangelist III

 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?

 

Screenshot 2024-08-11 at 9.49.08 AM.png

 

 

Kwame
Associate II

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