cancel
Showing results for 
Search instead for 
Did you mean: 

How to change VOS bits in 32L0xx

Zoran Daric
Associate II
Posted on January 25, 2017 at 08:19

Hi,

According to reference manual RM0377 (page 138 6.1.5 Dynamic voltage scaling configuration)  programming voltage regulator is very easy. Unfortunately I'm not able to do this on two Nucleo demo boards with STM32L031 and STM32L053 MCUs. After writing a new value to VOS bits in PWR_CR register, I read always the same value 1.5V (range 2). Is there any other condition, except power supply, that has influence on this? Please help me to solw this problem.

Regards

#stm32l0-voltage-scaling
11 REPLIES 11
Nesrine M_O
Lead II
Posted on February 01, 2017 at 10:15

To be able to write to PWR registers, you have first to enable PWR's clock by setting RCC_APB1ENR.PWREN.

With the ADC problem, please start a new thread.

+1

-Nesrine-

Posted on February 01, 2017 at 14:42

Hi,

Thank you, it works now

Zoran

W dniu 2017-01-31 o 21:54, waclawek.jan pisze:

>

STMicroelectronics Community

<https://community.st.com/?et=watches.email.thread>

>

Re: How to change VOS bits in 32L0xx

reply from waclawek.jan

<Waclawek.Jan?et=watches.email.thread>

in /STM32 MCUs Forum/ - View the full discussion

<https://community.st.com/0D70X000006T1WQSA0

>